How do i pass camera calibration to camera1394stereo

asked 2016-03-23 09:28:11 -0500

215 gravatar image

updated 2016-03-24 03:26:08 -0500

Hi. I am using the camera1394 to interface my stereo camera, but seem to have some issues with passing my two yaml files consisting of the calibration of left and right image frame.

it seem to be possible within the launch file stereo_camera_full.launch to pass the path for both files, but the output image isn't getting rectified. What could be wrong?

The yaml for the left camera looks like this

image_width: 1024
image_height: 768
camera_name: 00b09d010081dfed_left
camera_matrix:
  rows: 3
  cols: 3
  data: [1316.323891, 0.000000, 495.064953, 0.000000, 1315.460351, 402.329771, 0.000000, 0.000000, 1.000000]
distortion_model: plumb_bob
distortion_coefficients:
  rows: 1
  cols: 5
  data: [-0.458174, 0.447407, 0.000943, 0.000848, 0.000000]
rectification_matrix:
  rows: 3
  cols: 3
  data: [0.999007, -0.001112, -0.044545, 0.001032, 0.999998, -0.001817, 0.044547, 0.001769, 0.999006]
projection_matrix:
  rows: 3
  cols: 4
  data: [1297.706317, 0.000000, 566.988556, 0.000000, 0.000000, 1297.706317, 404.590614, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000]
edit retag flag offensive close merge delete

Comments

Are you using these directions? http://wiki.ros.org/camera1394/Tutori...

joq gravatar image joq  ( 2016-03-23 10:44:42 -0500 )edit

Are you using camera1394 or camera1394stereo? Where did you find stereo_camera_full.launch?

joq gravatar image joq  ( 2016-03-23 10:48:13 -0500 )edit
215 gravatar image 215  ( 2016-03-23 13:59:20 -0500 )edit

That package is different from camera1394, so I added that tag to your question. Hopefully, those maintainers will see it now.

joq gravatar image joq  ( 2016-03-23 14:35:08 -0500 )edit

it's right, to get rectified image you should run the stereo_image_proc node.The stereo_camera_full.launch just publish the yaml file.

qqwrz114 gravatar image qqwrz114  ( 2016-04-16 21:10:34 -0500 )edit