TL;DR
This paper introduces a novel, plug-and-play Factor Graph (FG) architecture for autonomous vehicle state estimation that eliminates the need for predefined sensor parameters or rigid vehicle dynamics models. Operating in real-time at up to 100Hz, this modular framework seamlessly handles asynchronous data from GNSS, Lidar, IMU, and wheel encoders, demonstrating remarkable resilience against severe GNSS degradation and complete signal outages.
What Problem Does This Paper Address?
Accurate and robust state estimation (knowing a vehicle's exact position, velocity, and orientation) is fundamental for safe autonomous driving. Traditionally, robotics engineers rely on filtering methods like the Extended Kalman Filter (EKF). However, EKFs struggle with highly non-linear vehicle maneuvers, cannot easily integrate delayed sensor measurements, and fail to correct past trajectory errors.
While Factor Graphs (FGs) offer a superior optimization-based alternative by solving a Maximum A Posteriori (MAP) problem over the entire history of states, existing FG implementations are often rigid. They typically require explicit, hardcoded knowledge of sensor parameters and are tailored to a single vehicle setup. Furthermore, hybrid architectures that attempt to use dual-factor graphs to handle sensor failures frequently suffer from system crashes during graph switching.
The authors address these gaps by designing a flexible, single-graph framework that accepts arbitrary sensor configurations without needing predefined sensor parameters or complex vehicle dynamics models.
Methods
The proposed architecture utilizes a hybrid approach: filter-based predictions handle high-frequency state propagation, while optimization techniques perform real-time updates. The system is built using the GT-SAM library and integrated into the Robot Operating System (ROS) ecosystem.
Key components of the method include:
- Single Factor Graph Design: Unlike prior work utilizing dual-graph architectures, this approach uses a single graph to maintain system stability when sensors drop out or switch.
- IMU Reference Point & Pre-integration: The IMU location serves as the coordinate origin. High-frequency raw IMU measurements are pre-integrated to form constraints (factors) between successive vehicle states.
- Asynchronous Sensor Fusion: The graph incorporates modular factors as data arrives asynchronously:
- GNSS Unary Factors: Global position measurements are transformed into the IMU frame. A covariance-based thresholding system automatically discards unreliable, high-noise GNSS data.
- Lidar Odometry Factors: Relative transformations between consecutive scans are computed using the lightweight KISS-ICP algorithm.
- Kinematic Factors: When available, steering and wheel encoders provide longitudinal velocity and yaw rate constraints based on a simple kinematic bicycle model.
Datasets
The algorithm was validated using real-world data collected from two distinct autonomous platforms across three sensor configurations:
- Setup 1 (Quadricycle - Ground Truth): Equipped with two RTK-corrected GNSS sensors (front and rear) to establish highly accurate position and heading ground truth, a 32-plane Hesai Lidar, an IMU, and wheel/steering encoders.
- Setup 2 (Quadricycle - Degraded Scenario): Utilized only the front GNSS sensor, artificially corrupted with noise to simulate a 2-meter Circular Error Probable (CEP) uncertainty, alongside the Lidar and IMU.
- Setup 3 (EasyMile Shuttle Bus): An all-wheel-drive shuttle equipped with a single RTK-corrected GNSS, two 16-plane Velodyne Lidars (front and rear), and an IMU. This setup was used to simulate a total GNSS outage.
Key Insights and Ideas
- Stability via a Single Graph: The authors discovered that maintaining a single, continuous factor graph prevents the system failures common in dual-graph architectures when switching states during sensor dropouts.
- Model-Free Precision: Remarkably, the factor graph achieved comparable or superior accuracy to a baseline EKF without possessing explicit knowledge of the vehicle's physical parameters or complex lateral tire dynamics. The EKF requires detailed vehicle modeling to function effectively, whereas the FG relies purely on geometric and kinematic constraints between sensors.
- Kinematic Buffer: While the system functions well using only Lidar and IMU during GNSS degradation, adding simple kinematic factors (wheel speeds) significantly bolsters robustness against sensor misalignment and sudden sensor failures.
Key Results
The framework was evaluated against both ground truth data and a highly tuned baseline EKF.
- Resilience to Noise (Setup 2): Even when GNSS data was intentionally degraded with 2-meter noise, the FG framework maintained high accuracy, yielding a Root Mean Square Error (RMSE) of just 0.40m in the X-position and 0.38m in the Y-position. Notably, the FG avoided the initial yaw estimation errors that plagued the EKF.
| State | Setup 2 FG | Setup 2 EKF |
|---|---|---|
| X Position, m | 0.40 | 0.30 |
| Y Position, m | 0.38 | 0.39 |
| Yaw Angle, rad | 0.04 | 0.06 |
| Longitudinal Velocity, m/s | 0.16 | 0.147 |
- Surviving Total GNSS Outages (Setup 3): To stress-test the system, the authors cut the GNSS signal entirely 60 seconds into the shuttle bus run. Over a 77-meter blackout zone, the algorithm drifted by a mere 0.2 meters in the X-axis and 0.6 meters in the Y-axis, maintaining an overall position RMSE of 0.056m (X) and 0.18m (Y).
Limitations and Future Work
While the architecture proves highly effective for geometric and kinematic sensor fusion, the authors note two main avenues for improvement:
- Vision Integration: The current framework does not incorporate cameras. Future iterations aim to add monocular or stereo visual-inertial factors to the graph.
- Optional Dynamic Constraints: Although the "model-free" nature is a strength for plug-and-play deployment, the authors plan to allow the optional inclusion of complex vehicle dynamics factors for scenarios where highly detailed vehicle and tire models are available, which could further refine accuracy during high-speed maneuvers.
Summary updated