使用rosdep安装时缺少资源

时间:2014-11-05 21:42:24

标签: linux dependencies ros drone

今天,当我尝试按照website上的说明操作时。我按照所有说明操作,包括在我的系统上下载ROS库,即Ubuntu 14.10,安装包和设置环境。但是,我停在了

$ cd ${IBVS_STACK}
$ source setup.sh
$ rospack profile
$ rosdep update
$ cd ${IBVS_WORKSPACE}/src/extStack
$ rosdep install ardrone_autonomy

当我试图跑

 $ rosdep install ardrone_autonomy

显示

ERROR: Rosdep cannot find all required resources to answer your query 
Missing resource ardrone_autonomy

而ardrone_autonomy正好位于我的目录〜/ src / extStack中。我尝试使用export ROS_PACKAGE_PATH=~/src/extStack/ardrone_autonomy,但它仍然无效。任何人都可以告诉我这件事发生了什么,我应该怎么做?

由于

2 个答案:

答案 0 :(得分:1)

这只是一个建议,我更愿意发表评论,但我不能。

您是否尝试直接安装丢失的软件包? apt-get install ros-*-ardrone-autonomy,您需要将“*”替换为您的ROS版本(例如apt-get install ros-indigo-ardrone-autonomy

答案 1 :(得分:0)

来自http://answers.ros.org/question/75241/install-ros-dependencies-from-apt/?answer=75262#post-id-75262(稍加修改):

If you have a catkin CATKIN_WORKSPACE with some sources checked out and you want all the rosdep dependencies installed use the following

    rosdep install --from-paths CATKIN_WORKSPACE --ignore-src --rosdistro=ROSDISTRO

那就是说,我建议你的情况:

cd %CATKIN_WORKSPACE%
rosdep install --from-paths WORKSPACE --ignore-src --rosdistro=ROSDISTRO

此外,ROS有自己非常活跃的论坛http://answers.ros.org/

相关问题