How Does Robot Odometry Work?

Learn how the 'dead reckoning' of tracking unpowered wheels allows a robot to know exactly where it is on the field.

How Does Robot Odometry Work?

Imagine you are blindfolded, placed in the middle of a room, and told to walk exactly three meters forward, turn 90 degrees left, and walk two more meters. Without being able to see, you’d likely end up bumping into furniture.

Robots face this problem every time they run an autonomous routine. If you just tell the motors to spin for “5 seconds”, a slight bump or low battery will throw the robot entirely off track. To fix this, engineers use Odometry.

What is Odometry?

Odometry is the use of data from motion sensors to estimate change in position over time. It’s the most common form of robotic “dead reckoning.”

While a GPS gives absolute position, it’s far too imprecise to navigate inside a small competition field or a warehouse. Instead, robots track exactly how much the wheels have spun across the floor.

Dead Wheels (Free-Spinning Encoders)

If the robot accelerates too quickly, the drive wheels might slip or skid against the carpet. If a drive wheel slips, the computer assumes the robot moved further than it actually did, breaking the autonomous code.

The elegant solution? Dead Wheels.

Many competitive robots use separate, unpowered ‘dead’ wheels that press firmly against the floor on springs. These wheels have optical encoders built into them. Because they are unpowered, they never skid! They only turn exactly as much as the robot actually moves. By combining the rotational data of two sideways pods and one horizontal pod (a classic 3-wheel odometry setup), the robot uses high-level calculus to track its exact (X, Y) coordinate and heading angle at 100 times a second.

Bringing Odometry to FIRST®

If you participate in the FIRST® Tech Challenge (FTC), tackling odometry is often considered one of the ultimate software milestones. Using open-source libraries like RoadRunner coupled with custom dead-wheel pods, FTC students write incredibly robust autonomous paths.

With odometry, if another robot violently bumps you off your path, the software simply realizes the X/Y error, recalculates, and effortlessly snaps right back on course to score.

Explore FIRST® Robotics

FIRST® (For Inspiration and Recognition of Science and Technology) is a global robotics community preparing young people for the future. Discover the ultimate sport for the mind and see how you can get involved in STEM and robotics!

Learn More at firstinspires.org