Camera Calibration on Skynode
Last updated
Last updated
This page describes how to calibrate Skynode's camera using a calibration tool running on Skynode.
Running the calibration on Skynode is slower than running it on a connected computer. Where possible, we recommend running the calibration on a computer.
Open the Apps page of the vehicle web UI on http://10.41.1.1/apps and ensure that the video2ros and camera-calibration-service apps are installed.
Please contact Auterion if they are not installed on your Skynode.
Download and print the checkerboard calibration pattern in the PDF file below and mount it to a flat, rigid surface.
Measure the width of one square as accurately as possible. If printed on an A4 page, the width should be close to 25mm (0.025m).
Open the Apps page of the vehicle web UI on http://10.41.1.1/apps and find the camera-calibration-service app. Click the gear icon and select Settings. Set the values as follows, then click Save.
Open the settings for the video2ros app, under System Services.
Set Use Custom Auto Exposure to false, and click Save.
To ensure the calibration runs smoothly, only the camera-calibration-service and video2ros apps must be running.
On the Apps page of the vehicle web UI, stop all other apps by clicking the gear icon and then Stop.
Click the video2ros app's blue Add calibration file button to open the calibration webpage. Check the Show Calibration Tool checkbox and - when you are ready - click the Start Sampling button to begin recording calibration data.
A window will appear with the video stream from the camera. Position the checkerboard such that the entire pattern is visible in the image. If the pattern is recognised, a multi-coloured grid will be drawn on the checkerboard.
Move the checkerboard around in front of the camera, keeping the entire pattern visible. Data must be captured with the pattern at different positions and orientations:
at the top and bottom of the image,
at the left and right sides of the image,
near and far from the camera, and
with different angles of skew (where one corner of the pattern is closer to or further from the camera).
The coloured bars to the right of the image will indicate how many images have been captured at each of these positions. They will turn green when sufficient data has been captured.
Once the data capture is complete, you will be prompted to click Calibrate. This will compute the calibration parameters for the camera, generate a calibration file from them, and save the file on Skynode.
Restart the video2ros app for the new calibration file to be applied.
Skynode should be restored to the state it was in before the calibration procedure was performed.
Stop the camera-calibration-service app.
In the video2ros app settings, set Use Custom Auto Exposure back to true.
Restart all other apps.
Setting | Value |
---|---|
Camera Topic
/camera/image_raw
Calibrate Camera
1
Pattern
chessboard
Size
8x6
Square Size
Width of one square on the checkerboard, as measured above, in metres.