api/builtins/Control: expose done method

This was added but not yet exposed
This commit is contained in:
Laurens Valk
2020-02-10 15:57:23 +01:00
parent 37de307ef0
commit 0841899394
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -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
+1 -1
View File
@@ -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