Skip to content

Commit 74c1e83

Browse files
committed
MAV Type for rover was incorrect.
When connecting to AMPRovers this failed due to the incorrect type, This is now corrected
1 parent 2c73932 commit 74c1e83

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)