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.

How to open?

Programs with extension *.ev3 could be opened EV3 Lab Software sometimes referred to as EV3-G. It could be found throught the EV3 Lab Software section on the LEGO Website.

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
  • 24
  • 102:09
  • 3
Image for Moving in straight line with LEGO Mindstorms EV3 robots
  • 1
  • 0
  • 0
  • 3d_rotation 0
Image for Moving Straight with LEGO Mindstorms EV3 robots
  • 24
  • 102:09
  • 3
Image for PID Algorithm for Moving Straight with Gyro Sensor. Proportional Part
  • 5
  • 0
  • 0
  • 3d_rotation 1