Atlas Robotics
LocalizationAdvanced

RF2O: LiDAR odometry without wheel encoders

Atlasbot · 17/8/2026 · 11 min read

RF2O: LiDAR odometry without wheel encoders
RF2O estimates motion from changes between 2 LiDAR scans

The article Odometry in Localization assumes the source of the data to be the encoder wheel. RF2O (Range Flow-based 2D Odometry) is a radically different source of odometry — that estimates robot motion directly from two consecutive LiDAR scans, without reading any encoder pulse.

Key concepts

The idea is close to optical flow in computer vision (tracking pixels moving between 2 consecutive frames to infer camera motion) — but applies to LiDAR distance data instead of image pixels. RF2O is fully independent of the — actuator regardless of whether the robot is differential drive, mecanum, or any wheel configuration.

How it works

Between 2 consecutive scans, each laser beam measures a slightly different distance
    → this change in distance ("range flow") is directly related to
      the robot's actual motion between the 2 scans

RF2O solves a system of optimal equations that find the velocity (vx, vy, ω) most consistent with the entire pattern of distance changes observed on every laser beam — which is essentially a type of scan matching (learned at LiDAR SLAM ) but optimizes separately for the estimation of instantaneous velocity, not for mapping.

Wheel sliding (slip, increase/decelerate folding) causes the encoder to "lie" — to count enough turns but the robot does not move correspondingly; RF2O does not care how much the wheel rotates, just looking at LiDAR sees what changes. With the encoder - free robot (or the broken/unmounted encoder), RF2O provides odometry without any additional hardware beyond the already - available LiDAR.

Summarized: The trade-off of RF2O: a geometrically well-characterized medium (not an empty long corridor, a monotone plane) is needed to have sufficient reliable "flow range" for the computation of — in accordance with the restriction mentioned in the LiDAR SLAM article.

Technical details

Formulas

The quality of RF2O estimation depends directly on the observed geometrical characteristic density — in a qualitative way to estimate the reliability:

RF2O_reliability ∝ Number_of_distinct_geometric_features_within_scan_range

Long corridors with plain, flat walls → few features along the corridor axis
    → RF2O estimates lateral velocity well (perpendicular to the walls), but is less reliable
      for velocity along the corridor (too few landmarks to compare)

Spaces with many corners and varied objects → features in every direction
    → RF2O reliably estimates all 3 components (vx, vy, ω)

Parameters

SituationEncoderRF2O
Good grip, no slip.ExactAccurate (but dependent on environment)
Smooth floor, sliding wheelMisalignment (counting the spins but not moving accordingly)Unaffected (non-wheel dependent)
Long, uncharacteristic corridorNot affected by environmental geometryLess reliable along the corridor axis
No encoder/corrupted encoderInactiveStill functioning normally

Practical applications

Without choosing either — RF2O can be an additional data source in robot_localization (article Communication Odometry ) along with encoder and IMU, which is particularly useful at the right times of the least reliable encoder (stepping wheel) at which RF2O remains functional since it is wheel independent. Package rf2o_laser_odometry— has appeared in the software architecture of the Diff Robot project in the showcase section of this page — subscribe directly to topic /scan, publish odometry estimates onto a separate topic, ready to robot_localization fusion among other sources.

Practical example

# Run RF2O, subscribe / scan, publish odometry estimation
ros2 launch rf2o_laser_odometry rf2o_laser_odometry.launch.py

# Direct comparison of encoder vs. RF2O when the robot passes the floor segment suspected of sliding
ros2 topic echo /wheel_odom --field twist.twist.linear.x
ros2 topic echo /rf2o/odom --field twist.twist.linear.x
Scenario: the robot crosses a small oil puddle on a warehouse floor

/wheel_odom reports v_x = 0.3 m/s (wheels still turn steadily as commanded)
/rf2o/odom reports v_x = 0.05 m/s (LiDAR sees almost no actual robot motion)

The large difference between the 2 sources -> clear evidence of wheel slip,
using the slip detection principle from IMU in AMRs, but with
LiDAR instead of IMU as the independent reference

Common mistakes

  • Using RF2O as the sole source of odometry in the long monotonous— corridor as stated in the Formula section, lack of geometric specificity makes axial estimation along the corridor less reliable.
  • Non-coupling RF2O with encoder via sensor fusion— misses the opportunity for each source to offset the weakness of the other (encoder weak when sliding wheel, RF2O weak when lacking geometrical specificity).
  • RF2O expectations work equally well in all environments— quality depends directly on the observed geometrical characteristic density, not the fixed constant.
  • Expense with the computational cost of RF2O when evaluating the required hardware— RF2O is a form of scanning matching that is much more computationally resource intensive than merely reading the encoder, which should be included in the computational budget learned in Select Computer for AMR.

Conclusion

RF2O opens up a completely independent source of odometry with the — actuator most useful precisely at the weakest encoder situation (sliding wheel), at the trade-off of dependence on the geometric characteristic density of the environment. Combine the two through a sensor fusion, rather than choosing one, making the right use of each source's strengths. The next article in the column puts all three sources — Encoder, IMU, RF2O — into one complete robot_localization configuration.

Get new articles and lessons by email

When a new technical article or course module is published, Atlas Robotics sends you a short email. No spam.

Unsubscribe any time with the link in each email. See our Privacy policy.

RF2O: LiDAR odometry without wheel encoders — Atlas Robotics