Visual-Inertial RGB-D SLAM with Encoders for a Differential Wheeled Robot

Zhanghao Zhu, Yutaka Kaizu, Kenichi Furuhashi, Kenji ImouarXiv 2026 · DOI

TL;DR

This paper introduces a novel, tightly coupled SLAM system for differential wheeled robots that integrates RGB-D cameras, IMUs, and wheel encoders. By developing a new encoder preintegration theory and a robust optimization framework, the authors achieve centimeter-level accuracy and maintain continuous tracking even when visual sensors fail due to poor lighting or fast motion.

What Problem Does This Paper Address?

Simultaneous Localization and Mapping (SLAM) is critical for autonomous robots, especially in agricultural settings like greenhouses or orchards where GPS is unreliable. While visual SLAM (using cameras) can be highly accurate, it is fragile: it often fails when there aren't enough visual features, when the lighting is poor, or when the robot moves too quickly, causing motion blur.

Existing Visual-Inertial Odometry (VIO) techniques use IMUs to help, but many are closed-source or still struggle with total visual loss. The authors address this by bringing a third sensor into the mix: wheel encoders. By tightly coupling encoders with vision and inertial data, they aim to create a system that is "unbreakable" during temporary visual failures.

Methods

The authors built their system, called VIEOS2, on top of the popular ORB-SLAM2 framework. The core innovation is the Encoder Preintegration Theory.

Just as IMU preintegration allows a system to combine high-frequency inertial data into a single constraint between video frames, the authors derived a mathematical model to do the same for wheel encoders. This model assumes the robot is a differential wheeled vehicle moving on a piecewise flat surface.

Fig. 3. Kinematic model of a differential wheeled robot. Eixcc and Eiycc are the rotation circle center coordinates in frame Ei, and rcc is the corresponding rotation radius.

Key architectural changes include:

  • Tightly Coupled Fusion: Instead of just using encoders to "guess" the next position, the encoder data is integrated directly into the system's global optimization (Bundle Adjustment).
  • Pure Encoder Edges: If the camera loses tracking, the system inserts "pure encoder edges" into its internal map. This allows the robot to keep estimating its trajectory using only encoders and IMU until the camera can "see" again.
  • Modified Flow Chart: The system adds parallel threads for caching and preintegrating sensor data before passing it to the tracking and mapping components.
The VIEOS2 system architecture, showing how encoder and IMU data are integrated into the tracking and mapping threads.

Datasets

The researchers evaluated their system using two primary sources:

  1. EuRoC Dataset: A standard public benchmark for visual-inertial systems (used here primarily to validate the IMU-only "VIOS2" part of their code).
  2. In-house Agricultural Dataset: Since no public SLAM datasets included wheel encoder data for differential robots, the authors created their own. They recorded data in an indoor lab, a corridor, and a small outdoor farm.
  3. Ground Truth: To verify accuracy, they used a high-precision robotic total station (Leica TS16) to track the robot's true position with millimeter-level precision.
Fig. 4. Test equipment: (a) differential wheeled robot; (b) robotic total station.

Key Insights and Ideas

  • Encoders as a Safety Net: The most significant "aha moment" is the use of encoders to bridge visual gaps. While pure vision SLAM (ORB-SLAM2) might only track 40-70% of a challenging path, VIEOS2 achieves a 100% estimation ratio by relying on encoders when the camera fails.
  • Exact vs. Approximate Calculations: Unlike previous works that used approximate models for wheeled motion, this paper provides an exact calculation for encoder preintegration under the flat-ground assumption, leading to better accuracy (RMSE of 2–7 cm).
  • Optimization Strategy: The authors show that adding encoder constraints to the Bundle Adjustment (BA) helps restrict the search space for the optimizer, making the system more robust to outliers.
Fig. 2. Motion-only BA of VEOS2 and local BA of VIEOS2.

Key Results

  • Accuracy: On their in-house dataset, the system achieved a Root Mean Squared Error (RMSE) of approximately 2 to 7 cm.
  • Robustness: In environments where pure ORB-SLAM2 failed completely (e.g., due to ceiling lamp reflections or lack of features), VIEOS2 maintained a perfect tracking record.
  • Real-time Performance: The system runs at approximately 30 Hz, making it suitable for real-world robot navigation.
  • Open Source: The authors have published both their source code and their unique encoder-enabled dataset to the research community.

Limitations and Future Work

The primary limitation is the flat-ground assumption. The current encoder model assumes the robot is moving on a piecewise flat plane and that there is no wheel slip. In very rough terrain or on slippery mud, the encoder data would become noisy and potentially degrade the solution.

Future work suggested by the authors includes:

  • Developing more complex error models (perhaps using Kalman filters) to handle non-flat surfaces.
  • Integrating the SLAM system directly with ROS navigation nodes for fully autonomous, closed-loop control of the robot.

Summary updated

BibTeX
@misc{zhu2026visual,
  author = {Zhanghao Zhu and Yutaka Kaizu and Kenichi Furuhashi and Kenji Imou},
  title = {{Visual-Inertial RGB-D SLAM with Encoders for a Differential Wheeled Robot}},
  year = {2026},
  eprint = {2610.41768},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.41768},
}
Figure