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