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.

How to open?

Download
  • #hlrgzd
  • 24 Mar 2022

Courses and lessons with this Program

This Program is used in the following courses and lessons

Image for FIRST LEGO League with LEGO Mindstorms Robot Inventor. "Challenge" competition for 9-16 years old
  • 43
  • 131:34
  • 21
Image for Move staight with the Gyro Sensor
  • 1
  • 0
  • 1
  • 3d_rotation 1