A PID-style line follower built for competition tracks — the one that won 1st at the SAGC 4th Science Festival.
Overview
Line followers look easy and behave easy until you push the speed up. Then suddenly the robot starts shooting off the track on tight turns and you remember why control theory exists.
I built this one for competition. It uses an IR array on the track and a differential drive, with the firmware reading the array, estimating position, and trimming the motor PWM to keep the robot smooth at speed.