Camera calibration

asked 2015-03-23 13:29:24 -0500

Pappercut gravatar image

I have two ROS distributions. A groovy running on Raspberry PI and an Indigo running on my desktop. I'm trying to calibrate Raspberry camera using my desktop ROS, but have an issue. Calibration doesn't do anything. No error message, nothing. Since it's my third week using ROS, I'm not sure what exactly I'm doing wrong:

bogder@xenia:~$ rosrun camera_calibration cameracalibrator.py --size 9x7 --square 0.019 image:=/camera/image camera:=/camera
('Waiting for service', '/camera/set_camera_info', '...')
OK

The image is being published by Raspberry, I can take a look at it using image_view.

A part of my rostopic list:

/camera/camera_info
/camera/image/compressed

I would appreciate any help.

edit retag flag offensive close merge delete

Comments

Which one is running the roscore? Does rqt_image_view/image_view work on the Indigo PC to see the image from the Pi? Can you run a node on the Indigo side that subscribes to the image and republishes it, and then have the calibrator use that republished image?

lucasw gravatar imagelucasw ( 2015-03-25 17:31:23 -0500 )edit

Desktop with Indigo is running roscore. And yes, I can see the image using image_view on the Indigo PC. I didn't try to republish it though. Wouldn't the messages be the same?

Pappercut gravatar imagePappercut ( 2015-03-25 18:54:28 -0500 )edit