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