camera-calibration

Calibrate ROS 2 cameras with checkerboards to generate intrinsic parameters and camera_info.yaml.

18|2|Updated Apr 20, 2026
One-click install
npx skills add https://github.com/wimblerobotics/ros2-copilot-skills --skill camera-calibration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: camera-calibration
Source: https://github.com/wimblerobotics/ros2-copilot-skills/tree/main/camera-calibration
Command: npx skills add https://github.com/wimblerobotics/ros2-copilot-skills --skill camera-calibration

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Cameras introduce distortion (barrel, pincushion) and their intrinsic parameters vary per unit. Without calibration, 3D reconstruction, map alignment, and localization suffer. Recalibrate whenever the lens, mounting, or focus changes to restore accuracy.

Core Features & Use Cases

  • Monocular Calibration: Calibrate a single camera to estimate intrinsic parameters and distortion coefficients using a checkerboard target.
  • Stereo Calibration: Calibrate a stereo pair to obtain baseline and rectification matrices for depth and stereo perception.
  • Output & Driver Integration: Generate calibration artifacts such as camera_info.yaml and guidance for ROS 2 camera drivers to consume the data.
  • Practical Guidelines: Advice on checkerboard selection, image coverage, lighting, and validation of rectified results.

Quick Start

Run monocular calibration with a checkerboard pattern and square size to generate the camera calibration data.

Frequently Asked Questions about camera-calibration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calibrate a ROS 2 camera using a checkerboard pattern?

To perform ROS 2 camera calibration, you capture images of a checkerboard target to estimate intrinsic parameters and distortion coefficients. The process outputs a camera_info.yaml file for direct integration into your ROS 2 camera drivers.

When do I need to recalibrate my camera for ROS 2 workflows?

You need camera recalibration whenever the lens, mounting, or focus changes. Without updated intrinsic parameters and distortion coefficients, 3D reconstruction, map alignment, and localization accuracy will suffer during ROS 2 perception tasks.

Can I use this for both monocular and stereo camera calibration in ROS 2?

Yes, it supports both monocular and stereo camera calibration in ROS 2. Monocular calibration estimates intrinsic parameters, while stereo calibration calculates the baseline and rectification matrices required for depth perception and stereo vision.

What camera calibration outputs are generated for ROS 2 driver integration?

The calibration process generates a camera_info.yaml file containing intrinsic parameters, distortion coefficients, and stereo rectification matrices. These artifacts allow ROS 2 camera drivers to consume the data and produce accurately rectified image outputs.

What should I consider when selecting a checkerboard for camera calibration?

When selecting a checkerboard for camera calibration, you must define the board size and square dimensions accurately. Proper selection, along with adequate image coverage and lighting, ensures accurate intrinsic parameter estimation and successful rectification validation.