-
Notifications
You must be signed in to change notification settings - Fork 120
Camera IMU Calibration
Stephanie Tsuei edited this page Jun 9, 2022
·
12 revisions
The below instructions (and any in linked pages) need to be followed carefully! An accurate camera-IMU calibration is very important for performance of monocular VIO. This page outlines our process for using XIVO with a brand-new sensor. All provided helper scripts assume that data is collected into a rosbag.
External tools we use are:
-
imu_tk (distributed with XIVO in
thirdparty
) - Kalibr
- Allan Variance ROS
For convenience, we create a catkin workspace containing both Kalibr and Allan Variance ROS.
- Collect ~4 hours of IMU data with no motion.
- (An input to step 2.) Find the time duration
tau
at which the Allan variance stops changing. For example (using the Intel RealSense d435i)
python scripts/calibration/allan_plot.py --bag [/path/to/bag] --topic /camera/imu
produces the following Allan plots:
- Use Allan Variance ROS to compute noise and drift parameters. (In the input
.yaml
file, put the approximate IMU sample rate (in Hz) for both themeasure_rate
andimu_rate
fields.)
XIVO uses the scale-misalignment model given in Tedaldi et al. and implemented in .