Code Monkey home page Code Monkey logo

orb_slam2_cg's Introduction

orbslam2_cg

modified version from raulmur/ORB_SLAM2 (commit f2e6f51 on Oct 11, 2017)

ORB-SLAM is a versatile and accurate SLAM solution for Monocular, Stereo and RGB-D cameras.


[TOC]

Dependencies

  • OpenCV 3

  • Eigen3

    sudo apt install libeigen3-dev
  • Pangolin

    git clone https://github.com/stevenlovegrove/Pangolin.git
    cd Pangolin & mkdir build & cd build
    cmake .. & cmake --build .
  • G2O

    # git clone https://github.com/RainerKuemmerle/g2o
    
    cd Thirdparty
    svn checkout https://github.com/raulmur/ORB_SLAM2/trunk/Thirdparty/g2o
    
    cd g2o
    mkdir build
    cd build
    cmake .. -DCMAKE_BUILD_TYPE=Release
    make -j4
  • DBoW2

    git clone https://github.com/cggos/DBoW2
  • ROS (optional)

  • Vocabulary ORBvoc.txt

    cd orbslam2/Vocabulary
    wget https://raw.githubusercontent.com/raulmur/ORB_SLAM2/master/Vocabulary/ORBvoc.txt.tar.gz
    tar -xf ORBvoc.txt.tar.gz

Build

  • with ROS

    cd orbslam2_cg/platforms/ros_wrapper
    catkin_make -j1
  • without ROS

    cd orbslam2_cg/platforms/app
    mkdir build & cd build
    cmake .. & make -j1

Calibration Params

  • Stereo Config: ROS Stereo Calibration and get data from the result
    rosrun camera_calibration cameracalibrator.py \
        --approximate=0.05 \
        --size 11x7 \
        --square 0.036 \
        left:=/mynteye/left/image_raw \
        right:=/mynteye/right/image_raw        

Train DBoW2/DBoW3 Voc with your data

Run

  • without ROS

    cd orbslam2_cg/platforms/app/build
    ../scripts/run_<mono_tum>.sh  # modify it before run
  • with ROS

    roslaunch orbslam2_ros run_<mono>.launch
    
    roslaunch orbslam2_ros run_stereo_euroc.launch [rviz:=true]
    
    roslaunch orbslam2_ros run_stereo_mynteye_s1030.launch

orb_slam2_cg's People

Contributors

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