stella_vslam
NOTE: This is a community fork of xdspacelab/openvslam. It was created to continue active development of OpenVSLAM on Jan 31, 2021. The original repository is no longer available. Please read the official statement of termination carefully and understand it before using this. The similarities with ORB_SLAM2 in the original version have been removed by #252. If you find any other issues with the license, please point them out. See #37 and #249 for discussion so far.
Versions earlier than 0.3 are deprecated. If you use them, please use them as a derivative of ORB_SLAM2 under the GPL license.
Overview
stella_vslam is a monocular, stereo, and RGBD visual SLAM system.
Features
The notable features are:
- It is compatible with various type of camera models and can be easily customized for other camera models.
- Created maps can be stored and loaded, then stella_vslam can localize new images based on the prebuilt maps.
- The system is fully modular. It is designed by encapsulating several functions in separated components with easy-to-understand APIs.
- We provided some code snippets to understand the core functionalities of this system.
One of the noteworthy features of stella_vslam is that the system can deal with various type of camera models, such as perspective, fisheye, and equirectangular. If needed, users can implement extra camera models (e.g. dual fisheye, catadioptric) with ease. For example, visual SLAM algorithm using equirectangular camera models (e.g. RICOH THETA series, insta360 series, etc) is shown above.
We provided documentation for installation and tutorial. The repository for the ROS wrapper is stella_vslam_ros.
Acknowledgements
OpenVSLAM is based on an indirect SLAM algorithm with sparse features, such as ORB-SLAM/ORB-SLAM2, ProSLAM, and UcoSLAM. The core architecture is based on ORB-SLAM/ORB-SLAM2 and the code has been redesigned and written from scratch to improve scalability, readability, performance, etc. UcoSLAM has implemented the parallelization of feature extraction, map storage and loading earlier. ProSLAM has implemented a highly modular and easily understood system earlier.
Examples
Some code snippets to understand the core functionalities of the system are provided.
You can employ these snippets for in your own programs.
Please see the *.cc
files in ./example
directory or check Simple Tutorial and Example.
Installation
Please see Installation chapter in the documentation.
The instructions for Docker users are also provided.
Tutorial
Please see Simple Tutorial chapter in the documentation.
A sample ORB vocabulary file can be downloaded from here. Sample datasets are also provided at here.
If you would like to run visual SLAM with standard benchmarking datasets (e.g. KITTI Odometry dataset), please see SLAM with standard datasets section in the documentation.
Community
Please contact us via GitHub Discussions if you have any questions or notice any bugs about the software.
Currently working on
- Refactoring
- Algorithm changes and parameter additions to improve performance
- Add tests
- Marker integration
- Implementation of extra camera models
- Python bindings
- IMU integration
The higher up the list, the higher the priority. Feedbacks, feature requests, and contribution are welcome!
License
2-clause BSD license (see LICENSE)
The following files are derived from third-party libraries.
./3rd/filesystem
: gulrak/filesystem (MIT license)./3rd/json
: nlohmann/json [v3.6.1] (MIT license)./3rd/popl
: badaix/popl [v1.2.0] (MIT license)./3rd/spdlog
: gabime/spdlog [v1.3.1] (MIT license)./3rd/tinycolormap
: yuki-koyama/tinycolormap (MIT license)./src/stella_vslam/solver/pnp_solver.cc
: part of laurentkneip/opengv (3-clause BSD license)./src/stella_vslam/feature/orb_extractor.cc
: part of opencv/opencv (3-clause BSD License)./src/stella_vslam/feature/orb_point_pairs.h
: part of opencv/opencv (3-clause BSD License)./viewer/public/js/lib/dat.gui.min.js
: dataarts/dat.gui (Apache License 2.0)./viewer/public/js/lib/protobuf.min.js
: protobufjs/protobuf.js (3-clause BSD License)./viewer/public/js/lib/stats.min.js
: mrdoob/stats.js (MIT license)./viewer/public/js/lib/three.min.js
: mrdoob/three.js (MIT license)
Please use g2o
as the dynamic link library because csparse_extension
module of g2o
is LGPLv3+.
Authors of the original version of OpenVSLAM
- Shinya Sumikura (@shinsumicco)
- Mikiya Shibuya (@MikiyaShibuya)
- Ken Sakurada (@kensakurada)
Citation of original version of OpenVSLAM
OpenVSLAM won first place at ACM Multimedia 2019 Open Source Software Competition.
If OpenVSLAM helps your research, please cite the paper for OpenVSLAM. Here is a BibTeX entry:
@inproceedings{openvslam2019,
author = {Sumikura, Shinya and Shibuya, Mikiya and Sakurada, Ken},
title = {{OpenVSLAM: A Versatile Visual SLAM Framework}},
booktitle = {Proceedings of the 27th ACM International Conference on Multimedia},
series = {MM '19},
year = {2019},
isbn = {978-1-4503-6889-6},
location = {Nice, France},
pages = {2292--2295},
numpages = {4},
url = {http://doi.acm.org/10.1145/3343031.3350539},
doi = {10.1145/3343031.3350539},
acmid = {3350539},
publisher = {ACM},
address = {New York, NY, USA}
}
The preprint can be found here.
Reference
- Raúl Mur-Artal, J. M. M. Montiel, and Juan D. Tardós. 2015. ORB-SLAM: a Versatile and Accurate Monocular SLAM System. IEEE Transactions on Robotics 31, 5 (2015), 1147–1163.
- Raúl Mur-Artal and Juan D. Tardós. 2017. ORB-SLAM2: an Open-Source SLAM System for Monocular, Stereo and RGB-D Cameras. IEEE Transactions on Robotics 33, 5 (2017), 1255–1262.
- Dominik Schlegel, Mirco Colosi, and Giorgio Grisetti. 2018. ProSLAM: Graph SLAM from a Programmer’s Perspective. In Proceedings of IEEE International Conference on Robotics and Automation (ICRA). 1–9.
- Rafael Muñoz-Salinas and Rafael Medina Carnicer. 2019. UcoSLAM: Simultaneous Localization and Mapping by Fusion of KeyPoints and Squared Planar Markers. arXiv:1902.03729.
- Mapillary AB. 2019. OpenSfM. https://github.com/mapillary/OpenSfM.
- Giorgio Grisetti, Rainer Kümmerle, Cyrill Stachniss, and Wolfram Burgard. 2010. A Tutorial on Graph-Based SLAM. IEEE Transactions on Intelligent Transportation SystemsMagazine 2, 4 (2010), 31–43.
- Rainer Kümmerle, Giorgio Grisetti, Hauke Strasdat, Kurt Konolige, and Wolfram Burgard. 2011. g2o: A general framework for graph optimization. In Proceedings of IEEE International Conference on Robotics and Automation (ICRA). 3607–3613.