Every Kalibr calibration command requires aDocumentation 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.
--target YAML file that describes the physical calibration target. Kalibr uses this geometry to establish 3D-to-2D correspondences between known target points and their detected image locations. Getting the dimensions exactly right is critical: errors in the physical measurements translate directly into intrinsic and extrinsic calibration errors.
Target types
Kalibr supports three target types. AprilGrid is strongly recommended for most use cases.- AprilGrid
- Checkerboard
The AprilGrid target is the default and recommended choice. Each tag has a unique ID that allows unambiguous detection even with partial occlusion and wide baselines. Kalibr can detect an AprilGrid even when fewer than half of the tags are visible.See kalibr_create_target_pdf for all options.
Field reference
Must be
'aprilgrid'.Number of AprilTag columns in the grid. Must be an integer ≥ 3.
Number of AprilTag rows in the grid. Must be an integer ≥ 3.
Side length of a single AprilTag in meters, measured from the outer edge of the black border of one tag to the outer edge of the black border on the opposite side. Measure this value from the physical printout.
Gap between adjacent tags expressed as a fraction of
tagSize. For example, 0.3 means the gap between tags is 0.3 × tagSize meters. Must be a positive float. Measure this value from the physical printout and compute gap_m / tagSize_m.Generating an AprilGrid PDF
Use the bundled tool to generate a printable target:Circlegrid target (advanced)
Kalibr also parses acirclegrid target type in its configuration reader. The fields are targetRows, targetCols, spacingMeters, and asymmetricGrid. This target type is not supported by kalibr_create_target_pdf and is rarely used in practice — the AprilGrid is strongly preferred.