DeparturesAutonomous Navigation And Field Robotics

Odometry Techniques

A modular robotic rover navigating a rocky desert landscape, Victorian botanical illustration style, representing a Learning Whistle learning path on Autonomous Navigation and Field Robotics.
Autonomous Navigation and Field Robotics

Imagine you are driving a car through a dark tunnel with no GPS signal or external visual cues. You must rely solely on the rotation of your tires to track how far you have traveled and which way the vehicle is turning. This situation mirrors how a field robot navigates complex environments without relying on expensive or unreliable external sensors like cameras or satellites. By tracking wheel rotations, the robot maintains a mental map of its movement through space, which is essential for maintaining an accurate position estimate over time.

Understanding Wheel Rotation Sensors

To calculate position, we first need to measure how much each wheel rotates during a specific time interval. Engineers use an encoder, which is a specialized sensor attached to the motor shaft that generates electrical pulses as the wheel spins. By counting these pulses, the control system determines the exact angular displacement of the wheel relative to its starting orientation. This process is like counting your steps while walking in the dark to estimate the distance you have covered based on your stride length. If the robot knows the wheel diameter and the pulse count, it converts those raw signals into a precise distance value.

Key term: Encoder — a hardware device that converts rotary motion into digital pulses to track the speed and distance of a wheel.

Because the robot tracks these pulses constantly, it creates a continuous stream of data regarding its velocity and orientation. Each pulse represents a tiny slice of movement that the robot adds to its previous location to update its current coordinates. This method works well for short distances, but small errors in measurement eventually accumulate, which leads to significant drift in the robot's estimated position. Just as a driver might miscalculate their distance if their speedometer is slightly off, the robot struggles when wheel slippage or uneven terrain causes the sensors to provide inaccurate counts.

Computing Displacement and Heading

Once the system collects data from both the left and right wheels, it must translate that information into a global coordinate system. This process is known as odometry, which uses trigonometry to calculate how a vehicle moves across a flat plane based on wheel speeds. If the left wheel spins faster than the right wheel, the robot is clearly executing a turn to the right side. The robot calculates the change in orientation by comparing the difference in distance covered by each wheel against the known width between them.

Sensor Input Measurement Type Robot Action Resulting Change
Left Encoder Angular Pulses Rotation Distance Traveled
Right Encoder Angular Pulses Rotation Distance Traveled
Gyroscope Angular Velocity Turning Heading Update

We can organize the primary variables used in these calculations into the following categories to ensure the robot maintains its path accurately:

  • Wheel velocity data provides the forward speed, which tells the robot how fast it moves along its current path.
  • Differential wheel speed provides the angular rate of change, which informs the robot about how sharply it is turning.
  • Time interval data ensures the integration remains consistent, as the robot must process these changes at high frequencies to avoid errors.

Calculating these values requires the robot to perform rapid mathematical updates within its central processing unit. By applying these kinematic equations, the robot keeps track of its X and Y coordinates on a map. This internal tracking system allows the robot to navigate through large warehouses or outdoor fields when external signals are blocked or unavailable. The accuracy of this navigation depends entirely on how well the robot accounts for mechanical friction and potential wheel slip during its movement.


Reliable position tracking depends on integrating precise wheel rotation data to estimate the robot's relative movement through space.

Future stations will explore how to combine these odometry measurements with external sensor data to correct the inevitable drift that occurs over long distances.

Explore related books & resources on Amazon ↗As an Amazon Associate I earn from qualifying purchases. #ad

Keep Learning