Main Project: Delivery Route
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.
7. Instruct Your Robot: Read the Address
To know where to deliver a card, the courier must first read its address. Complete the read_delivery_address function in the Interactive Control Code cell so that the robot performs the following actions when you place a color-marked card under the color sensor and click on the Read Address button:
- read the address from the color-marked card
- store this color in a variable that will be accessible to your Main Code cell code
- light up the courier’s eyes in this color as a form of visual feedback