Skip to content

yubaoliu/DS-SLAM

 
 

Repository files navigation

Demo

https://www.bilibili.com/video/av59793400?from=search&seid=12598277376962486068

Build

Environment

  • Ubuntu 16.04 (Some problems in Ubuntu 18)
  • ROS Kinetic
  • Cuda 11.3
  • Cudnn 7
  • Caffe (SegNet)
  • Eigen 3
  • OpenCV 3
  • [optional] docker and nvidia-docker

Build and install caffe-segnet-cudnn5

git clone https://github.com/yubaoliu/caffe-segnet.git 
cd caffe-segnet
mkdir build
cd build
cmake .. -CMAKE_INSTALL_PREFIX=/usr/local
make & make install

Build DS-SLAM

git clone https://github.com/yubaoliu/DS-SLAM.git

ROS~PACKAGEPATH

export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:$HOME/catkin_ws/src/DS-SLAM/Examples/ROS/ORB_SLAM2_PointMap_SegNetM

Caffe Modle

segnet_pascal.caffemodel

http://mi.eng.cam.ac.uk/~agk34/resources/SegNet/segnet_pascal.caffemodel

or

gdlink 'https://drive.google.com/uc\?export\=download\&id\=1KzyEpaLovCyDKEj-LkAGTT6l-s3IRpSG' | xargs -n1 wget -c -O ./segnet_pascal.caffemodel

https://drive.google.com/file/d/1KzyEpaLovCyDKEj-LkAGTT6l-s3IRpSG/view?usp=sharing

Please download and place the folder in the same path with the folder of prototxts and tools.

Docker

docker-compose build
docker-compose up

Run

  • Enable display
xhost +local:root 
  • Build Octomap Server
cd /root/catkin_ws
source /opt/ros/kinetic/setup.zsh
catkin_make
source /root/catkin_ws/devel/setup.zsh
  • Build SLAM
cd /root/catkin_ws/src/DS-SLAM
DS_SLAM_BUILD.sh
  • Run demo Customize dataset and associate path in launch file
  • dataset
  • associate
  • model
roslaunch docker_demo.launch

About

No description, website, or topics provided.

Resources

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
License-gpl.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 93.5%
  • Python 5.0%
  • CMake 1.1%
  • Shell 0.4%