# ROS Calibration Camera Problems

I am trying to calibrate a monocular camera using ROS with the help of this website: How to Calibrate a Monocular Camera. When I run rostopic list, I get:

/left
/right
/rosout
/rosout_agg
/usb_cam/image


When I run rosservice list, I get:

/cameracalibrator/get_loggers
/cameracalibrator/set_logger_level
/rosout/get_loggers
/rosout/set_logger_level


Finally, when I run:

rosrun camera_calibration cameracalibrator.py --size 10x7 --square 0.025 image:=/usb_cam/image camera:=/usb_cam


It says:

('Waiting for service', '/usb_cam/set_camera_info', '...')


I even added the parameter at the end, --no-service-check, but that just makes the terminal stall indefinitely.

Could someone please help me figure out what is going wrong and how I can fix it? Also if it is important, usb_cam is saved at catkin_ws/src/usb_cam.

I got the problem fixed, apparently my camera was not "on", and it only turned on after I ran the .launch test file right before I do the calibration. Also it should be image_raw, not image in the command.

• In that case, it's perfectly fine to tag your own answer as "the good answer". It makes sure that the question gets marked as "answered" in the SE system. Jul 27, 2015 at 17:23

It looks the answer you seek may have already been answered on the ROS website.

Specifically, a bug in the camera driver in that it is not advertising the proper service.

• So how would I get around this bug? I'm sorry, I am very new to ROS.
– K S
Jul 7, 2015 at 18:40
• So I ran the roslaunch usb_cam-test.launch command, and then ran the same command as above specified. This time after the Waiting message, it says OK and then stalls, with and without the parameter at the end.
– K S
Jul 7, 2015 at 19:30
• I'm not sure how you would get around it. My advice is to ask on that other forum, where people seem much more knowledgable on that particular topic.
– Ian
Jul 7, 2015 at 20:04