mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-11 17:14:41 +00:00
pybricks.common.Control: Drop duty limit.
This is now a per-motor voltage limit. See https://github.com/pybricks/support/issues/536
This commit is contained in:
@@ -109,7 +109,7 @@ class Control:
|
||||
motor this is the number of encoder pulses per degree of rotation.
|
||||
"""
|
||||
|
||||
def limits(self, speed, acceleration, duty, torque):
|
||||
def limits(self, speed, acceleration, torque):
|
||||
"""Configures the maximum speed, acceleration, duty, and torque.
|
||||
|
||||
If no arguments are given, this will return the current values.
|
||||
@@ -119,8 +119,6 @@ class Control:
|
||||
Maximum speed. All speed commands will be capped to this value.
|
||||
acceleration (:ref:`acceleration` or :ref:`linacceleration`):
|
||||
Maximum acceleration.
|
||||
duty (:ref:`percentage`):
|
||||
Maximum duty cycle during control.
|
||||
torque (:ref:`torque`):
|
||||
Maximum feedback torque during control.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user