Rescuer Learn 2: Installing the Distance Sensors

This is the third challenge within the Robotics with GoPiGo and Python Curriculum.

Your task is to design a robot program that can navigate through the maze-like jungle without trampling over any plants or getting stuck in any dead ends.

Learn how to use the Distance Sensor and practice using the left-hand rule of maze-solving.

7. Sensor Testing - main

Now you’re ready to code up a sensor reading loop to test your sensors.

          • In the Main Code cell, type the following code:

    

          • Click on Run Selected Cell.