From 477c913ec207e46020f5eed132c140b693eec117 Mon Sep 17 00:00:00 2001 From: Laurens Valk Date: Sun, 9 Feb 2020 23:31:18 +0100 Subject: [PATCH] api/robotics/DriveBase: drop stop_type setter Point to point commands will always hold. The stop method can be used to enforce other stop types. --- pybricks/robotics.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pybricks/robotics.py b/pybricks/robotics.py index 5021738..48e5c82 100644 --- a/pybricks/robotics.py +++ b/pybricks/robotics.py @@ -85,7 +85,7 @@ class DriveBase(): pass def settings(self, drive_speed, drive_acceleration, turn_rate, - turn_acceleration, stop_type): + turn_acceleration): """Configure the acceleration and maximum speed used by :meth:`.straight`, :meth:`.turn`, and :meth:`.drive`. @@ -98,8 +98,6 @@ class DriveBase(): turn_rate (:ref:`speed`): Turn rate of the robot. turn_acceleration (:ref:`acceleration`): Angular acceleration of the robot. - stop_type (Stop): Whether to coast, brake, or hold after - a given command is complete. """ pass