Lesson 8 Worksheet 8.4 – 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.
Which way does it travel (clockwise or anti-clockwise)? ____________
Place the robot outside the track on Work sheet 2 and watch the robot track the line.
Which way does it travel (clockwise or anti-clockwise)? ____________
Why do you think the robot doesn’t go in the same direction around the track?
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________