GithubHelp home page GithubHelp logo

ldso's Introduction

LDSO: Direct Sparse Odometry with Loop Closure

正在注释中,不是完整版,主要进行mapping & loop

Related Publications

  • LDSO: Direct Sparse Odometry with Loop Closure, X. Gao, R. Wang, N. Demmel, D. Cremers, In International Conference on Intelligent Robots and Systems (IROS), 2018.
  • Direct Sparse Odometry, J. Engel, V. Koltun, D. Cremers, In IEEE Transactions on Pattern Analysis and Machine Intelligence (PAMI), 2018
  • A Photometrically Calibrated Benchmark For Monocular Visual Odometry, J. Engel, V. Usenko, D. Cremers, In arXiv:1607.02555, 2016

Dependencies

System dependencies

There is a convenience script that will help you install the needed libraries in Ubuntu 16.04 and later, including Eigen, glog, gtest, Suitesparse, OpenCV, libzip.

./install_dependencies.sh

On OSX you can install these via Homebrew.

Other libraries

Compile and install Pangolin for visualization.

Compile

./make_project.sh

This will build the thirdparty library and also ldso library for you. You can also follow the steps in this script manually (will compile DBoW3 and g2o first, and the ldso).

Run

We provide examples on three datasets.

You can easily extend them in the examples folder or add your own executables for your camera or dataset.

After compilation, in the bin directory there will be three executables like run_dso_xxx. You can either specify the directories in the source file like examples/run_dso_xxx.cc, or pass them as command line parameters. When running LDSO, you will see a window showing an visualization of camera trajectory and tracked points.

Make sure your working directory is at the root of LDSO code, to ensure that files like the BoW vocabulary file are found.

TUM-Mono:

To run LDSO on TUM-Mono dataset sequence 34, execute:

./bin/run_dso_tum_mono \
    preset=0 \
    files=XXXXX/TUMmono/sequences/sequence_34/images.zip \
    vignette=XXXXX/TUMmono/sequences/sequence_34/vignette.png \
    calib=XXXXX/TUMmono/sequences/sequence_34/camera.txt \
    gamma=XXXXX/TUMmono/sequences/sequence_34/pcalib.txt

Kitti:

To run LDSO on Kitti dataset sequence 00, execute:

./bin/run_dso_kitti \
    preset=0 \
    files=XXXXX/Kitti/odometry/dataset/sequences/00/ \
    calib=./examples/Kitti/Kitti00-02.txt

EuRoC:

To run LDSO on EuRoC dataset sequence MH_01_easy, execute:

./bin/run_dso_euroc \
    preset=0 \
    files=XXXX/EuRoC/MH_01_easy/mav0/cam0/

Notes

  • LDSO is a monocular VO based on DSO with Sim(3) loop closing function. Note we still cannot know the real scale of mono-slam. We only make it more consistent in long trajectories.

  • The red line in pangolin windows shows the trajectory before loop closing, and the yellow line shows the trajectory after optimization.

  • If you are looking for code instructions, take a look at doc/notes_on_ldso.pdf and see if it can help you.

  • Set setting_enableLoopClosing to true/false to turn on/off loop closing function. setting_fastLoopClosing will record less data and make the loop closing faster.

  • If you need loop closing, please set setting_pointSelection=1 to make the program compute feature descriptors. If setting_pointSelection=0, the program acts just like DSO, and setting_pointSelection=2 means random point selection, which is faster but unstable.

  • Some of the GUI buttons may not work.

  • You might also want to have a look DSO's README: https://github.com/JakobEngel/dso/blob/master/README.md

License

LDSO, like DSO, is licensed under GPLv3. It makes use of several third-party libraries. Among other's it comes with the source of:

ldso's People

Contributors

alalagong avatar gaoxiang12 avatar nikolausdemmel avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

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.