From 82b16dc8de8064baa1af9ca8e7adf70081f9469e Mon Sep 17 00:00:00 2001 From: Laurens Valk Date: Tue, 7 Jul 2020 09:50:30 +0200 Subject: [PATCH] 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. --- pybricks/robotics.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pybricks/robotics.py b/pybricks/robotics.py index 0d7dd96..1231f54 100644 --- a/pybricks/robotics.py +++ b/pybricks/robotics.py @@ -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