mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 01:24:17 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user