![Image for Python program to move in straight line with the Motion sensor from LEGO MINDSTORMS Robot Inventor](https://d2nmr6p48f8xwg.cloudfront.net/content_pictures/5061/p360/b2f54d8107742e207f71dbbb690b4b23/Gazon2-SingleSensor-program-thumbnail-Python.png)
Python program to move in straight line with the Motion sensor from LEGO MINDSTORMS Robot Inventor
This program makes the robot move in a straight line with the user of the EGO MINDSTORMS Robot Inventor Motion sensor. It's developed with Robot Inventor - LEGO MINDSTORMS App Python and uses a very simple algorithm for moving straight. When the robot moves slightly to the left or right align it face forward. Try to push the robot slightly. See what happens.
- #hlrgzd
- 24 Mar 2022