Abstract
Accurate state estimation is a fundamental problem for autonomous robots. To achieve locally accurate and globally drift-free state estimation, multiple sensors with complementary properties are usually fused together. Local sensors (camera, IMU, LiDAR, etc) provide precise pose within a small region, while global sensors (GPS, magnetometer, barometer, etc) supply noisy but globally drift-free localization in a large-scale environment. In this paper, we propose a sensor fusion framework to fuse local states with global sensors, which achieves locally accurate and globally drift-free pose estimation. Local estimations, produced by existing VO/VIO approaches, are fused with global sensors in a pose graph optimization. Within the graph optimization, local estimations are aligned into a global coordinate. Meanwhile, the accumulated drifts are eliminated. We evaluate the performance of our system on public datasets and with real-world experiments. Results are compared against other state-of-the-art algorithms. We highlight that our system is a general framework, which can easily fuse various global sensors in a unified pose graph optimization. Our implementations are open source.
Introduction
A major hurdle for local estimation techniques like Visual Odometry (VO) or Visual-Inertial Odometry (VIO) is accumulated drift. Much like a person trying to navigate a city with their eyes closed by counting steps, small errors in sensing relative movement eventually add up, leading to significant localization errors over long distances. While global sensors like GPS provide absolute positioning, they are often noisy, low-frequency, and lack orientation data. Traditional fusion methods, such as Extended Kalman Filters (EKF), often struggle with time synchronization and sensitivity to initial state estimates. This paper proposes a flexible, optimization-based framework to bridge this gap.
Proposed Framework
The core of the system is a Pose Graph Optimization (PGO) framework that decouples local and global estimation. The system architecture is designed to be sensor-agnostic, allowing for the "plug-and-play" integration of various global sensors.
Methodology
The framework builds a graph where nodes represent the robot's pose and edges represent constraints:
- Local Factors: Derived from high-frequency VIO/VO systems (e.g., VINS-Mono), providing precise relative movement.
- Global Factors: Derived from sensors like GPS (3D position), magnetometers (yaw), and barometers (altitude), acting as "anchors" in a unified global coordinate system (ENU).
By using a pose graph, the system acts as a natural buffer. If a global measurement arrives with a delay, it can be inserted into the graph at the correct historical timestamp for re-optimization. The global optimization runs at a low frequency (1Hz) using the Ceres Solver, while the resulting transformation corrects high-frequency (200Hz) local poses in real-time.
Experimental Results
The framework was evaluated using the KITTI dataset and real-world outdoor experiments. On the KITTI dataset (sequence 10_03_drive_0042), the proposed method reduced the Root Mean Square Error (RMSE) from 12.48 meters (ORB-SLAM) to just 0.63 meters.
Qualitative results demonstrate that the proposed trajectory aligns almost perfectly with road networks on Google Maps, whereas VIO-only paths visibly drift into buildings or off-road over time. Furthermore, the optimization-based approach consistently outperformed popular EKF-based methods like MSF in real-world tests, achieving lower RMSE (0.40m vs 0.66m).
Conclusion
This work provides a robust, general-purpose framework for achieving globally consistent state estimation. By decoupling local tracking from global optimization, the system maintains high-frequency responsiveness while eliminating long-term drift. The implementation has been released as part of the open-source VINS-Fusion library, serving as a significant resource for the robotics community.
Reference: Qin, T., Cao, S., Pan, J., & Shen, S. (2019). A General Optimization-based Framework for Global Pose Estimation with Multiple Sensors. arXiv:1901.03642.
Summary updated