NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Trust Your IMU: Consequences of Ignoring the IMU Drift

Marcus Valtonen Örnhag, Patrik Persson, Mårten Wadenbäck, Kalle Åström, Anders Heyden

Introduction

In robotics and drone navigation, Visual-Inertial Odometry (VIO) is the standard for estimating motion by fusing camera images with Inertial Measurement Unit (IMU) data. Traditionally, IMUs are treated with skepticism due to "drift"—accumulating errors in orientation, particularly yaw drift around the gravity vector. To compensate, state-of-the-art algorithms employ complex mathematical models that estimate this drift alongside motion. However, this rigor comes at a high computational cost, often requiring pre-calibrated hardware. This research explores a provocative alternative: what if we trust the IMU for the very short intervals between consecutive frames?

Methodology: Local Trust for Global Speed

The core hypothesis of this work is that for high-frame-rate robotics (30fps or higher), IMU drift between frame $N$ and $N+1$ is negligible. By assuming the IMU-provided rotation is perfect over these millisecond intervals, the mathematical relationship between camera views simplifies significantly, becoming linear in terms of translation.

Leveraging this simplification, the authors developed two novel "minimal solvers":

  1. 3-point solver: Jointly estimates relative pose and the camera's unknown focal length.
  2. 4-point solver: The first to jointly estimate relative pose, focal length, and radial distortion.

To address lens distortion, the solvers utilize the one-parameter division model. The resulting systems of equations are solved using advanced algebraic geometry tools like Gröbner bases and the action matrix method, producing highly efficient, compact code.

The proposed solvers enable real-time auto-calibration and rectification of distorted images from nano-drones like the Crazyflie 2.0.

Experimental Evaluation

The solvers were tested across synthetic data, a mid-sized UAV benchmark, and a new Crazyflie 2.0 dataset. The latter represents a "worst-case" scenario for IMUs, as the 27g nano-quadcopter experiences high vibrations and uses low-cost sensors. This dataset provides a robust real-world test for the "Trust Your IMU" hypothesis.

Key Results and Insights

Performance and Speed

The proposed 3-point solver is over 800x faster than previous state-of-the-art methods (e.g., Ding et al.), while the 4-point solver achieves a 1000x speedup over earlier auto-calibration attempts. On embedded hardware like a Raspberry Pi 4, the 3-point solver runs in just 6 microseconds, enabling high-speed flight maneuvers that were previously computationally prohibitive.

Accuracy and Stability

Despite the simplifying assumption of zero local drift, the solvers maintain high accuracy. In many tests, the proposed methods outperformed more complex models because the simpler linear equations are more numerically stable, leading to fewer outliers in focal length and pose estimation.

Frequency distribution of errors for the fundamental matrix and focal length, showing that the proposed 3-pt and 4-pt solvers (solid lines) achieve lower errors and higher numerical stability than existing methods.

Plug-and-Play Calibration

A major practical advantage is the ability to estimate focal length and distortion on the fly. This "auto-calibration" allows operators to swap lenses or cameras in the field without performing tedious manual checkerboard calibrations. The 4-point solver successfully rectified highly distorted fish-eye images from the nano-drone using only parameters estimated during flight.

Conclusion

By daring to trust modern IMUs over short time horizons, this research demonstrates that we can trade unnecessary mathematical complexity for massive gains in speed and flexibility. While long-term drift still requires global correction in full SLAM systems, these fast local solvers provide a powerful new foundation for real-time, auto-calibrating robotic navigation.

Summary updated

BibTeX
@inproceedings{ornhag2021trust,
  author = {Marcus Valtonen Örnhag and Patrik Persson and Mårten Wadenbäck and Kalle Åström and Anders Heyden},
  title = {{Trust Your IMU: Consequences of Ignoring the IMU Drift}},
  booktitle = {Workshops @ CVPR},
  year = {2021},
  doi = {10.1109/cvprw56347.2022.00493},
}
Figure