Search code examples
roscamera-calibration

Couldn't find executable named camaracalibrator.py [ROS]


I am new to ROS and its developing. By following this link. i try to calibrate uvc camera. Installation of calibration package and Installation of uvc_camera package are done. After i try to run

rosrun camera_calibration camaracalibrator.py --size 8x6 --square 0.025 image: = / image_raw

i get following errors . Any help is appreciated. Thank you in advance

rosrun camera_calibration camaracalibrator.py --size 8x6 --square 0.025 image: = / image_raw
[rosrun] Couldn't find executable named camaracalibrator.py below /opt/ros/kinetic/share/camera_calibration

Solution

  • camaracalibrator.py is not spelled correctly. Change it to cameracalibrator.py.

    rosrun camera_calibration cameracalibrator.py --size 8x6 --square 0.025 image:=/image_raw
    

    Try to use the autocompletion (by double hitting TAB during input) to prevent problems like this in future.