インストールiai-kinect 2とERROR:the following packages/stacks could not have their rosdep keys resolved to..

5539 ワード

参考ブログ: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-kinect 2操作をインストールするには「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 resolved

to 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

そして問題を解決することができます.
どうしてもだめなら端末を開けてインストール手順を再実行し、誤操作コマンドが入力されなかったためかもしれません.