β Robotics
Line follower
See it
Two eyes on the floor
- A line follower has a left and a right light sensor pointing down.
- A sensor is
truewhen it sees the dark line. - If only the left eye sees the line, the robot drifted right, so steer left to get back.
Left sensor
sees line?
Decide
steer
Right sensor
sees line?