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:
Laurens Valk
2021-12-01 14:41:09 +01:00
parent 06a1542613
commit eb09ecd7c7
+1 -3
View File
@@ -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.
"""