MEKAWIRE
ExpertarXiv

OpenVIO: A Versatile Open-Source Visual-Inertial Odometry System

Seungwon Choi
From the abstract

Visual-inertial odometry (VIO) is a fundamental topic in robotics research. Beyond research, VIO has been adopted in a wide range of products.

From the abstract. Our summary is in progress.

Full paper

OpenVIO: A Versatile Open-Source Visual-Inertial Odometry System

Seungwon Choi

Published under CC BY 4.0. Reproduced with attribution; original at arXiv:2610.41671 (PDF).

Abstract

Visual-inertial odometry (VIO) is a fundamental topic in robotics research. Beyond research, VIO has been adopted in a wide range of products. In this manuscript, we present OpenVIO, an open-source VIO system for research and practical applications. It is released under the MIT license. OpenVIO supports pinhole and fisheye cameras and extends this support to stitched 360° images. We describe each part of the system together with its design considerations. We also report benchmark results with other open-source VIO systems on public datasets. OpenVIO is available as open source at https://github.com/93won/openvio.

Fig. 1: Example images for the camera models supported by OpenVIO. (a) Stitched 360° equirectangular (ERP) image from PanoAir [1]. (b) Fisheye image from TUM-VI [2]. (c) Pinhole image from EuRoC [3].

I Introduction

Visual-inertial odometry (VIO) combines camera images with measurements from an inertial measurement unit (IMU) to estimate ego-motion. This cost-effective sensor combination supports reliable motion estimation and has made VIO useful in products such as mobile robots, drones, augmented reality (AR) devices and autonomous cars [4, 5, 6, 7].

In this manuscript, we present OpenVIO, an open-source VIO system with stable performance across diverse camera models. It supports pinhole and fisheye cameras, as well as stitched 360° images with a full spherical field of view (Fig. OpenVIO: A Versatile Open-Source Visual-Inertial Odometry System). Under the MIT license, it can be used in both research and products. We compare OpenVIO with nine open-source VIO systems on EuRoC and TUM-VI in monocular and stereo configurations. We also evaluate OpenVIO on the 17 flights of PanoAir.

The rest of this manuscript is organized as follows. Section II reviews related work. Section III describes the OpenVIO pipeline, including the front end, initialization, filtering and extensions for 360° cameras. Section IV reports the benchmark results on EuRoC, TUM-VI and PanoAir. Section V concludes the manuscript.

Fig. 2: Processing of one image in OpenVIO. The dashed camera-1 and stereo-matching boxes indicate stereo-only steps. The gray dashed feedback arrow carries predicted pixels to landmark search. Pale dashed borders group processing stages.

II Related Work

TABLE I: Open-source VIO systems: licenses and supported cameras
  • MSCKF-VIO [8]
    License
    Penn research
    Camera models
    pinhole, fisheye
    Configuration
    stereo
  • ROVIO [9]
    License
    BSD-3
    Camera models
    pinhole, fisheye
    Configuration
    mono
  • OKVIS [10]
    License
    BSD-3
    Camera models
    pinhole, fisheye
    Configuration
    mono, stereo
  • VINS-Mono [11]
    License
    GPL-3.0
    Camera models
    pinhole, fisheye
    Configuration
    mono
  • VINS-Fusion [12]
    License
    GPL-3.0
    Camera models
    pinhole, fisheye
    Configuration
    mono, stereo
  • SVO Pro [13]
    License
    GPL-3.0
    Camera models
    pinhole, fisheye
    Configuration
    mono, stereo
  • OpenVINS [14]
    License
    GPL-3.0
    Camera models
    pinhole, fisheye
    Configuration
    mono, stereo
  • Basalt [15]
    License
    BSD-3
    Camera models
    pinhole, fisheye
    Configuration
    stereo
  • Kimera-VIO [16]
    License
    BSD-2
    Camera models
    pinhole, fisheye
    Configuration
    mono, stereo
  • OpenVIO
    License
    MIT
    Camera models
    pinhole, fisheye, 360° ERP
    Configuration
    mono, stereo

Over the past decade, many open-source VIO systems have been released (Table I). Based on their state estimation methods, these systems fall into two main groups: filter-based and optimization-based approaches. Filter-based systems, such as MSCKF-VIO [8], ROVIO [9] and OpenVINS [14], combine IMU propagation with visual measurement updates in an extended Kalman filter. Optimization-based systems, such as OKVIS [10], VINS-Mono [11], VINS-Fusion [12], SVO Pro [13], Basalt [15] and Kimera-VIO [16], solve a nonlinear least-squares problem over a sliding window of keyframes. These open-source systems have supported further research and the development of practical applications.

OpenVIO uses a filter-based approach. It tracks features and updates a sliding window of past IMU poses with an extended Kalman filter.

III OpenVIO

This section describes the OpenVIO pipeline, its main components, and the extensions for stitched 360° cameras.

III-A Overview

OpenVIO processes monocular or stereo images and IMU samples (Fig. 2). The front end tracks features for initialization and subsequent filter updates. OpenVIO outputs the IMU pose at each image exposure. When a pose leaves the filter window, OpenVIO exports it as a keyframe with its feature observations.

Each camera model converts a pixel into a unit ray, a unit-length direction vector in the camera frame. The filter uses rays for geometric operations and the camera model’s projection for image residuals. This interface supports directions behind the camera and lets the same estimator handle all camera models in Table I.

III-B Front End

The front end tracks features by pyramidal Lucas–Kanade optical flow [17, 18] with a forward-backward check, which rejects a match when tracking it back gives a pixel too far from its original position. When auto exposure changes the brightness, the previous image is scaled by the ratio of the two median intensities before optical flow.

A RANSAC [19] rotation fit between unit rays [20] provides a further outlier check. The fit checks angular agreement across tracks for every camera model. The filter subsequently estimates both rotation and translation. Each grid cell keeps a limited number of features, with priority given to longer tracks. This preserves observation histories while preventing features from concentrating in a small image region. New corners [21] fill empty cells.

A landmark that the tracker loses can be found again. Each landmark stores a patch from its most recent accepted observation. The front end matches this patch by normalized cross-correlation around the pixel predicted by the filter. The patch is sampled on the tangent plane of the landmark’s ray to account for lens distortion and ERP image stretching. For ERP images, this sampling continues across the left and right image edges. A recovered match retains the landmark’s identity and must still pass the filter’s measurement check.

For stereo, optical flow also matches each feature into the second image. The initial pixel is predicted by rotating and projecting its ray into the second camera. This assumes a point at infinity, so the prediction uses only rotation. Optical flow then finds the actual correspondence, including its disparity. The second observation enters the filter with the calibrated translation between the cameras.

Fig. 3: State and window. (a) Clones and landmarks appear in their order of addition. Orange marks two-lens 360° camera states; the dashed box marks the online ERP parameter. (b) Lost tracks and tracks reaching the oldest clone update the window. Accepted long tracks become landmarks, updated at each observation. The oldest clone leaves as a keyframe.

III-C Initialization

Initialization supplies the IMU orientation, velocity, biases and covariance needed by the filter. OpenVIO buffers feature tracks and IMU samples, and selects stationary or dynamic initialization based on motion estimated by feature tracking. The initializer uses tracks from the first camera (camera 0) in both monocular and stereo modes. It compares the mean feature displacement in the older and newer halves of the buffer. A stationary interval followed by motion triggers stationary initialization; a moving interval uses dynamic initialization. If both halves remain stationary, it waits for motion.

Stationary initialization. The accelerometer variation must also confirm the transition from rest to motion. The mean gyroscope reading of the still interval gives the gyroscope bias. The mean accelerometer reading defines the initial gravity direction, and its magnitude relative to the known gravity magnitude gives the accelerometer bias component along that direction. Position and velocity are initialized to zero at the end of the still interval. Buffered IMU samples then propagate this state through the subsequent motion.

Dynamic initialization. OpenVIO first solves the linear initialization problem described in [22]. The unknown vector \mathbf{z} contains the feature positions \{\mathbf{p}_{F_{j}}\}, initial velocity \mathbf{v}_{0} and gravity vector \mathbf{g}_{0}, expressed in the first IMU frame. Unit-ray observations and IMU preintegration form \mathbf{A} and \mathbf{b}, giving

\hat{\mathbf{z}}=\arg\min_{\mathbf{z}}\|\mathbf{A}\mathbf{z}-\mathbf{b}\|^{2},\qquad\text{subject to }\|\mathbf{g}_{0}\|=g,
(1)

where g is the known gravity magnitude. The camera–IMU extrinsics and bias priors are fixed in this linear step. The initializer requires enough tracked features, IMU samples and accumulated rotation.

The linear solution seeds a joint refinement of the poses, velocities, IMU biases and feature positions, collected in \mathcal{X}. Ceres [23] minimizes

\displaystyle\hat{\mathcal{X}}=\arg\min_{\mathcal{X}}\bigg[ \\ \displaystyle\|\mathbf{r}_{\mathrm{prior}}\|^{2}+\sum_{k}\|\mathbf{r}_{\mathrm{IMU},k}\|^{2} \\ \displaystyle+\sum_{k,j}\rho\!\left(\|\mathbf{r}_{\mathrm{image},kj}\|^{2}\right)\bigg].

The residuals are normalized by their uncertainty. They comprise a prior on the first pose and biases, IMU constraints between consecutive poses, and reprojection errors of feature j at pose k. The prior sets the position and yaw reference, while the Cauchy loss \rho limits the influence of image outliers. After convergence, the newest IMU state and its marginal covariance initialize the filter. Selected covariance blocks are inflated to avoid an overconfident start. If refinement or covariance recovery fails, OpenVIO collects more data and tries again.

Startup calibration. Before normal filter updates, OpenVIO uses the buffered data to seed the enabled time-offset states. Camera rotations from feature tracks are compared with gyroscope rotations over time-shifted intervals, with a constant gyroscope bias accounted for. For a two-lens ERP camera, the difference between the two estimated offsets gives the back-lens exposure offset (Section III-E). A time estimate is accepted only when the data constrain it sufficiently; otherwise, the correction starts at zero and can be estimated online.

When the recording starts at rest, an optional correction further refines the accelerometer bias component along gravity. This correction combines the mean accelerometer readings over the buffered interval with the initialized vertical velocity.

III-D Filter

Fig. 4: Stitching error of a two-lens ERP image. (a) A ray at the angle \theta from its lens axis is placed at \theta^{\prime}=\theta+k\,g(\theta) (k exaggerated). (b) The error for k=0.0063, the prior on PanoAir; the pixel equivalent is at the ERP equator.

OpenVIO combines a multi-state constraint Kalman filter (MSCKF) [24] with persistent landmarks in its state [25]. This uses constraints from completed tracks and repeated observations of selected landmarks. Grouped by variable type, the state is

\mathbf{x}=\big[\,\mathbf{x}_{I}^{\top},\;t_{d},\;\delta t_{b},\;\mathbf{x}_{\mathrm{cal}}^{\top},\;\mathbf{x}_{C_{1}}^{\top},\dots,\mathbf{x}_{C_{n}}^{\top},\;\mathbf{x}_{L_{1}}^{\top},\dots,\mathbf{x}_{L_{m}}^{\top}\,\big]^{\top},
(3)

with the IMU state \mathbf{x}_{I} (orientation, position, velocity and the gyroscope and accelerometer biases), the time offset t_{d}, the exposure delay \delta t_{b} of the back lens of a 360° camera, the calibration \mathbf{x}_{\mathrm{cal}} (camera–IMU extrinsics and the stitching error k of the ERP model), the clones \mathbf{x}_{C_{i}} of past IMU poses and the landmarks \mathbf{x}_{L_{j}} in inverse depth [26]. Figure 3a shows the order of addition; Eq. (3) groups variables by type.

The filter propagates the IMU state with fourth-order Runge–Kutta integration and the covariance with the closed-form method of [27], using first-estimate Jacobians [28]. At each image stamped t, the IMU pose at its exposure t+t_{d} is added as a clone [29]. The clone preserves the pose and its correlations with the rest of the state, so later observations can constrain the motion between image exposures. Image residuals use current estimates, while the associated Jacobians use the retained first estimates.

Tracks are triangulated from unit rays, with the point closest to all rays as the initial estimate. For inverse-depth refinement [24], the anchor camera frame and each observation’s camera frame are rotated so that their respective measured rays align with the local +z axis. This parameterization handles rays in any direction, including those behind an ERP camera.

A track that is lost or reaches back to the oldest clone updates the window (Fig. 3b). Its point is triangulated, and nullspace projection removes the point’s contribution from the linearized residuals [24]. Tracks that pass a \chi^{2} gate are combined into one update and compressed by QR decomposition. The resulting constraint updates the state without retaining the triangulated point as a state variable. Once consumed, those track observations are removed to prevent their reuse.

A track seen in more images than the window holds is a candidate for a persistent landmark. It must pass triangulation and the measurement gate, and space must remain in the landmark budget. An optional depth-uncertainty test also prevents poorly constrained points from entering the state; such tracks can still contribute a window update. Each accepted landmark retains its inverse depth and correlations with the other states, allowing new observations to constrain motion after the original clones leave the window. Shorter tracks that are still growing wait for more observations.

After the update, the oldest clone leaves as a keyframe when the window exceeds its limit. The released configurations keep up to 20 clones and 150 landmarks. The time offset and camera–IMU extrinsics are estimated online.

A landmark whose track is lost stays in the state for up to 5 s, so that the front end can find it again. It is removed when its inverse depth is not positive, when the gate rejects it twice in a row, or when its inverse depth departs too far from its first estimate, to limit scale errors from inaccurate first-estimate Jacobians.

III-E 360° Cameras

OpenVIO takes an ERP image already stitched by a two-lens 360° camera. The two back-to-back fisheye lenses cover the sphere, and the ERP image maps the longitude of a ray to its column and the latitude to its row:

u=W\Big(\tfrac{1}{2}+\tfrac{\operatorname{atan2}(x,z)}{2\pi}\Big),\qquad v=H\Big(\tfrac{1}{2}+\tfrac{\arcsin(y/\|\mathbf{p}\|)}{\pi}\Big).
(4)

Here, W and H are the image width and height in pixels. The ray \mathbf{p}=(x,y,z)^{\top} uses camera axes pointing right (+x), down (+y) and forward (+z). The front lens sees the rays with z>0 and the back lens the others. For such a camera OpenVIO estimates two more states, the stitching error k and the exposure delay \delta t_{b} of the back lens (Fig. 3a). The first corrects the pixel-to-ray geometry, while the second determines which pose predicts a back-lens observation. Both are estimated within the same filter as the trajectory.

Stitching error. The stitching relies on the camera’s own calibration, and a small error in it places rays at slightly wrong angles from their lens axis. For a ray at angle \theta from that axis, OpenVIO models the error with one parameter k (Fig. 5),

\theta^{\prime}=\theta+k\,g(\theta),\qquad g(\theta)=\theta\Big(1-\big(\tfrac{2\theta}{\pi}\big)^{2}\Big).
(5)

The same angular correction is applied about each lens axis without changing the ray’s azimuth. The correction k\,g(\theta) vanishes at the lens axis and at the seam, so these directions remain fixed. Near the axis, it grows like k\theta, as a focal-length error would. Thus, one state captures a smooth angular mismatch in the stitched image. For k=0.0063, the prior on PanoAir, the correction peaks at 0.22° at \theta=52°, equivalent to 0.78 px along the ERP equator at an image width of 1280 pixels (Fig. 5b). The filter estimates k online.

Exposure delay. A stitched image can combine two lens exposures at different times (Fig. 5). During motion, each half then corresponds to a different pose. The common camera–IMU offset t_{d} sets the front exposure t+t_{d}, and the relative offset \delta t_{b} sets the back exposure t+t_{d}+\delta t_{b}. OpenVIO retains the front-exposure pose as a clone and predicts the back-exposure pose with constant linear velocity between exposures,

R_{i,b}=\Delta R_{i}^{\top}R_{i},\qquad\mathbf{p}_{i,b}=\mathbf{p}_{i}+\mathbf{v}_{i}\,\delta t_{b},
(6)

Here, R_{i} maps global vectors into the IMU frame at the front exposure, while \mathbf{p}_{i} and \mathbf{v}_{i} are expressed in the global frame. The gyroscope-derived \Delta R_{i} maps vectors from the back-exposure IMU frame into the front-exposure IMU frame. The filter refines \delta t_{b} online, allowing either sign.

IV Benchmark

Fig. 6: Median of the per-sequence ATE values over the sequences that all systems in each panel complete. The underlying values are the medians across runs in Tables II, III and IV. Parentheses show completed sequences out of all evaluated sequences.
TABLE II: EuRoC, monocular. ATE RMSE [m] after SE(3) alignment, median of five runs. \times: at least half the runs failed. The mean uses the eight sequences completed by all systems. Best per row in bold.
  • MH_01
    OpenVIO
    0.168
    OpenVINS
    0.096
    VINS-Mono
    0.192
    VINS-Fusion
    0.186
    SVO Pro
    0.438
    ROVIO
    0.455
    Kimera-VIO
    1.352
  • MH_02
    OpenVIO
    0.076
    OpenVINS
    0.152
    VINS-Mono
    0.167
    VINS-Fusion
    0.088
    SVO Pro
    0.094
    ROVIO
    \times
    Kimera-VIO
    0.280
  • MH_03
    OpenVIO
    0.118
    OpenVINS
    0.124
    VINS-Mono
    0.217
    VINS-Fusion
    0.135
    SVO Pro
    8.488
    ROVIO
    0.486
    Kimera-VIO
    0.471
  • MH_04
    OpenVIO
    0.110
    OpenVINS
    0.223
    VINS-Mono
    0.378
    VINS-Fusion
    0.217
    SVO Pro
    \times
    ROVIO
    1.003
    Kimera-VIO
    5.282
  • MH_05
    OpenVIO
    0.429
    OpenVINS
    0.624
    VINS-Mono
    0.354
    VINS-Fusion
    0.326
    SVO Pro
    0.216
    ROVIO
    1.164
    Kimera-VIO
    6.148
  • V1_01
    OpenVIO
    0.061
    OpenVINS
    0.069
    VINS-Mono
    0.079
    VINS-Fusion
    0.059
    SVO Pro
    0.053
    ROVIO
    0.118
    Kimera-VIO
    2.555
  • V1_02
    OpenVIO
    0.064
    OpenVINS
    0.058
    VINS-Mono
    0.098
    VINS-Fusion
    0.086
    SVO Pro
    0.060
    ROVIO
    0.184
    Kimera-VIO
    0.100
  • V1_03
    OpenVIO
    0.060
    OpenVINS
    0.066
    VINS-Mono
    0.147
    VINS-Fusion
    0.160
    SVO Pro
    0.131
    ROVIO
    0.201
    Kimera-VIO
    0.213
  • V2_01
    OpenVIO
    0.076
    OpenVINS
    0.104
    VINS-Mono
    0.085
    VINS-Fusion
    \times
    SVO Pro
    0.080
    ROVIO
    \times
    Kimera-VIO
    0.290
  • V2_02
    OpenVIO
    0.067
    OpenVINS
    0.067
    VINS-Mono
    0.122
    VINS-Fusion
    0.119
    SVO Pro
    0.131
    ROVIO
    0.743
    Kimera-VIO
    0.198
  • V2_03
    OpenVIO
    0.111
    OpenVINS
    0.178
    VINS-Mono
    0.289
    VINS-Fusion
    0.208
    SVO Pro
    0.248
    ROVIO
    0.220
    Kimera-VIO
    0.450
  • Mean (8 seq.)
    OpenVIO
    0.135
    OpenVINS
    0.160
    VINS-Mono
    0.187
    VINS-Fusion
    0.160
    SVO Pro
    1.221
    ROVIO
    0.446
    Kimera-VIO
    1.436
  • Completed
    OpenVIO
    11/11
    OpenVINS
    11/11
    VINS-Mono
    11/11
    VINS-Fusion
    10/11
    SVO Pro
    10/11
    ROVIO
    9/11
    Kimera-VIO
    11/11
TABLE III: EuRoC, stereo. ATE RMSE [m] after SE(3) alignment, median of five runs. \times: at least half the runs failed. The mean uses the eight sequences completed by all systems. Best per row in bold.
  • MH_01
    OpenVIO
    0.091
    OpenVINS
    0.070
    VINS-Fusion
    0.253
    Basalt
    0.066
    OKVIS
    0.213
    MSCKF-VIO
    \times
    SVO Pro
    0.120
    Kimera-VIO
    0.199
  • MH_02
    OpenVIO
    0.069
    OpenVINS
    0.111
    VINS-Fusion
    0.217
    Basalt
    0.055
    OKVIS
    0.120
    MSCKF-VIO
    0.178
    SVO Pro
    0.065
    Kimera-VIO
    0.197
  • MH_03
    OpenVIO
    0.075
    OpenVINS
    0.144
    VINS-Fusion
    0.326
    Basalt
    0.062
    OKVIS
    0.135
    MSCKF-VIO
    0.226
    SVO Pro
    0.077
    Kimera-VIO
    0.321
  • MH_04
    OpenVIO
    0.091
    OpenVINS
    0.155
    VINS-Fusion
    0.434
    Basalt
    0.114
    OKVIS
    0.180
    MSCKF-VIO
    0.223
    SVO Pro
    0.176
    Kimera-VIO
    \times
  • MH_05
    OpenVIO
    0.210
    OpenVINS
    0.441
    VINS-Fusion
    0.307
    Basalt
    0.145
    OKVIS
    0.297
    MSCKF-VIO
    0.345
    SVO Pro
    0.182
    Kimera-VIO
    0.257
  • V1_01
    OpenVIO
    0.049
    OpenVINS
    0.062
    VINS-Fusion
    0.113
    Basalt
    0.043
    OKVIS
    0.046
    MSCKF-VIO
    0.086
    SVO Pro
    0.056
    Kimera-VIO
    0.058
  • V1_02
    OpenVIO
    0.042
    OpenVINS
    0.048
    VINS-Fusion
    0.108
    Basalt
    0.045
    OKVIS
    0.054
    MSCKF-VIO
    0.112
    SVO Pro
    0.077
    Kimera-VIO
    0.058
  • V1_03
    OpenVIO
    0.049
    OpenVINS
    0.058
    VINS-Fusion
    0.112
    Basalt
    0.053
    OKVIS
    0.110
    MSCKF-VIO
    0.188
    SVO Pro
    0.075
    Kimera-VIO
    0.090
  • V2_01
    OpenVIO
    0.068
    OpenVINS
    0.050
    VINS-Fusion
    0.132
    Basalt
    0.039
    OKVIS
    0.056
    MSCKF-VIO
    0.084
    SVO Pro
    0.091
    Kimera-VIO
    0.059
  • V2_02
    OpenVIO
    0.056
    OpenVINS
    0.035
    VINS-Fusion
    0.124
    Basalt
    0.049
    OKVIS
    0.080
    MSCKF-VIO
    0.152
    SVO Pro
    0.135
    Kimera-VIO
    0.126
  • V2_03
    OpenVIO
    0.125
    OpenVINS
    0.085
    VINS-Fusion
    0.318
    Basalt
    0.229
    OKVIS
    \times
    MSCKF-VIO
    1.940
    SVO Pro
    0.202
    Kimera-VIO
    \times
  • Mean (8 seq.)
    OpenVIO
    0.077
    OpenVINS
    0.119
    VINS-Fusion
    0.180
    Basalt
    0.061
    OKVIS
    0.112
    MSCKF-VIO
    0.171
    SVO Pro
    0.095
    Kimera-VIO
    0.146
  • Completed
    OpenVIO
    11/11
    OpenVINS
    11/11
    VINS-Fusion
    11/11
    Basalt
    11/11
    OKVIS
    10/11
    MSCKF-VIO
    10/11
    SVO Pro
    11/11
    Kimera-VIO
    9/11
TABLE IV: TUM-VI 512, monocular and stereo. ATE RMSE [m] after SE(3) alignment, median of the runs (5 per room, 3 otherwise); \times: half or more of the runs failed. Best per row and configuration in bold. The means are over the sequences that all systems of a configuration complete (monocular 11, stereo 15).
  • Sequence
    Monocular
    OpenVIO
    OpenVINS
    VINS-Mono
    Stereo
    OpenVIO
    OpenVINS
    Basalt
  • room1
    Monocular
    0.033
    0.048
    0.056
    Stereo
    0.034
    0.056
    0.106
  • room2
    Monocular
    0.044
    0.082
    0.056
    Stereo
    0.041
    0.088
    0.076
  • room3
    Monocular
    0.079
    0.075
    0.149
    Stereo
    0.064
    0.080
    0.133
  • room4
    Monocular
    0.034
    0.027
    0.044
    Stereo
    0.028
    0.027
    0.052
  • room5
    Monocular
    0.065
    0.075
    0.216
    Stereo
    0.068
    0.096
    0.180
  • room6
    Monocular
    0.052
    \times
    0.077
    Stereo
    0.049
    \times
    0.023
  • corridor1
    Monocular
    0.679
    0.817
    0.987
    Stereo
    0.241
    0.796
    0.207
  • corridor2
    Monocular
    0.212
    0.244
    1.248
    Stereo
    0.341
    0.403
    0.412
  • corridor3
    Monocular
    0.346
    1.092
    1.435
    Stereo
    0.381
    1.053
    0.493
  • corridor4
    Monocular
    0.082
    0.391
    0.230
    Stereo
    0.121
    0.472
    0.199
  • corridor5
    Monocular
    0.227
    \times
    0.499
    Stereo
    0.262
    \times
    0.384
  • slides1
    Monocular
    0.261
    \times
    0.486
    Stereo
    0.325
    0.901
    0.338
  • slides2
    Monocular
    1.214
    \times
    1.052
    Stereo
    0.496
    \times
    0.949
  • slides3
    Monocular
    0.446
    \times
    0.628
    Stereo
    1.149
    2.192
    1.769
  • magistrale1
    Monocular
    2.143
    \times
    3.582
    Stereo
    2.441
    \times
    1.720
  • magistrale2
    Monocular
    1.313
    4.080
    2.409
    Stereo
    1.230
    2.962
    1.274
  • magistrale3
    Monocular
    2.577
    \times
    0.668
    Stereo
    2.354
    0.812
    1.964
  • magistrale4
    Monocular
    1.261
    2.429
    4.374
    Stereo
    2.311
    1.773
    1.352
  • magistrale5
    Monocular
    1.520
    \times
    0.225
    Stereo
    1.392
    \times
    0.955
  • magistrale6
    Monocular
    2.139
    \times
    2.763
    Stereo
    2.084
    3.622
    3.737
  • Mean (common seq.)
    Monocular
    0.377
    0.851
    1.019
    Stereo
    0.718
    1.022
    0.819
  • Completed
    Monocular
    20/20
    11/20
    20/20
    Stereo
    20/20
    15/20
    20/20
TABLE V: PanoAir: ATE RMSE [m] of OpenVIO and the online calibration at the end of each flight
  • Flight
    Cloudy
    1
    2
    3
    4
    5
    Sunny
    6
    7
    8
    9
    Night
    10
    11
    12
    13
    14
    15
    16
    17
    Mean
  • Length [m]
    Cloudy
    248
    802
    1143
    1206
    1591
    Sunny
    792
    500
    839
    1700
    Night
    364
    472
    407
    464
    831
    903
    1355
    1883
  • ATE
    Cloudy
    0.29
    0.61
    1.08
    1.90
    2.99
    Sunny
    0.39
    0.36
    0.58
    1.71
    Night
    1.39
    0.81
    0.74
    0.53
    1.20
    1.61
    1.47
    1.74
    1.14
  • k\times 10^{3}
    Cloudy
    6.31
    6.67
    6.34
    6.17
    6.46
    Sunny
    6.43
    3.62
    6.39
    6.73
    Night
    6.61
    5.88
    5.59
    8.76
    5.78
    6.05
    5.50
    6.58
  • t_{d} [ms]
    Cloudy
    -1.8
    -4.1
    -4.2
    -3.8
    -4.7
    Sunny
    -6.3
    -3.3
    -5.1
    -6.8
    Night
    -39.0
    -4.3
    -3.5
    -3.6
    -5.2
    -4.6
    -5.4
    -6.9
  • \delta t_{b} [ms]
    Cloudy
    0.31
    0.27
    0.15
    0.15
    0.41
    Sunny
    0.16
    0.06
    0.22
    0.15
    Night
    35.00
    -0.17
    -0.18
    -0.15
    -0.13
    -0.16
    0.02
    -0.20

IV-A Setup

We compare OpenVIO with the nine open-source VIO systems in Table I on EuRoC MAV [3] and TUM-VI [2], using the available monocular and stereo configurations. EuRoC contains 11 drone sequences recorded with a stereo pinhole camera. We use the 20 indoor TUM-VI sequences, recorded with a hand-held stereo fisheye camera at 512\times 512 pixels. Each baseline uses its authors’ configuration with loop closure disabled. We omit a system from a dataset when its authors provide no configuration for it. OpenVIO uses its released configurations, with the parameter variations described below.

We report absolute trajectory error (ATE) as the root-mean-square error (RMSE) of positions after rigid SE(3) alignment [30]. For TUM-VI, only poses with motion-capture ground truth enter the alignment and error calculation. On sequences that leave and return to the room, this measures accumulated drift at the observed portions rather than error along the unobserved route.

Each table entry is the median of five runs for EuRoC and TUM-VI room sequences, or three runs for the remaining TUM-VI sequences. A run fails if no valid ATE is available, its ATE exceeds 10 m, or its evaluated time span covers less than half the sequence duration. Failed runs enter the median as infinite error. A sequence is counted as completed when more than half its runs succeed.

OpenVIO is deterministic, so its repeated runs use small parameter variations. The first three runs use the released configuration and two variants that scale both gyroscope and accelerometer noise densities by 0.9 or 1.1. For the five-run sets, two further runs retain the default IMU parameters and change the optical-flow termination tolerance from 0.01 to 0.0099 and 0.0098. The recorded sensor measurements remain the same in every run.

IV-B Accuracy on EuRoC and TUM-VI

Tables II, III and IV report the per-sequence results. For each dataset and camera configuration, aggregate errors use only sequences completed by all compared systems. Figure 6 shows the median across these sequences, while the table summaries show the mean. Completion counts cover all evaluated sequences.

OpenVIO completes all EuRoC and TUM-VI sequences in both monocular and stereo modes under the criterion above. On EuRoC, its median ATE is close to OpenVINS monocular and to Basalt and OpenVINS stereo. On TUM-VI, OpenVIO has the lowest median ATE over the common sequences in both configurations. These results show consistent sequence completion with competitive accuracy across the two datasets.

IV-C 360° Camera

The comparison systems in Table I do not support stitched 360° ERP input, so we evaluate OpenVIO alone on PanoAir [1]. It contains 17 drone flights totaling 15.5 km under cloudy, sunny and night conditions, with RTK-GNSS ground truth. Images from a two-lens camera have an ERP resolution of 1280\times 640 at 30 Hz. We use one run per flight with the released configuration and exclude the first 12.5 s from evaluation. OpenVIO produces a successful result on all 17 flights, with a mean ATE of 1.14 m (Table V).

Table V also reports the final online calibration estimates. No reference values are available for these calibration parameters. The stitching parameter k lies between 0.0055 and 0.0068 on 15 flights, with flights 7 and 13 outside this range. The estimated back-lens delay has magnitude below 0.5 ms on every flight except flight 10. For that flight, the estimate is 35 ms, approximately one frame interval at 30 Hz.

V Conclusion

OpenVIO is an MIT-licensed visual-inertial odometry system for pinhole, fisheye and stitched 360° ERP images. A shared camera interface supports these models within one filter, with online correction of stitching error and inter-lens exposure delay for two-lens 360° cameras. OpenVIO meets the benchmark success criterion on all evaluated EuRoC and TUM-VI sequences in monocular and stereo modes, and on all 17 PanoAir flights. Loop closure and map reuse are not included; exported keyframes and feature observations provide an interface for such extensions.

References

  1. [1] Y. Wu, X. Zhang, Y. Du, T. Zhang, C. Li, S. Chen, G. Zhang, and X. Xu (2026) PanoAir: a panoramic visual-inertial SLAM with cross-time real-world UAV dataset. Note: arXiv:2604.00852
  2. [2] D. Schubert, T. Goll, N. Demmel, V. Usenko, J. Stückler, and D. Cremers (2018) The TUM VI benchmark for evaluating visual-inertial odometry. In Proc. IEEE/RSJ Int. Conf. Intell. Robots Syst. (IROS), pp. 1680–1687.
  3. [3] M. Burri, J. Nikolic, P. Gohl, T. Schneider, J. Rehder, S. Omari, M. W. Achtelik, and R. Siegwart (2016) The EuRoC micro aerial vehicle datasets. Int. J. Robot. Res. 35 (10), pp. 1157–1163.
  4. [4] K. J. Wu, C. X. Guo, G. Georgiou, and S. I. Roumeliotis (2017) VINS on wheels. In Proc. IEEE Int. Conf. Robot. Autom. (ICRA), pp. 5155–5162.
  5. [5] Apple Inc. Understanding world tracking. Note: ARKit documentation, https://developer.apple.com/documentation/arkit/understanding-world-trackingAccessed Oct. 2026
  6. [6] Google ARCore fundamental concepts. Note: https://developers.google.com/ar/develop/fundamentalsAccessed Oct. 2026
  7. [7] X. Jiang, F. Wang, R. Zheng, H. Liu, Y. Huo, J. Peng, L. Tian, and E. Barsoum (2024) VIPS-Odom: visual-inertial odometry tightly-coupled with parking slots for autonomous parking. Note: arXiv:2407.05017
  8. [8] K. Sun, K. Mohta, B. Pfrommer, M. Watterson, S. Liu, Y. Mulgaonkar, C. J. Taylor, and V. Kumar (2018) Robust stereo visual inertial odometry for fast autonomous flight. IEEE Robot. Autom. Lett. 3 (2), pp. 965–972.
  9. [9] M. Bloesch, S. Omari, M. Hutter, and R. Siegwart (2015) Robust visual inertial odometry using a direct EKF-based approach. In Proc. IEEE/RSJ Int. Conf. Intell. Robots Syst. (IROS), pp. 298–304.
  10. [10] S. Leutenegger, S. Lynen, M. Bosse, R. Siegwart, and P. Furgale (2015) Keyframe-based visual-inertial odometry using nonlinear optimization. Int. J. Robot. Res. 34 (3).
  11. [11] T. Qin, P. Li, and S. Shen (2018) VINS-Mono: a robust and versatile monocular visual-inertial state estimator. IEEE Trans. Robot. 34 (4).
  12. [12] T. Qin, J. Pan, S. Cao, and S. Shen (2019) A general optimization-based framework for local odometry estimation with multiple sensors. Note: arXiv:1901.03638
  13. [13] C. Forster, Z. Zhang, M. Gassner, M. Werlberger, and D. Scaramuzza (2017) SVO: semidirect visual odometry for monocular and multicamera systems. IEEE Trans. Robot. 33 (2), pp. 249–265.
  14. [14] P. Geneva, K. Eckenhoff, W. Lee, Y. Yang, and G. Huang (2020) OpenVINS: a research platform for visual-inertial estimation. In Proc. IEEE Int. Conf. Robot. Autom. (ICRA),
  15. [15] V. Usenko, N. Demmel, D. Schubert, J. Stückler, and D. Cremers (2020) Visual-inertial mapping with non-linear factor recovery. IEEE Robot. Autom. Lett. 5 (2), pp. 422–429.
  16. [16] A. Rosinol, M. Abate, Y. Chang, and L. Carlone (2020) Kimera: an open-source library for real-time metric-semantic localization and mapping. In Proc. IEEE Int. Conf. Robot. Autom. (ICRA), pp. 1689–1696.
  17. [17] B. D. Lucas and T. Kanade (1981) An iterative image registration technique with an application to stereo vision. In Proc. Int. Joint Conf. Artif. Intell. (IJCAI), pp. 674–679.
  18. [18] J.-Y. Bouguet (2001) Pyramidal implementation of the affine Lucas Kanade feature tracker: description of the algorithm. Technical report Intel Corporation.
  19. [19] M. A. Fischler and R. C. Bolles (1981) Random sample consensus: a paradigm for model fitting with applications to image analysis and automated cartography. Commun. ACM 24 (6), pp. 381–395.
  20. [20] K. S. Arun, T. S. Huang, and S. D. Blostein (1987) Least-squares fitting of two 3-D point sets. IEEE Trans. Pattern Anal. Mach. Intell. PAMI-9 (5), pp. 698–700.
  21. [21] J. Shi and C. Tomasi (1994) Good features to track. In Proc. IEEE Conf. Comput. Vis. Pattern Recognit. (CVPR), pp. 593–600.
  22. [22] P. Geneva and G. Huang (2023) Revisiting visual-inertial structure-from-motion for odometry and SLAM initialization. IEEE Robot. Autom. Lett. 8 (4).
  23. [23] S. Agarwal, K. Mierle, and The Ceres Solver Team Ceres Solver. Note: http://ceres-solver.org
  24. [24] A. I. Mourikis and S. I. Roumeliotis (2007) A multi-state constraint Kalman filter for vision-aided inertial navigation. In Proc. IEEE Int. Conf. Robot. Autom. (ICRA),
  25. [25] M. Li and A. I. Mourikis (2012) Optimization-based estimator design for vision-aided inertial navigation. In Proc. Robot.: Sci. Syst. (RSS),
  26. [26] J. Civera, A. J. Davison, and J. M. M. Montiel (2008) Inverse depth parametrization for monocular SLAM. IEEE Trans. Robot. 24 (5).
  27. [27] Y. Yang, B. P. W. Babu, C. Chen, G. Huang, and L. Ren (2020) Analytic combined IMU integration (ACI{}^{2}) for visual inertial navigation. In Proc. IEEE Int. Conf. Robot. Autom. (ICRA),
  28. [28] M. Li and A. I. Mourikis (2013) High-precision, consistent EKF-based visual-inertial odometry. Int. J. Robot. Res. 32 (6).
  29. [29] M. Li and A. I. Mourikis (2014) Online temporal calibration for camera-IMU systems: theory and algorithms. Int. J. Robot. Res. 33 (7).
  30. [30] Z. Zhang and D. Scaramuzza (2018) A tutorial on quantitative trajectory evaluation for visual(-inertial) odometry. In Proc. IEEE/RSJ Int. Conf. Intell. Robots Syst. (IROS), pp. 7244–7251.