diff --git a/doc/api/motors.rst b/doc/api/motors.rst index b78f1df..4d8d8d5 100644 --- a/doc/api/motors.rst +++ b/doc/api/motors.rst @@ -111,6 +111,8 @@ the settings. .. autoclass:: pybricks.builtins.Control :no-members: + .. rubric:: Settings + .. automethod:: pybricks.builtins.Control.limits .. automethod:: pybricks.builtins.Control.pid @@ -118,3 +120,7 @@ the settings. .. automethod:: pybricks.builtins.Control.target_tolerances .. automethod:: pybricks.builtins.Control.stall_tolerances + + .. rubric:: Status + + .. automethod:: pybricks.builtins.Control.done diff --git a/pybricks/builtins.py b/pybricks/builtins.py index 712d058..709e03e 100644 --- a/pybricks/builtins.py +++ b/pybricks/builtins.py @@ -116,7 +116,7 @@ class Control(): """Check whether an ongoing command or maneuver is done. Returns: - bool: ``True`` if the maneuver is done,``False`` if not. + bool: ``True`` if the command is done, ``False`` if not. """ pass