How do i pass camera calibration to camera1394stereo
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]
Are you using these directions? http://wiki.ros.org/camera1394/Tutori...
Are you using
camera1394
orcamera1394stereo
? Where did you findstereo_camera_full.launch
?This is the one i use http://wiki.ros.org/camera1394stereo
That package is different from
camera1394
, so I added that tag to your question. Hopefully, those maintainers will see it now.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.