Learn 1: The Notebook

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.

2. Robot Setup Code

This cell contains the code to create an instance of the EasyGoPiGo3 robot class, assign the name carrier to it and initialize it to start with its eyes closed.

import numpy as np is used to bring in serious number crunching so that we won't have to do as much work.

import threading is used to allow Python to do things in parallel. We won't delve on how it works but we will use it for data analysis later on.

Tags: