Linuxmint18.3安装kinect2驱动时报错...Cannot locate rosdep definition for[...]

按照Ubuntu16.04+ROS+Kinect2运行DSO教程,在安装kinect2驱动时,执行rosdep install -r --from-paths .时出现错误,报错如下:

zss@zss-virtual-machine ~/catkin_ws/src/iai_kinect2 $ rosdep install --from-paths -r -y --os=ubuntu:xenial .
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
kinect2_viewer: Cannot locate rosdep definition for [kinect2_bridge]
kinect2_bridge: Cannot locate rosdep definition for [kinect2_registration]
kinect2_calibration: Cannot locate rosdep definition for [kinect2_bridge]
iai_kinect2: Cannot locate rosdep definition for [kinect2_registration]
Continuing to install resolvable dependencies...
#All required rosdeps installed successfully

解决方法如下:

rosdep install --from-paths . --ignore-src -r -y --os=ubuntu:xenial

其中--os=ubuntu:xenial仅适用于在linuxmint18.3运行时使用,这部分可参见linuxmint18.3运行rosdep。

你可能感兴趣的:(Linuxmint18.3安装kinect2驱动时报错...Cannot locate rosdep definition for[...])