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.
- Steering by Error: Swap bang-bang wiggling for proportional control: steer by how far off the line Spark is, cap it and tune the gain, follow Jo at a steady gap, then glide to the library door.
- 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.