Chapter 7.3 - Follow a line

Write the following program to have the Edison robot follow a black line.

This program uses the ‘IF’ icon to allow the robot to decide what to do. If the line tracking sensor is on a reflective surface (white), then drive forward right at speed 4. If the line tracking sensor is not on a reflective surface, then drive forward left at speed 4. When the robot is on white it drives off white, when the robot is on black it drives off black. As it does this it moves forward and tracks the edge of the line.

Place the robot inside the track on Worksheet 8.2 and watch the robot track the line.