Rescuer: Project
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.
1. The Challenge
Write some code to instruct your rescuer robot to :
- navigate its way through a maze
- from the entry point
- to the exit point
- using a pair of
- front-facing and
- left-facing distance sensors.
Your rescuer robot can only :
- drive forwards,
- turn left 90 degrees,
- turn right 90 degrees.
- If necessary, you can also adjust its orientation to keep it running parallel to the left wall using the align_with_left_wall() template function that we have provided for you.
No other movements should be necessary.