Re: rtabmap with octomap and hector slam

Posted by matlabbe on
URL: http://official-rtab-map-forum.206.s1.nabble.com/rtabmap-with-octomap-and-hector-slam-tp696p766.html

Hi,

You have to follow exactly the instructions from https://github.com/introlab/rtabmap_ros#build-from-source

Especially 2) where "rtabmap" libraries are cloned in a directory outside the catkin workspace. It uses plain cmake to build so if you clone in catkin_ws, you will have "catkin_make_isolated" error. Then install in your "devel" folder of your catkin_ws.

For rtabmap_ros, you should clone it in the "src" folder of your catkin workspace. Then "catkin_make" at the catkin workspace root should work. The "FindRTABMap.cmake" should be found by cmake if the "rtabmap" libraries are correctly installed in ~/catkin_ws/devel.

Well, the installation instructions assume that you have setup your ROS workspace using this tutorial. The workspace path is ~/catkin_ws and your ~/.bashrc contains:
source /opt/ros/indigo/setup.bash
source ~/catkin_ws/devel/setup.bash

The "source ~/catkin_ws/devel/setup.bash" will make able catkin_make to find RTAB-Map libraries installed in "~/catkin_ws/devel".

cheers