Introduction to Odometry
What is Odometry?
Odometry estimates where your robot is on the field—position and heading—using sensors, usually wheel encoders. It is the basis for repeatable autonomous paths and precise scoring runs.
Why Odometry Matters in FTC
During autonomous, odometry lets the robot follow planned paths, return to the same spot each match, and coordinate mechanisms that depend on where the robot is on the field.
Basic Principles of Odometry
Encoders count how far wheels turn. From those counts you estimate travel distance and rotation, then integrate into X, Y, and heading in a field frame. Many teams use drive motor encoders; others add dedicated dead wheels for better accuracy.
For more on the theory, see gm0: Odometry.
Common Odometry Setups in FTC
- Drive encoder odometry: Uses encoders on drive motors. Simple to wire, but wheel slip on the driven wheels hurts accuracy.
- Dead wheel odometry: Free-spinning wheels with their own encoders; slip on drive wheels affects them less.
- Two-wheel vs. three-wheel: Two parallel wheels can track distance along the plane but need another source for heading; a third wheel (often perpendicular) helps measure rotation and lateral motion.
Limitations and Sources of Error
Odometry drifts. Wheel slip, bumped encoders, wrong wheel diameter, and frame flex all add error. Knowing that helps you test movements, add corrections (vision, IMU fusion), and debug when auto misses the target.
Further Reading
Practice Exercise
Think of a scenario in an FTC match where knowing your robot’s position is critical. How would odometry help? Sketch a simple diagram of a robot and label where you might place odometry wheels.
- Describe a game scenario where odometry is useful.
- Draw a robot and show possible odometry wheel placements.