Robotics StackExchange | Archived questions

Errors on camera_pose_calibration startup

Hi,

I'm trying to use cameraposecalibration 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 autostart for the C++ action server at [/tf2buffer_server]. You should always pass in false to avoid race conditions."

starts everything normally. But when I try to start calibrate2camera.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 [imagecbdetector/imagecbdetectoractionold]: can't locate node [imagecbdetectoractionold] in package [imagecbdetector]

(...)

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

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

(...)

Waiting for Server

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

/opt/ros/fuerte/stacks/camerapose/cameraposecalibration/src/cameraposecalibration/multicamcaptureexec.py /gscam /camera/rgb requestinterval:=intervalfiltered _name:=captureexec _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!

Asked by Pedro on 2012-09-04 23:42:40 UTC

Comments

Answers

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

Asked by jbohren on 2012-09-05 07:36:59 UTC

Comments

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

Asked by phil0stine on 2012-09-05 14:00:38 UTC

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

Asked by jbohren on 2012-09-05 16:56:29 UTC

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

Asked by Pedro on 2012-09-06 22:30:04 UTC

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.

Asked by jbohren on 2012-09-07 00:35:16 UTC

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.

Asked by Pedro on 2012-09-24 23:33:12 UTC

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

Asked by jbohren on 2012-09-25 01:38:10 UTC

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?

Asked by CHz on 2013-04-09 03:15:04 UTC

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

Asked by Athoesen on 2014-01-06 12:18:19 UTC