Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

calibrating individual webcams as stereo

Hi, My ubuntu is 12.04 and im using ROS fuerte I would like to calibrate 2 individual external webcams (Microsoft HD) as stereo camera. I used the package named as camera_calibration that is available from the repository

This requires me to run the camera driver node that publishes right and left image topics. I tried to use the usb_cam package which is also available in the repository. In the file usb_cam_node.cpp under usb_cam/usb_cam/src, i couldnt not find anything as stereo mode or could not see the left and right image topics being published. I saw that uvc_cam supports this stereo mode and publishes right and left images. But i read somewhere to use usb_cam over uvc_cam for stereo calibration.

Could you please tell me how to use usb_cam as stereo mode to publish left and right images, or if not should i be using only uvc_cam?

Also i have another question which is out of context of this discussion. I have created a ROS overlay worskapce using rosws. Then i sourced the setup.bash in this new workspace. Now i have a package named as camera_calibration that has been downloaded to my workspace managed by rosws. The original location is /opt/ros/fuerte/stacks/image_pipeline/camera_calibration. Despite multiple times of resourcing the setup.bash at my workspace, when i enter the command roscd camera_calibration it goes by default to the /opt/... folder rather than coming to the one local in my workspace. I would also note that this happens only for the camera_calibration package. There is another package called as usb_cam that is being indexed directly when i use roscd usb_cam. Please tell me how to solve this problem.

Thanks in advance