doc: fix typo in drive_time example

This commit is contained in:
Anton
2019-04-08 12:07:04 +02:00
committed by Laurens Valk
parent 2e2e5d76b5
commit beb98492a5
+2 -2
View File
@@ -59,10 +59,10 @@ class DriveBase():
Example::
# Drive forward at 100 mm/s for two seconds
robot.drive(100, 0, 2000)
robot.drive_time(100, 0, 2000)
# Turn at 45 deg/s for three seconds
robot.drive(0, 45, 3000)
robot.drive_time(0, 45, 3000)
"""
pass