ZED Camera calibration file in YAML?

asked 2018-07-06 15:55:23 -0500

Ck gravatar image

I have ZED camera calibration file in .conf format. However the ROS node requires a .yaml file as input. I am not sure how to write an equivalent .yaml file.

edit retag flag offensive close merge delete

Comments

You've not mentioned which node requires the calib input and what format does it expect in the yaml file. The camera driver should be publishing the camera calibration parameters on the camera_info topic, you can try to use that as a reference.

kartikmohta gravatar image kartikmohta  ( 2018-07-06 20:27:17 -0500 )edit

True, the camera driver is publishing camera calibration parameters in camera_info but file format is .conf. However, When I try to run the camera node, it says unable to parse camera.yaml.

The reason seems to me is that camera.yaml is not present in camera_info, instead it has camera.conf.

Ck gravatar image Ck  ( 2018-07-09 10:00:05 -0500 )edit

It is the reason I want to write an equivalent yaml file. Or if it possible to automatically calibrate the camera and get the yaml calibration file.

Ck gravatar image Ck  ( 2018-07-09 10:01:13 -0500 )edit