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/srcgit clone -b kinetic https://github.com/felixendres/rgbdslam_v2 rgbdslamsudo apt remove ros-kinetic-libg2o libqglviewer-devsudo apt install cmake libeigen3-dev libsuitesparse-devcd ~/catkin_ws/srcgit clone -b c++03 https://github.com/felixendres/g2o.gitmkdir g2o/buildcd g2o/buildcmake .. -DCMAKE_INSTALL_PREFIX=../install -DG2O_BUILD_EXAMPLES=OFFnice make -j4 install
nice make -j4 install command againsource ~/catkin_ws/devel/setup.shrosdep updaterosdep install rgbdslamexport G2O_DIR=~/catkin_ws/src/g2o/installcd ~/catkin_wscatkin_makeOn the Turtlebot laptop:
source ~/catkin_ws/devel/setup.shexport G2O_DIR=~/catkin_ws/src/g2oroslaunch rgbdslam headless.launchOn the master laptop, start the rgbdslam interface:
source ~/catkin_ws/devel/setup.shrosrun rgbdslam rgbdslamComing soon, we are working out the best parameters to use with this Turtlebot setup
-