mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 01:24:17 +00:00
docs/examples: expanded educator robot content
This commit is contained in:
@@ -1,4 +1,16 @@
|
||||
Robot Educator
|
||||
Ultrasonic Sensor Driving Base
|
||||
=====================
|
||||
|
||||
The program in this example makes the Ultrasonic Sensor Driving Base drive until it sees an obstacle. When it does it backs up, turns and starts driving again.
|
||||
|
||||
You can find building instructions on the `LEGO Education website <https://education.lego.com/en-us/support/mindstorms-ev3/building-instructions#robot>`_.
|
||||
|
||||
.. figure:: ../images/ultrasonic_sensor_driving_base.jpg
|
||||
:width: 90 %
|
||||
:alt: overview
|
||||
:align: center
|
||||
|
||||
Educator Driving base with Ultrasonic Sensor
|
||||
|
||||
|
||||
.. literalinclude:: ../../../examples/ev3/robot_educator/main.py
|
||||
|
||||
Reference in New Issue
Block a user