iai_kinect2: Cannot locate rosdep definition for [kinect2_registration]

安装iai_kinect2时执行命令

 rosdep install -r --from-paths .

出现问题

ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
iai_kinect2: Cannot locate rosdep definition for [kinect2_registration]
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]

解决方法:

在path后加上要安装文件的路径

例如我的:

rosdep install -r --from-paths ~/catkin_ws/src/iai_kinect2 --ignore-src -r

之后就会出现#All required rosdeps installed successfully
安装成功

posted @ 2022-03-15 20:51  楸壳  阅读(416)  评论(0编辑  收藏  举报