GithubHelp home page GithubHelp logo

exception4u / multirobot_slam Goto Github PK

View Code? Open in Web Editor NEW
1.0 5.0 1.0 622 KB

Multi-Session / Multi-Robot trajectory merging for CAIR milestone Review

CMake 0.44% C 3.27% C++ 96.29%
slam-algorithms computer-vision gtsam loop-closure

multirobot_slam's Introduction

3D batch merge

eclipse build tip

cmake -G "Eclipse CDT4 - Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_ECLIPSE_MAKE_ARGUMENTS=-j8


This program executes Libviso, DLoop and g2o in parallel threads for trajectory estimation and optimization using stereo vision.


Procedure -

  1. Install

  2. Libviso2 - http://www.cvlibs.net/software/libviso/

  3. DLoop - https://github.com/dorian3d/DLoopDetector (along with DLib and DBow2)

  4. g2o - https://github.com/RainerKuemmerle/g2o


Execute:

  • cd cair_online/

  • mkdir build

  • cd build

  • cmake ..

  • make -j5

  • ./main


  • Source code - main.cpp
  • Supporting files - src/*.cpp
  • Header files - includes/*.h

Main function calls -

  1. Libviso2 for intial trajectory estimates from src/helper.cpp - my_libviso2

  2. DLoop Detector for loop closure from includes/demoDetector.h - run

  3. g2o is called after every 500th frame and once at the end of trajectory.


Parameters -

  1. In main function

    1. IMG_DIR1 - Directory where Images are stored. Format -> dir/loop1/left and dir/loop1/right
    2. VOC_FILE - Vocabulary file. Generated from DBOW2
    3. IMAGE_W, IMAGE_H - Image Width, Image Height - Keep default.
  2. In helperfunctions.cpp

    1. param.calib.f - focal length in pixels param.calib.cu - principal point (u-coordinate) in pixels param.calib.cv - principal point (v-coordinate) in pixels param.base - baseline in meters In demoDetector.h
    2. params.use_nss - use normalized similarity score instead of raw score params.alpha - nss threshold params.k - a loop must be consistent with 1 previous matches params.geom_check - use direct index for geometrical checking params.di_levels - use two direct index levels In TemplatedLoopDetector.h
    3. dislocal = number * f - for skipping 'number' of frames between loops.

multirobot_slam's People

Contributors

exception4u avatar

Stargazers

 avatar

Watchers

 avatar  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.