In this tutorial we would introduce you to the concept of loops using this VEX EDR Robot. As a final result we would have a program that makes the robot move in a square and not by repeating the same instructions for move and turn four different times.
- 10 Apr 2017
In this module we'd introduce you to the concept of loops using this VEX Robot. And the reason for using loops is because most of the time when we are programming the robots we duplicate some of our code. We repeat some of the instructions and to remove this repetition and this duplication we should always use loops. The program that we are going to develop is a program that makes the robot move in a square. To make the robot move in a square you must learn how to make the robot move forward, turn and then repeat this move forward and turn 4 times. At the end we'll have a robot that moves in a square.
Courses and lessons with this Tutorial
This Tutorial is used in the following courses and lessons