mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-11 17:14:41 +00:00
doc/robotics: add note for using individual motors
This commit is contained in:
@@ -74,6 +74,17 @@
|
||||
``wheel_diameter`` first, as done above. Be sure to test both turning
|
||||
and driving straight after you are done.
|
||||
|
||||
.. rubric:: Using the DriveBase motors individually
|
||||
|
||||
Suppose you make a :class:`.DriveBase` object using two ``Motor`` objects called
|
||||
``left_motor`` and ``right_motor``. You **cannot** use these motors
|
||||
individually while the DriveBase is **active**.
|
||||
|
||||
The DriveBase is active if it is driving, but also when it is actively
|
||||
holding the wheels in place after a :meth:`.straight` or
|
||||
:meth:`.turn` command.
|
||||
To deactivate the :class:`.DriveBase`, call :meth:`.stop`.
|
||||
|
||||
|
||||
.. rubric:: Advanced Settings
|
||||
|
||||
|
||||
Reference in New Issue
Block a user