IntelRealSense D435i Calibration
Calibration of IntelRealSenseD435i using AprilGrid
Installing Kalibr
Building Kalibr from Source
Install the necessary dependencies:
Create and configure a workspace:
Clone the Kalibr project and build it:
Source the workspace setup:
Recording a Rosbag
To record a rosbag, follow these steps:
Start ROS using the command:
Install the IntelRealSense ROS package for your ROS distribution:
Launch the camera node using:
Check that camera topics are listed with:
You should see topics such as
camera/color/image_raw
.Record a rosbag from all topics:
Press Ctrl+C to stop recording. The rosbag will be saved in the current directory.
Important points during recording:
Excite all IMU axes (rotation and translation).
Avoid shocks, especially at the beginning and end of recording.
Maintain low motion blur through low shutter times and good illumination.
Ensure timestamps have low jitter and are synchronized.
Check the rosbag info and play it using:
Calibrating the Camera Using AprilGrid
Ensure the AprilGrid details are specified in a
.yaml
file.To calibrate the camera, run the following command in the directory containing the
.yaml
file and rosbag:Notes:
The camera distortion model used should be
pinhole-radtan
.The
--show-extraction
flag shows the calibration alongside the feed.The
--bag-freq 10.0
sets the playback frequency of the rosbag to 10 Hz during calibration.
The results of the calibration process will be saved in a PDF and the matrix parameters will be stored in a .yaml
file in the same directory.
Last updated