ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
2

where is the calibration info of usb_cam?

asked 2012-10-07 23:33:06 -0500

bobliao gravatar image

updated 2012-10-08 22:36:47 -0500

i have used camera_calibration to generate my desired calibration info . but ,how can i apply this data to my application. i can see the original calibration info by

" rostopic echo /usb_cam/camera_info".
and how can i find the location of the "/usb_cam/camera_info",

then edit it by replacing by the previous calibration.

in a word,where does my camera driver store its calibration information ? thanks!!!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2012-10-09 18:22:58 -0500

Mani gravatar image

The standard place to put the camera calibration file is in ~/.ros/camera_info/. For example the camera calibration node will export the calibration result for usb_cam to ~/.ros/camera_info/usb_cam.yaml.

edit flag offensive delete link more

Comments

I use the usb_cam driver, I calibrated the camera, but I don't have a camera_info folder in ~/.ros.

ZoltanS gravatar image ZoltanS  ( 2013-05-15 11:19:25 -0500 )edit

You have to calibrate the camera using camera_calibration (see http://www.ros.org/wiki/camera_calibration/Tutorials/MonocularCalibration) and then generate the yaml file using camera_calibration_parsers (see http://www.ros.org/wiki/camera_calibration_parsers). Copy the yaml file into that folder.

Josh Whitley gravatar image Josh Whitley  ( 2013-07-13 05:42:38 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2012-10-07 23:33:06 -0500

Seen: 6,231 times

Last updated: Oct 09 '12