Skip to content

Commit 73229c8

Browse files
committed
fix: get_drive_speed linear_speed must default to cm/s
1 parent 1aeaac3 commit 73229c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino_alvik.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ def brake(self):
297297
"""
298298
self.drive(0, 0)
299299

300-
def get_drive_speed(self, linear_unit: str = 'mm/s', angular_unit: str = 'deg/s') -> (float, float):
300+
def get_drive_speed(self, linear_unit: str = 'cm/s', angular_unit: str = 'deg/s') -> (float, float):
301301
"""
302302
Returns linear and angular velocity of the robot
303303
:param linear_unit: output linear velocity unit of meas

0 commit comments

Comments
 (0)