How to calibrate a fake camera?

asked 2020-06-12 03:03:33 -0500

Konye gravatar image

updated 2020-06-12 03:05:33 -0500

Hello everyone. I have developed a fake camera in a simulation world for depth image providing and I would like to use the image with 'depthimage_to_laserscan' package for slam/navigation.

What I have now are the features for the camera in physics and the rendered depth images according to the coordinates between the objects hence there is no distortions for the images which is different to a physical camera.

The scan package works with a camera info topic that defines the meta information for the camera, thus it gives nothing as it should be without setting the calibration matrix (default 0 values).

In this case. How to set calibration matrices for a camera without distortion? Should I calibrate such a fake camera but how ? Create a fake checkerboard?

Thank you!

edit retag flag offensive close merge delete

Comments

Were you able to find a solution?

jorgemia gravatar image jorgemia  ( 2020-07-14 05:46:02 -0500 )edit

Thank you for your concern @jorgemia. I have found it and there are 2 solutions. There are to create a 1:1 simulation Checkerboard in the simulation and then run the calibration package or define the matrics by yourself based on the meaning within it. They both work well.

Konye gravatar image Konye  ( 2020-07-14 05:55:11 -0500 )edit