- 执行roscd rgbdslam却没有跳转到rgbdslam_freiburg文件夹下的rgbdslam,这是因为没有在ROS_PACKAGE_PATH环境变量中增加/home/f2/fuerte_workspace/rgbdslam_freiburg:路径。利用export ROS_PACKAGE_PATH=/home/f2/fuerte_workspace/rgbdslam_freiburg:$ROS_PACKAGE_PATH
- 在执行命令rosdep install rgbdslam_freiburg后出现错误:
- ERROR: the following packages/stacks could not have their rosdep keys resolved
- to system dependencies:
- rgbdslam: Missing resource octomap_server
- ROS path [0]=/opt/ros/fuerte/share/ros
- ROS path[1]=/home/f2/fuerte_workspace/rgbdslam_freiburg
- ROS path[2]=/home/f2/fuerte_workspace/sandbox
- ROS path [3]=/opt/ros/fuerte/stacks
- ROS path [4]=/opt/ros/fuerte/share
- ROS path [5]=/opt/ros/fuerte/share/ros
- ROS path [6]=/opt/ros/fuerte/share
- ROS path [7]=/opt/ros/fuerte/stacks
- 解析:Octomap并不是ubuntu系统默认安装的库,同时在ROS自带的库中也没有找到它,所以就是could not resolved.可见octomap并不是一个通用包,是一个特定用途的软件,那么手动安装它就好了:
- 解决方法:执行命令sudo apt-get install ros-fuerte-octomap-mapping即可。