Documentation 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_create_target_pdf renders a calibration target — either an AprilGrid or a checkerboard — to a PDF file that you can print at the correct physical scale. The output dimensions are defined by the tag or square size arguments in meters, which the tool converts to the PDF coordinate system automatically.
Print the resulting PDF at 100% scale (no scaling, no fit-to-page) and measure the physical tag or square size with calipers to verify it matches the value you passed to the tool.
Synopsis
Examples
- AprilGrid
- Checkerboard
target.pdf with a 6×6 AprilGrid using the default t36h11 family, with 8 cm tags and 30% inter-tag spacing.To use a different output name and tag family:Flags
Output options
Output filename without extension. The tool appends
.pdf (and .eps when --eps is given). Default: target.Also write an EPS file alongside the PDF.
Generic grid options
Grid pattern type. Accepted values:
apriltag, checkerboard.Number of tags or squares in the x direction (columns). Default:
6.Number of tags or squares in the y direction (rows). Default:
7.AprilGrid options
The following flags apply only when--type apriltag is set.
Size of one AprilTag in meters. Default:
0.08.Spacing between adjacent tags as a fraction of the tag edge size, in the range
[0, 1]. Default: 0.3.AprilTag family. Accepted values:
t16h5, t25h7, t25h9, t36h11. Default: t36h11.t36h11 provides the best detection reliability and is the recommended family for Kalibr.Space-separated list of tag IDs to leave blank in the grid. Useful when specific tags are damaged or known to be problematic. Default: none.
Checkerboard options
The following flags apply only when--type checkerboard is set.
Width of one checkerboard square in the x direction, in meters. Default:
0.05.Height of one checkerboard square in the y direction, in meters. Default:
0.05.Tag families
| Family | Bits | Max tags | Reliability |
|---|---|---|---|
t16h5 | 16 | 30 | Lower (more false positives) |
t25h7 | 25 | 242 | Moderate |
t25h9 | 25 | 35 | Moderate |
t36h11 | 36 | 587 | Highest (recommended) |
The
t36h9 family is defined in the source code but commented out and not available at runtime. Use t36h11 instead.Generating a YAML target configuration
After printing, create a YAML configuration file that matches the physical parameters you used. Pass this file to--target in all Kalibr calibration tools.
- AprilGrid YAML
- Checkerboard YAML