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:


When I run rosservice list, I get:


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', '...')
Service not found

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.


2 Answers 2


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.

  • $\begingroup$ 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. $\endgroup$ 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.

  • $\begingroup$ So how would I get around this bug? I'm sorry, I am very new to ROS. $\endgroup$
    – K S
    Jul 7, 2015 at 18:40
  • $\begingroup$ 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. $\endgroup$
    – K S
    Jul 7, 2015 at 19:30
  • $\begingroup$ 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. $\endgroup$
    – Ian
    Jul 7, 2015 at 20:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.