2014-11-05 398 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/