Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 98 - Ai Robogenius
P. 98

    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.

                                     AI RoboGenius - VIII
                     96

| 93 94 95 96 97 98 99 100 101 102 103 |