参考ros官网上的双目相机标定教程camera_calibration/Tutorials/StereoCalibration - ROS Wiki,在使用以下安装命令时报错:
rosdep install camera_calibration
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
camera_calibration: Cannot locate rosdep definition for [sensor_msgs]
解决办法:
rosdep update --include-eol-distros
然后再次进行安装即可。
原因:使用的ubuntu和ros的版本太老,必须明确地要求rosdep在运行rosdep update时—include-eol-distros。