After runningDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/ethz-asl/kalibr/llms.txt
Use this file to discover all available pages before exploring further.
kalibr_calibrate_imu_camera, you have a <bagtag>-camchain-imucam.yaml and a <bagtag>-imu.yaml containing the full spatial and temporal calibration of your sensor rig. The Kalibr exporter scripts convert these files into the configuration formats expected by popular VIO (Visual-Inertial Odometry) and SLAM frameworks, saving you from manually transcribing matrix values.
All exporters are standalone Python scripts installed alongside Kalibr. Each reads your Kalibr output files and produces one or more framework-specific configuration files.
kalibr_maplab_config
Converts between Kalibr format and the maplab VIO framework format. The script handles both directions: Kalibr → maplab and maplab → Kalibr. Kalibr → maplabsensors.yaml:
ncamera.yaml (camera-only, no IMU):
| Flag | Description |
|---|---|
--cam | Input camera YAML (Kalibr camchain-imucam.yaml or maplab sensors.yaml/ncamera.yaml) |
--imu | Input Kalibr IMU YAML (only for Kalibr → maplab conversion) |
--label | NCamera label name (default: ncamera) |
--out | Output file path (auto-named if omitted) |
--imu-out | IMU output file path (maplab → Kalibr only) |
--to-ncamera | Produce ncamera.yaml instead of full sensors.yaml |
cam0 (Kalibr format) or ncameras (maplab format) keys at the top level.
kalibr_okvis_config
Converts acamchain-imucam.yaml to the YAML camera block format used by OKVIS, an open keyframe-based visual-inertial odometry system.
--out is omitted, the configuration block is printed to stdout so you can copy it manually.
| Flag | Description |
|---|---|
--cam | Kalibr camchain-imucam.yaml input file |
--mav | Name of the MAV/platform (used for the base_topic path) |
--out | Output file path (optional; prints to stdout if omitted) |
OKVIS only supports the
pinhole projection model. Cameras using omni, eucm, or ds models will be skipped with a warning.cameras: block with T_SC (sensor-to-camera transform), image dimensions, distortion coefficients, distortion type, focal length, and principal point for each camera.
kalibr_msf_config
Converts twocamchain-imucam.yaml files — one calibrated relative to a VI IMU and one relative to a MAV IMU — into a MSF (Multi-Sensor Fusion) ROS parameter file. MSF is a graph-based sensor fusion framework that fuses IMU, camera, and other sensor data.
--out is omitted, the configuration block is printed to stdout.
| Flag | Description |
|---|---|
--viimu | Kalibr camchain-imucam.yaml calibrated relative to the VI IMU |
--mavimu | Kalibr camchain-imucam.yaml calibrated relative to the MAV IMU |
--out | Output file path (optional; prints to stdout if omitted) |
T_cam_imu entries, extracts the time delay from timeshift_cam_imu, and inserts these values into an MSF parameter template.
kalibr_rovio_config
Converts acamchain-imucam.yaml to the .info configuration format used by ROVIO, a robust visual-inertial odometry estimator based on iterated extended Kalman filtering.
rovio_test.info— main ROVIO configuration with IMU-to-camera extrinsics (qCM_x/y/z/wandMrMC_x/y/z) for each camerarovio_cam0.yaml,rovio_cam1.yaml, … — per-camera intrinsic files in ROS camera calibration format
| Flag | Description |
|---|---|
--cam | Kalibr camchain-imucam.yaml input file |
ROVIO only supports the
pinhole projection model. Cameras using omni, eucm, or ds models will be skipped with a warning.qCM values.