参考博客:https://blog.csdn.net/wuguangbin1230/article/details/77184032 点击打开链接
https://answers.ros.org/question/237451/run-rosdep-install-r-from-paths-error-when-i-install-iai_kinect2/点击 打开链接
在安装iai-kinect2操作这一步"rosdep install -r --from-paths ."出现了问题,错误如下:
lzm@lzm-pc:~/catkin_ws/src/iai_kinect2$ rosdep install -r --from-paths .ERROR: the following packages/stacks could not have their rosdep keys resolvedto system dependencies:kinect2_viewer: Cannot locate rosdep definition for [kinect2_bridge]kinect2_calibration: Cannot locate rosdep definition for [kinect2_bridge]kinect2_bridge: Cannot locate rosdep definition for [kinect2_registration]Continuing to install resolvable dependencies...All required rosdeps installed successfully
将命令改写为这个:
$ rosdep install --from-paths ~/catkin_ws/src/iai_kinect2 --ignore-src -r
All required rosdeps installed successfully
然后就可以解决问题了。
实在不行那就打开终端重新执行安装步骤,可能是误操作命令没输入全面导致的。