Ask Your Question
1

Camera pose calibration: couldn't find file camera_pose_calibration_cache.bag

asked 2011-08-08 02:19:57 -0500

Sébastien Ducatteeuw gravatar image

updated 2011-08-11 01:44:08 -0500

Hello,

as I followed the camera pose calibration tutorial, I had to include the following lines to my launch files that start up the cameras:

<include file="$(find camera_pose_calibration)/blocks/calibration_tf_publisher.launch"> <arg name="cache_file" value="/tmp/camera_pose_calibration_cache.bag" /> </include>

When I start the altered launch-files, I get the following message: Couldn't find file [/tmp/camera_pose_calibration_cache.bag]. Skipping publishing.

I am able to see the aggregated view of my two cameras and the checkerboard is recognized. However, when the bar below each image becomes green, there is no 'beep' sound, indicating that a calibration sample was captured.

I suppose the problem is the lack of my camera nodes finding the camera_pose_calibration_cache.bag. Is there anyone who has a solution?

Thanks in advance,

Sébastien

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2011-09-08 11:50:53 -0500

Wim gravatar image

The bag file is used to store the results of a previous calibration, so you still see your calibrated cameras in tf after you restart your launch files. This means that the first time you run the calibration, it is normal that the bag won't be there; this is not a problem.

To debug your problem, make sure you have rxconsole open when you're running the calibration, and see what kind of feedback you get. For further questions about the camera_pose_calibration, please start a new topic.

edit flag offensive delete link more

Comments

1

Hello, I am having same problem. The thing is that beside I don't hear any voice, the program does not save any file when I close it with CTRL+C. And I don't see any tf output on rxconsole. I have also checked for write permissions to the folders and they are ok. Could you please help me about this?

CHz gravatar image CHz  ( 2013-04-09 02:40:14 -0500 )edit

@CHz have you gotten this package to work successfully? I'm stuck on similar problems.

Athoesen gravatar image Athoesen  ( 2014-01-06 10:47:50 -0500 )edit

Yes, create a file named camera_pose_calibration_cache.bag and put the dir location in launch file. It'll fill it up for you ;)

CHz gravatar image CHz  ( 2014-01-06 11:28:09 -0500 )edit

Thanks! I'm also getting a bunch of other weird errors, I was wondering if anyone had dealt with them or had it running successfully on Hydro: http://answers.ros.org/question/115111/errors-in-camera_pose_calibration-launch-for-3-kinects/ Have any ideas? I'm new to ROS (started last semester).

Athoesen gravatar image Athoesen  ( 2014-01-06 11:32:47 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2011-08-08 02:19:57 -0500

Seen: 1,073 times

Last updated: Sep 08 '11