Giter Site home page Giter Site logo

rginjapan / gslam Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zdzhaoyong/gslam

0.0 0.0 0.0 15.07 MB

A General Simultaneous Localization and Mapping Framework which supports feature based or direct method and different sensors including monocular camera, RGB-D sensors or any other input types can be handled.

License: BSD 2-Clause "Simplified" License

CMake 1.65% C++ 86.49% C 8.79% Makefile 2.80% QMake 0.26%

gslam's Introduction

GSLAM (A General SLAM Framework and BenchMark)

Build Status License Version

1. Introduction

Wiki: https://github.com/zdzhaoyong/GSLAM/wiki

API Documentation: https://zdzhaoyong.github.io/GSLAM/html

If you use this code for your research, please cite our paper GSLAM: A General SLAM Framework and Benchmark:

@article{gslam2019,
  title={General SLAM Framework and Benchmark},
  author={Yong Zhao and Shibiao Xu and Shuhui Bu amd Hongkai Jiang and Pengcheng Han},
  journal={arXiv:1902.07995 },
  year={2019}
}

1.1. What is GSLAM?

GSLAM is aimed to provide a general open-source SLAM framework and benchmark with following features :

-> 1. Share the same API while maintain compatibility with different SLAM systems (such as feature based or direct methods).

-> 2. Support Monocular, Stereo, RGB-D or any custom input types (SAR, IMU, GPS and so on).

-> 3. Provide high efficient implementations of SLAM util classes like SO3, SE3, Camera, IMU, GPS, Bundle and so on.

-> 4. Support other features like coorperation SLAM to build a singular map.

-> 5. Provide benchmark tools for SLAM performance evaluation, make it easy to compare between SLAM systems.

1.2. What we can do with GSLAM?

  1. For SLAM developers : Everyone can develop their own SLAM implementation based on GSLAM and publish it as a plugin with open-source or not.
  2. For SLAM users : Applications are able to use different SLAM plugins with the same API without recompilation and implementations are loaded at runtime.

2. Compilation and Install

2.1. Compile on linux (Tested in Ubuntu 14.04 and 16.04)

2.1.1 Install dependency

Qt : REQUIRED, Used by the gslam GUI

sudo apt-get install libqt4-dev

OpenCV : Optional, Used by some dataset plugins and EstimatorOpenCV

sudo apt-get install libopencv-dev 

2.1.2 Compile and insall GSLAM

mkdir build;cd build;
cmake ..;make;sudo make install

2.2 Compile on windows

Compile with CMake now is supported.

3. Start with GSLAM

3.1. Basic usages

Test modules with google test:

gslam Act=Tests --gtest_filter=*

Run a slam system with datasets:

gslam Dataset=(dataset file) SLAM=(the slam plugin)

3.2. Supported Datasets

GSLAM now implemented serveral plugins for public available datasets. It is very easy to play different datasets with parameter "Dataset" setted:

# Play kitti with monocular mode
gslam Dataset=<dataset_path>/odomentry/color/00/mono.kitti

# Play kitti with stereo mode
gslam Dataset=<dataset_path>/odomentry/color/00/stereo.kitti

# Play TUM RGBD Dataset (associate.txt file prepared)
gslam Dataset=<dataset_path>/rgbd_dataset_freiburg1_360/.tumrgbd

# Play TUM Monocular (images unziped)
gslam Dataset=<dataset_path>/calib_narrowGamma_scene1/.tummono

# Play EuRoC Dataset with IMU frames
gslam Dataset=<dataset_path>/EuRoC/MH_01_easy/mav0/.euroc

# Play NPU DroneMap Dataset
gslam Dataset=<dataset_path>/DroneMap/phantom3-village/phantom3-village-kfs/.npudronemap
gslam Dataset=<dataset_path>/DroneMap/phantom3-village/phantom3-village-unified/.npudronemap

The datasets are default to be played on realtime, and the play speed can be controled with "PlaySpeed":

gslam Dataset=<dataset_path>/odomentry/color/00/mono.kitti PlaySpeed=2.

The following dataset plugins are now implemented:

Name     Channels Description
KITTI Stereo,Pose
TUMMono Monocular
TUMRGBD RGBD,Pose
EuRoc IMU,Stereo
NPUDroneMap GPS,Monocular
CVMono Monocular Online camera or video dataset using opencv.

Users can also implement dataset plugins by own.

3.3. Implemented SLAM plugins

Name       ScreenShot Description
DSO code
ORBSLAM code
SVO code
TheiaSfM code

3.4. Configuration with Svar

More parameters can be setted with Svar at file *.cfg. See more details of Svar at PILBASE.

4. Contacts

YongZhao: [email protected]

ShuhuiBu: [email protected]

ShibiaoXu: [email protected]

5. License

The GSLAM library is licensed under the BSD license. Note that this text refers only to the license for GSLAM itself, independent of its optional dependencies, which are separately licensed. Building GSLAM with these optional dependencies may affect the resulting GSLAM license.

Copyright (c) 2018 Northwestern Polytechnical University, Yong Zhao. All rights reserved.

This software was developed by the Yong Zhao at Northwestern Polytechnical University.

All advertising materials mentioning features or use of this software must display
the following acknowledgement: This product includes software developed by Northwestern Polytechnical University, PILAB.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list
of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this
list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.
3. All advertising materials mentioning features or use of this software must
display the following acknowledgement: This product includes software developed
by Northwestern Polytechnical University and its contributors.
4. Neither the name of the University nor the names of its contributors may be
used to endorse or promote products derived from this software without specific
prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

gslam's People

Contributors

bushuhui avatar shibiaoxu avatar topgun666 avatar zdzhaoyong avatar zzwlinux 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.