RGBDSLAM is a RGB-D loop-closure graph-based SLAM approach using visual odometry and custom implementations of opencv methods
This section requires the catkin_ws to be initialized and the turtlebot_dabit package created.
Please click here to learn how to initialize the catkin workspace
This process has to be done on both master and turtlebot computers.
Download rgbdslam_v2 and configure dependencies
cd ~/catkin_ws/src
git clone -b kinetic https://github.com/felixendres/rgbdslam_v2 rgbdslam
sudo apt remove ros-kinetic-libg2o libqglviewer-dev
sudo apt install cmake libeigen3-dev libsuitesparse-dev
cd ~/catkin_ws/src
git clone -b c++03 https://github.com/felixendres/g2o.git
mkdir g2o/build
cd g2o/build
cmake .. -DCMAKE_INSTALL_PREFIX=../install -DG2O_BUILD_EXAMPLES=OFF
nice make -j4 install
nice make -j4 install
command againsource ~/catkin_ws/devel/setup.sh
rosdep update
rosdep install rgbdslam
export G2O_DIR=~/catkin_ws/src/g2o/install
cd ~/catkin_ws
catkin_make
On the Turtlebot laptop:
source ~/catkin_ws/devel/setup.sh
export G2O_DIR=~/catkin_ws/src/g2o
roslaunch rgbdslam headless.launch
On the master laptop, start the rgbdslam interface:
source ~/catkin_ws/devel/setup.sh
rosrun rgbdslam rgbdslam
Coming soon, we are working out the best parameters to use with this Turtlebot setup
-