Straight at the end of the program - EV3-G program for returning to straight orientation

In this program, we return the robot to a straight orientation at the end of the program. If there is not enough time for the Mindstorms Gyro sensor the correct the orientation of the robot before the end of the program, then we should do it at the end.

Download
  • #bq6c38
  • 10 Jan 2018

The robot is not straight at the end of the movement?

We keep the robot orientation straight while moving, but when we stop the robot could be in a different orientation. This applies for both using the Mindstorms Gyro Sensor when moving straight or the Mindstorms Color sensor when following a line. In this video tutorial, we will do a few examples of when an how this could happen.

Courses and lessons with this Program

This Program is used in the following courses and lessons

Image for Moving Straight with LEGO Mindstorms EV3 robots
Course icon fllcasts
  • 24
  • 102:09
  • 3
Image for PID Algorithm for Moving Straight with Gyro Sensor. Proportional Part
Lesson icon fllcasts
  • 5
  • 0
  • 0
  • 3d_rotation 1
Image for Moving Straight with LEGO Mindstorms EV3 robots
Course icon fllcasts
  • 24
  • 102:09
  • 3
Image for Moving in straight line with LEGO Mindstorms EV3 robots
Lesson icon fllcasts
  • 1
  • 0
  • 0
  • 3d_rotation 0