Files
pybricks-api/source/examples/robot_educator.rst
T

16 lines
545 B
ReStructuredText

Robot Educator
=====================
This example makes the Robot Educator drive until it sees an obstacle. Then it backs up, turns around, 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: 50 %
:alt: overview
:align: center
Robot Educator with the Ultrasonic Sensor
.. literalinclude:: ../../../examples/ev3/robot_educator/main.py