Skip to content

Commit

Permalink
doc/robotics: add note for using individual motors
Browse files Browse the repository at this point in the history
  • Loading branch information
laurensvalk committed May 1, 2020
1 parent a74afd9 commit 81fa637
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions doc/api/robotics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 81fa637

Please sign in to comment.