Filter-based visual-inertial odometry for real-time embedded systems
This project asks how far a filter-based visual-inertial odometry (VIO) system can be pushed in accuracy while still running in real time on embedded hardware with one camera and one IMU (an NVIDIA Jetson Orin Nano), and what that makes possible downstream, such as live dense 3D mapping. The estimator builds on SP-VIO (Du et al., 2025), which combines a state-transformation EKF with pose-only visual measurements. The initialization, online calibration, robustness machinery and mapping described below are not part of the paper.
Approach
The SP-VIO estimator was re-implemented from scratch in Python, with every Jacobian derived and numerically checked, and then ported to C++ with numerical parity.
Contributions beyond the paper
Initialization with no ground truth. Closed-form and dynamic initializers recover velocity, gravity direction and IMU biases from a short window of data. They follow published methods (Cerezo, Lee and Civera, 2025; sqrtVINS) and are independent implementations.
Online calibration. The camera-IMU time offset is estimated inside the filter, following the OpenVINS formulation, and the camera-IMU extrinsic can be estimated as well. On the real rig the time offset recovers a deliberate 10 ms error to within about 1 ms.
Accuracy and robustness. Zero-velocity updates driven by image disparity, residuals formed in pixels, clone timing corrected to the true image instant, bridging of IMU dropouts with covariance inflation, and divergence detection with re-initialization. Each fix was found by tracing against ground truth, and its effect is measured on its own.
Embedded runtime. jetVIO is a hardware-independent C++ runtime with a Jetson camera and IMU source, deterministic dataset replay, and a ROS 2 interface.
Live dense 3D mapping. VIO keyframes feed a mapper (3D_Lib) that combines Depth Anything 3 on TensorRT, multi-view depth refinement and a TSDF mesh, running behind the estimator. A Gaussian-splatting pipeline on a workstation gives photorealistic reconstruction.
Results
ATE RMSE in metres, monocular, ground-truth initialization as in the paper, one deterministic run per sequence.
Averages are better than the paper on EuRoC and KITTI but not on every sequence, and TUM VI is slightly behind. The initialization, calibration and mapping work is not part of the paper, so this comparison does not cover it.
On the real Jetson rig, hand-held 1.5 to 2.5 minute runs scored 3.8 to 7.3 cm ATE against AprilGrid ground truth. The C++ update step is 2.4x faster than the Python reference.
Results are cross-checked against evo_ape.
Code [soon]
Demo videos
In both videos the left side is the camera image. The right side shows the estimated trajectory (red), the current camera pose (green) and a dense mesh built live from the VIO keyframes with Depth Anything 3 (DA3). First: EuRoC V1_01_easy. Second: TUM VI room1..