Scratch (Word Blocks) 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 use of the LEGO MINDSTORMS Robot Inventor Motion sensor. It's developed with LEGO Education SPIKE App Word Blocks 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?

  • #qb517r
  • 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