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.
- Knowing Where You Are: Turn wheel ticks into x, y and heading with odometry, see how its errors creep in, then drive to checkpoints and find the way home to the charger in the dark.
- 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.