how to build free website

Stereo Visual Inertial Odometry


We implemented an Visual Inertial Odometry (VIO) pipeline for the AER1513 State Estimate for Robotics course project. Odometry is a subset of the Simultaneous Localization and Mapping (SLAM) problem. A full SLAM problem creates a map as the motion of the vehicle is estimated at the same time. The map can be used later for loop closures. In Odometry, we are only interested in estimating the motion.

VIO is a very well studied field. It is widely understood that fusing acceleration and rotation rate measurements from Inertial Measurement Units (IMU) with vision produces more accurate results. This is especially true when the vehicle is under rapid motion. Although absolute scale can be recovered in monocular VIO, it requires the vehicle to be accelerating and marginalization must be performed to propagate scale through the estimation. We also chose to implement a tightly coupled optimization approach which was shown to yield better results.

For the visual part of the pipeline, point features are extracted from the image using from each frame and matched between the left and the right camera to triangulate their 3D position. We used ORB for feature extraction and descriptor. Once a feature point in the 3D space is observed across a few frames, it becomes a landmark. Frames that observe the same landmark are constrained geometrically through the camera projection model.

Extracted features

IMU data arrives at 10 times the frequency of the images. It would be incredibly inefficient if each IMU measurement is used individually in optimization, thus the IMU measurements are integrated between frames to provide a relative pose constraint. In addition, several math tricks are used to reduce the computational load.

Optimized window of landmarks and IMU measurements

The landmarks and IMU constraints formulated into a least squares problem and optimized using Levenberg Marquardt. The optimization is performed over a sliding window to bound the computational time. We demonstrated our VIO pipeline on the EuRoC drone dataset and it works better than using vision alone. Our report can be downloaded here.

Drone used in the EuRoC dataset
Results from one set of data