2014-11-05 402 views
1

今天当我试图按照此website上的说明操作时。我遵循所有说明,包括在我的系统上下载ROS库,这是Ubuntu 14.10,安装软件包并设置环境。可是,我停在使用rosdep安装时缺少资源

$ 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但它仍然不起作用。谁能告诉我发生了什么事?我该怎么做?

谢谢

回答

1

这只是一个建议,我宁愿评论,但我不能。

您是否尝试过直接安装缺失的软件包? apt-get install ros-*-ardrone-autonomy,在那里你必须与你的ROS版本替换 '*'(如apt-get install ros-indigo-ardrone-autonomy

+0

帮助我解决与'喜悦'包类似的问题。 – Bumbolt 2014-11-24 14:18:48

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/