Noisy Sensors and Smoothing
Readings wobble, and some are simply wrong. Smooth a scuffed line so D steers calmly, ignore ghost echoes from a polished floor, and choose how much to trust each reading so Spark still keeps up.
- PID in Plain Words: Three helpers share the steering: P looks at the error now, I remembers it and D sees where it is heading. Calm a heavy book trolley, make up for a weak motor and stop the total winding up.
- Wall Following and Maze Solving: Two new side sonars and one 50 cm square at a time. Drive straight by wheel ticks and walls, keep a hand on the wall with a simple rule, and count squares to notice when Spark is going round in circles.