今天,当我试着按照这个website上的说明去做的时候。我遵循了所有的说明,包括在我的系统上下载ROS库,安装软件包和设置环境。然而,我停在
$ 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,但它仍然不能工作。有人能告诉我这是怎么回事吗?我该怎么做?
谢谢
发布于 2014-11-06 07:13:49
这只是一个建议,我想发表评论,但我不能。
你有没有尝试过直接安装缺失的软件包?apt-get install ros-*-ardrone-autonomy,你必须用你的ROS版本替换'*‘(例如apt-get install ros-indigo-ardrone-autonomy)
发布于 2015-04-27 12:15:33
来自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/。
https://stackoverflow.com/questions/26767677
复制相似问题