Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 73 - RoboGenius Pro C8
P. 73

    The when started block is already placed by default in the workspace.
                      STEP - 3    Click on the Make a Variable button in the Logic-Variables category, name it AIRO
                                  and click on the Submit button.

                      STEP - 4   Drag the set AIRO to 0 block from the Logic-Variables category and place it below
                                  the when started block.
                      STEP - 5   Drag the while block from the Logic-Control category and place it below the set AIRO
                                  to 0 block.

                      STEP - 6    Set the condition to AIRO < 9 in the while block by using blocks from the Logic-
                                  Variables and Logic-Operator categories.

                      STEP - 7   Drag the turn right for 90 degrees block from the Drivetrain category and place it
                                  inside the while block.
                      STEP - 8   Drag the drive forward for 200 mm block from the Drivetrain category and place
                                  it below the turn right for 90 degrees block.

                      STEP - 9   Drag the stop driving block from the Logic-Control category and place it below the
                                  drive forward for 200 mm block.
                     STEP - 10   Drag the turn left for 90 degrees block from the Drivetrain category and place it
                                  below the stop driving block.

                     STEP - 11   Drag another drive forward for 200 mm block and place it below the turn left for
                                  90 degrees block.
                     STEP - 12   Drag the change AIRO by 1 block from the Logic-Variables category and place it
                                  below the drive forward for 200 mm block.

                     STEP - 13   Drag the stop driving block from the Drivetrain category and place it after the while
                                  block.

                     STEP - 14   Drag the stop project block from the Logic-Control category and place it below the
                                  stop driving block.

                                                                             Sensors, Logic and Maze Navigation
                                                                                                                        71

| 68 69 70 71 72 73 74 75 76 77 78 |