Ops Manager Learn 2: Build and Calibrate
This is the fourth challenge within the Robotics with GoPiGo and Python Curriculum.
Your task is to design a robot program that increases the volume of products that Amazing.com can ship out to its customers on a daily basis without increasing the number of robot pickers it employs.
Learn how to program and calibrate the Line Follower while they try to design an efficient system.
7. Calibration and the Sensor Control Panel
A line follower sensor is a sensor that requires calibration.
Calibration is the process of configuring a sensor to take into account the environment in which the sensor readings are being taken. As ambient light influences the line follower sensor, it is best to calibrate it before starting to use it.
To accurately assess whether it is above a black or white area our line follower must be properly calibrated by providing it with typical examples of both colors in the current lighting conditions to take readings from. It stores these calibration readings on disk and in memory for later reference. When the line follower is subsequently presented with a color it will assess whether that color is black or white based on which of the stored calibration readings the current reading is closest to.