When programming a robotic arm, it often becomes necessary to repeat operations a set number of times or indefinitely. This can be accomplished by adding different styles of loops to our program. It is also a good programming habit to optimize or reduce your lines of code when appropriate.
In this activity you will learn one way to simplify your code as well as add different styles of loops to a basic Pick and Place operation in blockly.
The three main types of loops are:
● Forever loops
● While loops
258 total views, 3 views today