Try It Out
This is the fifth challenge within the Robotics with GoPiGo and Python Curriculum.
Your task is to design a robot program to deliver a selection of mail to the residents of GoPiGo Drive, a small cul-de-sac containing 3 houses.
Learn how to how to use and calibrate the color sensor.
6. Test for the Failure Cases
With the courier waiting at the delivery depot, click on the Deliver Letter button in your notebook without giving the postman a card to read first.
Does it attempt to deliver to one of the houses?
If so, why do you think this happens?
If necessary, fix your code so that it prompts you to present it with an address to read first when you forget to do so.