Page 74 - RoboGenius Pro C8
P. 74

STEP - 15   Click on the Start button to run the program.






































                  The robot moves in a zigzag pattern across the Number Grid Map to reach number 100. It turns
                  right and drives forward across one row, then turns left to move to the next. Each time it completes
                  a row, the variable AIRO increases by one. This continues until the robot reaches the last number,

                  where it stops and ends the project.

                                                         CHALLENGE CHAIN

                    Modify your zig-zag program so the robot moves backward to return to its starting point after
                    reaching number 100.






















                   ECOTECH     With  the  help of VEXcode  VR,  students  can  simulate  pollution  control  by  programming
                   ENERGY      robots to monitor air or water quality.





                                 RoboGenius Pro - VIII
                 72
   69   70   71   72   73   74   75   76   77   78   79