MovidMovid

AprilTag Generator & Print Sheets

Generate exact vector AprilTag sheets directly from pinned AprilRobotics C family definitions across all 6 classic and reversed-border AprilTag 3 families, with explicit width_at_border vs. total_width sizing.

AprilRobotics @b7c0ebe96 Families (42K+ IDs)ROS 2 YAML
Sheet Size
210.0 × 297.0 mm
Pattern Bounds
125.0 × 125.0 mm
X / Y Check Rulers
100mm / 100mm
Pose Boundary (width_at_border)
100.00 mm (0.1000 m)
Full Upstream Grid (total_width)
125.00 mm (10 cells)
Cell Pitch
12.500 mm/bit
Border Polarity
Standard (inner black border)
tag36h11 · ID 0 · pose boundary=100.0mm · full grid=125.0mm X-AXIS CHECK: 100 mm (Print at 100% / Actual Size) Y: 100mm

Export files encode target physical dimensions (1 mm = 72/25.4 pt). Always print PDF at 100% / Actual Size (disable Fit to Page) and measure both X and Y check rulers with a physical caliper or ruler before calibration.

# apriltag_ros (ROS 2) parameters
# size MUST be the width_at_border (black/white boundary) in meters — NOT total_width.
# For tag36h11: width_at_border = 100.00 mm (0.1 m), full grid = 125.00 mm
apriltag:
  ros__parameters:
    family: "36h11"
    size: 0.1
    max_hamming: 0

Understanding width_at_border vs. total_width

The most frequent robotics AprilTag pose-estimation bug is confusing the detection boundary width (width_at_border, where the black/white quad edge is detected) with the full upstream layout width (total_width). For reversed-border AprilTag 3 families such as tagStandard41h12, data bits extend outside the black border so total_width / width_at_border = 9 / 5 — passing the full outer width as tag_size introduces a 1.8× linear distance error.

FamilyIDsData Bitswidth_at_bordertotal_widthreversed_borderRatio
tag36h1158736810false1.25×
tag25h9352579false1.29×
tag16h5301668false1.33×
tagStandard41h1221154159true1.80×
tagCircle21h7382159true1.80×
tagCustom48h124221148610true1.67×

OpenCV vs. AprilRobotics Orientation Convention

Movid renders AprilTags identically to AprilRobotics/apriltag (apriltag_to_image()) and official apriltag-imgs PNGs. Note that OpenCV’s built-in DICT_APRILTAG_16h5, 25h9, and 36h11 use the exact same binary patterns rotated 180° relative to AprilRobotics, and OpenCV does not cover reversed-border AprilTag 3 extended layouts like tagStandard41h12.