Rescuer: Project
4. Program Your Rescuer Robot
Now it’s time to code up your rescuer robot. Using what you have learned and the truth table you have constructed above to guide you, change the code in the Main Code cell so that, when run, your robot will navigate successfully through your maze.
You might want to think carefully about the following issues:
- How do you translate distance readings into yes/no answers to the question “is there a wall?”?
- How does your solution deal with dead ends?
May your mission be successful!