Field guide
Wheel Odometry Calibration: Radius, Separation and Slip
Check differential-drive odometry against independent motion measurements, calculate geometry corrections, and separate calibration errors from slip and open-loop estimates.
The short answer
Validate wheel odometry against an independent measurement of the robot body’s travel and rotation. First identify whether the estimate comes from commands or wheel feedback. Fit geometry only to repeatable errors, then evaluate the result on held-out routes and operating conditions. A smooth odometry trace is not proof of accurate travel.
The ROS 2 Jazzy differential-drive controller documentation makes an important distinction: with open_loop=true, odometry uses commanded velocities rather than hardware feedback. With feedback enabled, wheel position or velocity supplies the estimate. Neither mode supplies an independent floor-relative position measurement.
This guide provides a source-based diagnostic matrix, an offline calculation and a commissioning worksheet. We reviewed the sources on November 16, 2026 and executed the Python arithmetic below. We did not run ROS, drive a robot or measure a floor route. The numerical observations are explicitly hypothetical. The proposed acceptance process is our engineering synthesis, not a controller certification or a safety procedure.
Identify what the odometry actually measures
Before changing a wheel radius, trace the estimate’s inputs.
| Estimate | What supplies it | What it cannot establish by itself |
|---|---|---|
| Command-derived odometry | Requested body velocities | That wheels or body followed the request |
| Wheel-feedback odometry | Wheel rotation plus the geometry model | That rotation translated into the assumed floor motion |
| Fused localization | Declared combination of sensors and models | Independence from wheel odometry already used as an input |
| Independent reference | Separately documented body-motion measurement | Accuracy beyond its own uncertainty and test coverage |
For this controller, the Jazzy interface reference identifies position feedback by default, velocity feedback when position_feedback=false, and commanded-value odometry when open_loop=true. Read back the installed configuration and record the package version. A parameter copied from a demonstration is not evidence of the deployed mode.
Ask the integrator where each signal originates. A state interface named “position” is not, by its name alone, proof of a physical encoder or an independent measurement. Trace the hardware implementation and any upstream estimation.
Do not use agreement between a command and an estimate generated from that same command as a motion-validation result. Likewise, if a localization filter consumes the wheel estimate, agreement with its output is not automatically an independent calibration check.
Separate local odometry from map localization
REP 105 defines odom as a continuous local frame whose pose may drift without bound. It defines map as a long-term reference that can change discontinuously when localization corrects the pose. These are frame semantics, not promised accuracy figures.
For a calibration record, identify:
- the body reference point whose position and heading are measured;
- the frame and time interval for each displacement;
- whether a localization correction or odometry reset occurred;
- whether the reference measurement uses the wheel estimate being tested;
- the reference method’s uncertainty and timestamp alignment.
Subtracting two map poses across a localization jump can mix a correction with physical motion. Comparing different body points during a turn can also produce apparently inconsistent displacements. Resolve those issues with the coordinate-frame validation procedure before fitting a geometry correction.
Use the differential-drive model explicitly
The pinned Jazzy odometry implementation converts left and right wheel angles to distances using their radii. It computes forward displacement from their average and heading change from their difference divided by wheel separation.
For an ideal planar differential-drive model:
s_left = r_left * delta_phi_left
s_right = r_right * delta_phi_right
forward_increment = (s_left + s_right) / 2
heading_increment = (s_right - s_left) / separation
Wheel angles are in radians, radii and separation in meters, and heading in radians. The forward increment is not a general formula for the straight-line distance between arbitrary route endpoints. The implementation integrates the increments into a pose.
The Jazzy parameter descriptions warn that an incorrect radius changes travel speed and an incorrect separation affects curves. They expose a separation multiplier and separate left and right radius multipliers. This makes geometry worth checking, but does not prove geometry is the cause of every discrepancy.
Use this diagnostic matrix as a proposed investigation order:
| Observation against an independent reference | Candidate explanation | Discriminating evidence to collect |
|---|---|---|
| Repeatable straight-travel scale error | Common radius scale or wheel-angle conversion | Encoder units, gearing and repeated reference distances |
| Straight travel curves consistently | Left/right asymmetry, alignment or unequal contact | Per-wheel evidence and both travel directions |
| Straight distance agrees but turn angle has a repeatable scale error | Effective separation or turn-specific effects | Turns in both directions under fixed conditions |
| Error changes strongly with surface or load | Slip, deformation or contact changes | Repeated trials with those conditions labeled |
| Estimate matches requests despite observed missed motion | Command-derived or otherwise non-independent estimate | Signal provenance and independently observed motion |
These are hypotheses, not automatic fault diagnoses. Do not compensate a unit conversion error by quietly changing the wheel radius.
Calculate candidate corrections, not an approval
Under restrictive assumptions, a common radius correction can be estimated from a straight run:
candidate_radius = old_radius * reference_distance / reported_distance
Assume both sides share the same scale error, feedback units are correct, straight-travel distance is comparable, and slip is negligible for the fit. This cannot independently identify left and right radii from one scalar distance.
After fixing the radius scale, a separate turn observation gives:
candidate_separation = old_separation * reported_angle / reference_angle
The order matters. If radii also change, they change the wheel-distance difference used for heading. Recompute the turn prediction from recorded wheel angles under the new radii, or collect a new turn record after the radius update. Do not apply a turn correction calculated from stale geometry as if the two fits were independent.
The following invented example uses a turn estimate already computed with the candidate radii. Angles have matching signs and represent unwrapped rotation, not a wrapped final yaw that loses completed revolutions. Our angle-wrap and turn-count guide shows when wrapped samples can be reconstructed and when a sample gap leaves motion ambiguous. Run with Python 3; it sends no robot commands.
from math import isclose
old_radius = 0.100 # meters, same scale on both sides
reported_distance = 4.0 # meters, original radius configuration
reference_distance = 4.2
candidate_radius = old_radius * reference_distance / reported_distance
old_separation = 0.500 # meters
# Turn record is evaluated AFTER the radius correction.
reported_angle = 3.3 # radians
reference_angle = 3.0 # radians, independent measurement
candidate_separation = old_separation * reported_angle / reference_angle
assert isclose(candidate_radius, 0.105)
assert isclose(candidate_separation, 0.550)
print(f"candidate radius: {candidate_radius:.3f} m")
print(f"candidate separation: {candidate_separation:.3f} m")
# Hypothetical held-out straight run, not used in the fit.
held_out_reported = 6.06
held_out_reference = 6.00
residual = held_out_reported - held_out_reference
print(f"held-out distance residual: {residual:+.3f} m")
print(f"held-out relative residual: {100 * residual / held_out_reference:+.2f}%")
Our execution produced:
candidate radius: 0.105 m
candidate separation: 0.550 m
held-out distance residual: +0.060 m
held-out relative residual: +1.00%
The last two lines show how to report a residual, not an acceptable tolerance. Whether that error is acceptable depends on the application and measurement uncertainty. A fitted effective separation is not necessarily a new physical ruler measurement of the chassis. The calculation cannot determine slip, covariance, obstacle clearance or stopping performance.
If the controller already uses non-unit multipliers, distinguish the effective radius or separation from its nominal parameter. Document the resulting product and avoid applying the same correction to both nominal value and multiplier. Confirm the installed controller’s parameter application and restart requirements before any authorized change.
Hold out routes and conditions before accepting the fit
Use an authorized commissioning plan with appropriate supervision and application-specific safety controls. This article does not provide instructions to bypass protective functions or experiment near people.
Before fitting, assign some observations to calibration and reserve others for evaluation. Keep their identities in the record. A low residual on the same observations used to choose the parameters demonstrates fit quality, not generalization.
A useful proposed evaluation set includes straight travel in both directions, rotations in both directions, and curved or closed routes. Vary relevant permitted loads, surfaces and speeds deliberately. Repeat conditions so a stable bias is not confused with run-to-run variation. Do not present a single successful return to a starting point as proof that all intermediate positions were accurate.
For each held-out run, retain reference and estimated displacement, heading error, repeated-run variation, conditions and uncertainty. Define acceptance limits before inspecting the final results. Report failed conditions instead of averaging them into an attractive overall number.
The Jazzy controller documentation says pose and twist covariance settings should be tuned to sampled robot odometry data. Its displayed defaults and example values are not measured uncertainty for your robot. Neither a successful geometry fit nor a copied covariance array establishes calibrated confidence across changing contact conditions.
An odometry handoff worksheet
Keep this with the integrator’s deployment evidence. Every physical observation remains NOT TESTED until the responsible team supplies it.
Robot, wheels/tires, payload range and controller/package revision:
Odometry producer and command/feedback mode, read back:
Wheel signal origin, units, gearing and sign evidence:
Nominal radii/separation, multipliers and effective values:
Body reference point, frames, resets and clock alignment:
Independent measurement method, input independence and uncertainty:
Authorized trial plan, supervision and protective arrangements:
Calibration run IDs and original observations:
Candidate corrections, assumptions and parameter application evidence:
Held-out run IDs, routes, direction, surface, load and speed:
Per-run distance and heading residuals, repeats and uncertainty:
Acceptance limits fixed before evaluation:
Covariance evidence and operating conditions it actually covers:
Failures, excluded conditions and unresolved explanations:
Rollback configuration and owner:
Recheck triggers: tires, load, floor, drivetrain, controller or estimator:
Disposition: NOT TESTED / accepted within stated scope / rejected
A wheel or drivetrain change should reopen the relevant evidence rather than inherit an earlier green checkbox. Preserve the original configuration and failed runs so a later reviewer can distinguish a real improvement from a changed test.
Sources and evidence boundaries
- ros2_control Jazzy, differential-drive controller. Distribution-specific documentation reviewed November 16, 2026; page publication date not stated. Supports feedback versus open-loop behavior, radius/separation parameters, multipliers, odometry output and covariance guidance. Check the installed version rather than assuming identical behavior across distributions.
- ros2_controllers odometry implementation at revision
fa89345adb02a4af5f38ebae2ea2599513a99c06. Jazzy branch snapshot, commit dated November 12, 2026, reviewed November 16. Supports wheel-distance conversion, forward/heading increments and commanded-velocity integration. A source review is not execution on a deployed controller. - ROS REP 105, Coordinate Frames for Mobile Platforms. Created October 27, 2010; active informational REP reviewed November 16, 2026. Supports the continuity/drift distinction between
odomandmapand their frame relationship. The source text is linked because the rendered ROS site presented an access challenge during review.
The correction derivation, hypothetical observations, Python calculation, diagnostic matrix and worksheet are Physical AI Guide’s synthesis. No robot accuracy, slip tolerance, navigation reliability or safety performance was measured here.
Frequently asked questions
Does wheel odometry prove that a mobile robot moved?
No. Command-derived odometry integrates requested motion, while encoder-based odometry estimates motion from wheel rotation. Neither alone independently measures the robot body's movement across the floor.
Can a wheel separation correction fix slip?
A fitted separation can compensate a repeatable yaw-scale error within the tested conditions. It does not establish that variable slip across floors, loads, speeds or turn directions has been corrected.
Should I calibrate using the robot's fused map pose?
Not as an independent reference without checking its inputs. A fused estimate may already consume the wheel odometry under evaluation, and map-frame localization corrections can introduce jumps. Document measurement independence and frame semantics.