api/_common: fix DriveBase speed kwarg

In the implementation, the kwarg is called "speed". Instead of fixing the implementation which is already released, we fix the docs.
This commit is contained in:
Laurens Valk
2020-07-07 09:50:30 +02:00
parent 8078b6febb
commit 82b16dc8de
+2 -2
View File
@@ -46,12 +46,12 @@ class DriveBase:
both wheels touch the ground.
"""
def drive(self, drive_speed, turn_rate):
def drive(self, speed, turn_rate):
"""Starts driving at the specified speed and turn rate. Both values are
measured at the center point between the wheels of the robot.
Arguments:
drive_speed (:ref:`linspeed`): Speed of the robot.
speed (:ref:`linspeed`): Speed of the robot.
turn_rate (:ref:`speed`): Turn rate of the robot.
"""
pass