ROS cant find cameracalibrator.py

asked 2021-04-14 11:31:44 -0600

321thijs123 gravatar image

I did a fresh install of Ubuntu 18.04 on an Nvidia Jetson Nano and installed ros-melodic-desktop-full I have set up a catkin workspace with packages for the open_ anipulator, these all run fine. Now I need to calibrate my camera, I try to start camera calibration by executing:

rosrun camera_calibration cameracalibrator.py --size 7x5 --square 0.03 image:=usb_cam/image_raw

It gives me this error:

[rosrun] Couldn't find executable named cameracalibrator.py below /opt/ros/melodic/share/camera_calibration

cameracalibrator.py does indeed not exist below "/opt/ros/melodic/share/camera_calibration" it does however exist in "/opt/ros/melodic/lib/camera_calibration"

What is wrong?

edit retag flag offensive close merge delete

Comments

Try installing camera_calibration with apt: ros-melodic-camera-calibration If that doesn't work, maybe try compiling it from source by cloning the repo into your catkin workspace and doing catkin_makehttps://github.com/ros-perception/ima...

JeremieBourque gravatar image JeremieBourque  ( 2021-04-14 20:47:30 -0600 )edit