Giter VIP home page Giter VIP logo

sp_orb_slam's Introduction

SP_ORB_SLAM

Build Status LICENSE

Using Learnt Features in Indirect Visual SLAM. [project]

Paper and Video

Related publication:

@inproceedings{hyhuang2020rdvo,
  title={Monocular Visual Odometry using Learned Repeatability and Description},
  author={Huaiyang Huang, Haoyang Ye, Yuxiang Sun and Ming Liu},
  booktitle={IEEE International Conference on Robotics and Automation (ICRA)},
  year={2020},
  organization={IEEE}
}

Demo videos:

gmmloc

Prerequisites

We have tested this library in Ubuntu 18.04 with CUDA 9.2 and cuDNN 7.6. Prerequisites for installation:

  1. ROS (ros-base is enough)
apt-get install ros-melodic-ros-base
  1. miscs for installation:
apt-get install python-wstool python-catkin-tools 
  1. OpenCV3
apt-get install libopencv-dev
  1. CUDA tookit, cuDNN (change the version of libtorch in install.sh according to CUDA version)

  2. Pangolin (optional, for visualization)

  3. evo (optional, for evaluation)

pip install evo --upgrade --no-binary evo

Installation

Initialize a workspace:

mkdir -p /EXAMPLE/CATKIN/WORK_SPACE
cd /EXAMPLE/CATKIN/WORK_SPACE

mkdir src
catkin init
catkin config --extend /opt/ros/melodic
catkin config --cmake-args -DCMAKE_BUILD_TYPE=Release
catkin config --merge-devel

Clone the code:

cd src
git clone [email protected]:hyhuang1995/sp_orb_slam.git

Use the installation script:

cd sp_orb_slam
./install.sh

Running Examples

We provide examples on the New Tsukuba and the EuRoC MAV dataset. To run the demo on the New Tsukuba sequences:

  1. Download the dataset

  2. Replace the /PATH/TO/TSUKUBA/DATASET in tsukuba.launch with where the sequence is decompressed:

<param name="data_path" value="/PATH/TO/TSUKUBA/DATASET" />
  1. Launch:
roslaunch tsukuba.launch seq:=lamps

To run the demo on the EuRoC MAV dataset:

  1. Download the sequences (ASL Format)

  2. Replace the /PATH/TO/EUROC/DATASET/ in euroc_mono.launch with where the sequence is decompressed:

<param name="data_path" value="/PATH/TO/EUROC/DATASET/$(arg seq)/mav0/" />
  1. Launch:
roslaunch euroc_mono.launch seq:=MH_05_difficult

The output trajectories would be saved to orb_ros/expr.

Evaluation

If evo is installed, we provide scripts for evaluating the VO performances.

roscd orb_ros
./scripts/evaluate_tsukuba.sh

or

./scripts/evaluate_euroc.sh

and the results would be saved to orb_ros/expr.

Credits

Our implementation is built on top of ORB-SLAM2, see the license in the source files for more details. The authors would like to thank Raul et al. for their great work.

sp_orb_slam's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.