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

[image_cb_detector_action_old] doesn't exist for camera_pose_calibration, how to work around?

asked 2014-01-08 09:50:01 -0600

Athoesen gravatar image

updated 2016-10-24 09:03:13 -0600

ngrennan gravatar image

[image_cb_detector_action_old] doesn't exist for camera_pose_calibration and it will not allow me to use the calibrator. Is there a known work-around? I know there's a but I know there's a [image_cb_detector_action] but I'm unable to make it work. I'm trying to get 3 Kinects to work in Hydro and publish a transform between them in Rviz.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-01-28 06:24:34 -0600

Arrakis gravatar image

camera_pose_calibration has been hopelessly broken for a long time. Due to the official version not working, there was a git hub fork that fixed some of the bugs: http://answers.ros.org/question/69655/what-happened-to-the-stack-camera_pose-in-groovy/#76681

However, I have had no success with the fork either and had to resort to Matlab's camera calibration toolbox. It's strange that there's no "upper level" push to fix such an important tool, but there clearly isn't.

edit flag offensive delete link more

Comments

1

If you don't get the cv_bridge errors with the github version, this additional code is needed if you want to calibrate the Kinect IR camera http://answers.ros.org/question/55524/asus-extrinsic-calibration-failing-on-ir-image/

Arrakis gravatar image Arrakis  ( 2014-01-29 03:18:47 -0600 )edit

Will this work in ROS Hydro though?

Athoesen gravatar image Athoesen  ( 2014-01-30 15:43:01 -0600 )edit
1

I run groovy and with a lot of patience and debugging I got it to work. I have not tried Hydro. The last updates to the Git hub code are over a year ago, so I would not be surprised if it didn't work. However, this code is the only available ROS tool to calibrate the extrinsic matrix.

Arrakis gravatar image Arrakis  ( 2014-02-05 05:42:33 -0600 )edit
1

Yes, which I find incredibly frustrating. As someone who has been trying to run this on Hydro only to find out it's hopelessly busted, I'm basically starting from scratch. Would you suggest going the Groovy route or the Matlab route? I need to have SOMETHING to show in 3 weeks...

Athoesen gravatar image Athoesen  ( 2014-02-06 05:55:32 -0600 )edit

http://pastebin.com/rxgw6LbK I quickly created a diff of my changes to capture_monitor.py from the Git hub link to remove the 8UC3 bug. This is *not* a general fix. It's designed for specifically for my Kinect setup. However, maybe this and, if using Kinect, the intensity changing node, can help

Arrakis gravatar image Arrakis  ( 2014-02-06 07:09:03 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2014-01-08 09:50:01 -0600

Seen: 328 times

Last updated: Jan 28 '14