幫助我在.bashrc
添加ROS_PACKAGE_PATH問題。需要設置的.bashrc
export ROS_PACKAGE_PATH="/home/kathir/ORB_SLAM":${ROS_PACKAGE_PATH}
和期間的ORB_SLAM
cmake
我得到這個錯誤。
ORB_SLAM cloned path : "/home/kathir/ORB_SLAM"
我在"/home/kathir/catkin_ws/devel/setup.bash"
中有另一個工作區。 bashrc
因爲我使用ROS
爲ARDRONE
。
CMake Error at /opt/ros/indigo/share/ros/core/rosbuild/private.cmake:102 (message):
[rosbuild] rospack found package "ORB_SLAM" at "", but the current
directory is "/home/kathir/ORB_SLAM". You should double-check your
ROS_PACKAGE_PATH to ensure that packages are found in the correct
precedence order.
下面檢查進一步信息
[email protected]:~/ORB_SLAM/build$ source .bashrc
bash: .bashrc: No such file or directory
[email protected]:~/ORB_SLAM/build$ $ROS_PACKAGE_PATH
bash: /opt/ros/indigo/share:/opt/ros/indigo/stacks:M$:: No such file or directory
你將用'export'線後做'源.bashrc'? – Inian
'/ home/kathir/ORB_SLAM'已經在你的'ROS_PACKAGE_PATH'中了嗎?把'echo「$ ROS_PACKAGE_PATH」'放在'export'之前,看看你得到了什麼。 – cxw
@Inian:請檢查最新的編輯。 –