Skip to content

Commit f423aff

Browse files
committed
Merge pull request #605 from adricl/patch-1
MAV Type for rover was incorrect.
2 parents 2c73932 + 74c1e83 commit f423aff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dronekit/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ def __str__(self):
341341
prefix += "Copter-"
342342
elif(self.vehicle_type == mavutil.mavlink.MAV_TYPE_FIXED_WING):
343343
prefix += "Plane-"
344-
elif(self.vehicle_type == mavutil.mavlink.MAV_TYPE_ROVER):
344+
elif(self.vehicle_type == mavutil.mavlink.MAV_TYPE_GROUND_ROVER):
345345
prefix += "Rover-"
346346
else:
347347
prefix += "UnknownVehicleType%d-" % (self.vehicle_type)

0 commit comments

Comments
 (0)