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

Errors on camera_pose_calibration startup [closed]

asked 2012-09-04 23:42:40 -0600

Pedro gravatar image

updated 2012-09-04 23:49:58 -0600

Hi,

I'm trying to use camera_pose_calibration to calibrate my Asus Xtion depth camera to a RGB camera. I calibrated both cameras and the launch file, except for this warning

"[ WARN] [1346835528.616595129]: You've passed in true for auto_start for the C++ action server at [/tf2_buffer_server]. You should always pass in false to avoid race conditions."

starts everything normally. But when I try to start calibrate_2_camera.launch I get several errors and the window with the aggregated image is completely gray.

The errors that I get on start up:

(...)

process[gscam/image_throttle-1]: started with pid [28989]

ERROR: cannot launch node of type [image_cb_detector/image_cb_detector_action_old]: can't locate node [image_cb_detector_action_old] in package [image_cb_detector]

(...)

process[camera/rgb/image_throttle-6]: started with pid [29026]

ERROR: cannot launch node of type [image_cb_detector/image_cb_detector_action_old]: can't locate node [image_cb_detector_action_old] in package [image_cb_detector]

(...)

Waiting for Server

[capture_exec-14] process has died [pid 29139, exit code 1, cmd

/opt/ros/fuerte/stacks/camera_pose/camera_pose_calibration/src/camera_pose_calibration/multicam_capture_exec.py /gscam /camera/rgb request_interval:=interval_filtered __name:=capture_exec __log:=/home/pedro/.ros/log/f9a20192-f736-11e1-9b2b-848f69c97a70/capture_exec-14.log].

log file: /home/pedro/.ros/log/f9a20192-f736-11e1-9b2b-848f69c97a70/capture_exec-14*.log

Found Server

(...)

Creating aggregator for ['/gscam', '/camera/rgb']

ERROR [1346837613.386631463]: Unable to convert '8UC3' image to bgr8: 'Unsupported conversion from [8UC3] to [bgr8]'

And then this last one keeps repeating periodically. This happens both with the built in RGB camera and an external RGB camera.

Do you have any idea why this happens? If you need more information, please ask.

Thanks in advance!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Pedro
close date 2012-09-26 21:11:20

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-09-05 07:36:59 -0600

jbohren gravatar image

updated 2012-09-05 16:56:46 -0600

I've patched a lot of bugs in a fork of camera_pose that you can grab here. It appears to work, though the calibration that I got wasn't very good.

Try that and see if you keep getting the same image type conversion errors.

I've created a ticket with e reference to these bugs: https://kforge.ros.org/calibration/trac/ticket/10

edit flag offensive delete link more

Comments

check the link, i'm stuck in an infinite loop :)

phil0stine gravatar image phil0stine  ( 2012-09-05 14:00:38 -0600 )edit

Haha.... yes. Wrong pastebuffer... https://kforge.ros.org/calibration/trac/ticket/10

jbohren gravatar image jbohren  ( 2012-09-05 16:56:29 -0600 )edit

Thanks for the reply. The errors during launch no longer exist, but the type conversion error remains...

Pedro gravatar image Pedro  ( 2012-09-06 22:30:04 -0600 )edit

Well that's progress at least. I think the issue is with the way you're using gscam. Do you think you could close this one and open another ticket specifically about the last error? This way people will be able to find it more easily.

jbohren gravatar image jbohren  ( 2012-09-07 00:35:16 -0600 )edit

Sure. But I don't think the problem comes from gscam because this also happens when I use a bag file recorded with the built-in RGB camera.

Pedro gravatar image Pedro  ( 2012-09-24 23:33:12 -0600 )edit

Right, I guess I meant close this _question_ and ask another question, not ticket, precisely because the problem might be unrelated.

jbohren gravatar image jbohren  ( 2012-09-25 01:38:10 -0600 )edit

I have a problem that the program does not create any bag file after process is done and telling me file not found, skipping publishing. I think the problem comes from calibration_tf_publisher.launch, mysaver. Do you give an existing path for bag file in main launch file when you call to run camera?

CHz gravatar image CHz  ( 2013-04-09 03:15:04 -0600 )edit

Do you know if they ever fixed these Camera_pose errors? I'm still getting the same errors appearing.

Athoesen gravatar image Athoesen  ( 2014-01-06 11:18:19 -0600 )edit

Question Tools

3 followers

Stats

Asked: 2012-09-04 23:42:40 -0600

Seen: 654 times

Last updated: Sep 05 '12