Robotics StackExchange | Archived questions

ROS cant find cameracalibrator.py

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/cameracalibration" it does however exist in "/opt/ros/melodic/lib/cameracalibration"

What is wrong?

Asked by 321thijs123 on 2021-04-14 11:04:51 UTC

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_make https://github.com/ros-perception/image_pipeline

Asked by JeremieBourque on 2021-04-14 20:47:30 UTC

Answers