ethz-asl / kalibr

The Kalibr visual-inertial calibration toolbox
Other
4.39k stars 1.41k forks source link

Node kalibr_calibrate_rs_cameras is broken in master #409

Closed marcelino-pensa closed 3 years ago

marcelino-pensa commented 3 years ago

I tried to execute rosrun kalibr kalibr_calibrate_rs_cameras, but the following shows up:

[rosrun] Couldn't find executable named kalibr_calibrate_rs_cameras below /home/marcelino/catkin_ws/src/kalibr/aslam_offline_calibration/kalibr
[rosrun] Found the following, but they're either not files,
[rosrun] or not executable:
[rosrun]   /home/marcelino/catkin_ws/src/kalibr/aslam_offline_calibration/kalibr/python/kalibr_calibrate_rs_cameras

I was able to run this node in an older branch. In specific, it worked after I switched to git checkout pr_261

marcelino-pensa commented 3 years ago

I fixed it by:

cd ~/kalibr_workspace/src/Kalibr/aslam_offline_calibration/kalibr/python
chmod +x+u kalibr_calibrate_rs_cameras

Then open the file ~/kalibr_workspace/src/Kalibr/aslam_offline_calibration/kalibr/python/kalibr_calibrate_rs_cameras and delete the line import cv