pybricks.robotics.DriveBase: Add basic example.

This commit is contained in:
Barry-Williams
2022-10-28 08:23:14 +02:00
committed by laurensvalk
parent be3558167e
commit 492d6cd2d4
2 changed files with 33 additions and 0 deletions
+9
View File
@@ -104,3 +104,12 @@
.. autoattribute:: pybricks.robotics.DriveBase.heading_control
:annotation:
Examples
-------------------
Driving straight and turning in place
**********************************************
.. literalinclude::
../../examples/pup/robotics/drivebase_basics.py