帮助我在.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:请检查最新的编辑。 –