命令安装依赖的时候出现了,如下错误: ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: rbx1_speech: Cannot locate rosdep definition for [pocketsphinx]

原来步骤和命令:
克隆或下载你想要的教学包到工作空间的/src目录下,例如 ~/catkin_ws/src

cd ~/catkin_ws/src
git clone https://github.com/xxxxxx.git
安装教学包所需的依赖

cd ~/catkin_ws
rosdep install --from-paths src --ignore-src --rosdistro=kinetic -y
在使用rosdep install --from-paths src --ignore-src --rosdistro=kinetic -y
命令安装依赖的时候出现了,如下错误:
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
rbx1_speech: Cannot locate rosdep definition for [pocketsphinx]

解决:
把:rosdep install --from-paths src --ignore-src --rosdistro=kinetic -y
改成:rosdep install --from-paths ~/catkin_ws/src/xxxxxxxx --ignore-src -r

最后你发现#All required rosdeps installed successfully的提示,成功解决

posted @ 2020-07-01 21:31  Wildcraner  阅读(6106)  评论(0)    收藏  举报