A General Optimization-based Framework for Local Odometry Estimation with Multiple Sensors

Tong Qin, Jie Pan, Shaozu Cao, Shaojie ShenarXiv 2019

Abstract

Accurate 6-Degree-of-Freedom (6-DoF) state estimation is critical for autonomous robotics, yet most existing algorithms are rigidly designed for specific hardware configurations. This paper introduces a modular, optimization-based framework that treats sensor measurements as generic "factors" within a pose graph. This approach allows for seamless switching between sensor suites—such as stereo cameras, monocular+IMU, or stereo+IMU—and provides robustness against individual sensor failures. The proposed framework forms the core of the widely adopted VINS-Fusion library and demonstrates state-of-the-art performance across standard benchmarks.

Introduction

The demand for reliable state estimation spans diverse applications, from augmented reality on mobile phones to autonomous navigation for ground and aerial vehicles. Traditionally, Visual-Inertial Odometry (VIO) systems are tailored to a fixed sensor set. Porting these systems to new hardware often requires significant mathematical restructuring. Furthermore, rigid systems are prone to failure if a single sensor becomes unreliable.

To address these challenges, this work proposes a unified mathematical framework where sensors are "plug-and-play." By abstracting sensor data into independent residual blocks, the system can adapt to different configurations on the fly, ensuring that the estimation process remains robust even in the face of sensor dropouts or aggressive platform motion.

Methodology

The framework utilizes a sliding-window optimization approach, formulating state estimation as a Maximum Likelihood Estimation (MLE) problem. Unlike filter-based methods, this optimization-based strategy (Bundle Adjustment) allows for iterative refinement of the state variables, including position, orientation, velocity, and IMU biases.

System architecture showing the fusion of various sensor factors into a unified pose graph optimization framework.

Generic Factor Graph

The core innovation lies in the use of a factor graph representation. Each sensor provides a "factor" (a mathematical constraint) that is added to a global cost function:

  • Visual Factors: These represent reprojection errors. The system is generalized to handle features across both temporal (consecutive frames) and spatial (stereo pairs) domains, natively supporting monocular and stereo inputs.
  • IMU Factors: High-frequency inertial data is integrated using IMU preintegration on the manifold. This compresses multiple IMU measurements into a single relative motion constraint between image frames, maintaining computational efficiency.
  • Marginalization: To ensure real-time operation, the system employs a sliding window. Older states are marginalized out using the Schur complement, which preserves the information from past measurements as a prior for the current optimization.

Experimental Results

The framework was evaluated using the EuRoC MAV dataset and custom outdoor datasets. Comparisons were made against OKVIS, a specialized stereo-inertial algorithm.

Relative Pose Error (Translation and Rotation) on the MH05 sequence, comparing different sensor configurations of the proposed framework against OKVIS.

Benchmark Performance

On the EuRoC dataset, the proposed system consistently outperformed specialized state-of-the-art methods. For instance, in the V1_01 sequence, the Monocular+IMU configuration achieved an RMSE of 0.06m, surpassing OKVIS's 0.09m.

Robustness to Motion and Environment

The modularity of the framework proved essential during aggressive maneuvers. In sequences like V1_03, stereo-only configurations often failed due to motion blur or lack of texture. However, configurations incorporating the IMU factor maintained tracking by leveraging inertial data to bridge visual gaps. In real-world outdoor tests covering 230 meters, the addition of IMU factors reduced the translation error from 2.59m (stereo-only) to as low as 0.43m (stereo+IMU).

Discussion and Conclusion

The primary insight of this work is that modularity does not necessitate a compromise in performance. By abstracting sensors into independent factors, the system achieves both high accuracy and exceptional robustness. The IMU acts as a critical safety net, suppressing drift in orientation and providing scale when visual information is degraded.

While the current framework excels at local odometry, it does not yet incorporate global loop closure, meaning drift will eventually accumulate over long-duration missions. Future extensions will focus on integrating global sensors, such as GPS or magnetometers, as additional factors to achieve globally consistent pose estimation. This work remains a foundational contribution to the robotics community, particularly through its implementation in the open-source VINS-Fusion project.

Summary updated

BibTeX
@misc{qin2019general,
  author = {Tong Qin and Jie Pan and Shaozu Cao and Shaojie Shen},
  title = {{A General Optimization-based Framework for Local Odometry Estimation with Multiple Sensors}},
  year = {2019},
  eprint = {1901.03638},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1901.03638},
}
Figure