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.
- Wheel Encoders: Find out why driving by time goes wrong, count wheel turns with an encoder, drive exact distances, keep straight with unequal motors and turn exact corners, then deliver the register on Spark’s worst days.
- 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.