Notice that this repository is only an open-source version of PL-SLAM released with the aim of being useful for the community, however, it is far from being optimized and we are not including some features such as the parallelized version of PL-SLAM.
This code contains an algorithm to compute stereo visual SLAM by using both point and line segment features.
Authors: Ruben Gomez-Ojeda, Francisco Angel Moreno, Davide Scaramuzza, and Javier Gonzalez-Jimenez
Related publication: PL-SLAM: a Stereo SLAM System through the Combination of Points and Line Segments
If you use PL-SLAM in your research work, please cite:
@article{gomez2017pl,
title = {{PL-SLAM: a Stereo SLAM System through the Combination of Points and Line Segments}},
author = {Gomez-Ojeda, Ruben and Moreno, Francisco-Angel and Scaramuzza, Davide and Gonzalez-Jimenez, Javier},
journal = {arXiv preprint arXiv:1705.09479},
year = {2017}
}
The pdf file can be found at https://arxiv.org/abs/1705.09479.
Previous publications:
License:
The provided code is published under the General Public License Version 3 (GPL v3). More information can be found in the "LICENSE" also included in the repository.
Please do not hesitate to contact the authors if you have any further questions.
It can be easily found at http://opencv.org. In the case of line segments, we have modified the line_descriptor from the opencv_contrib repository, included in the 3rdparty folder.
Installation on Ubuntu:
sudo apt-get install libboost-dev
It can be found at:
https://github.com/RainerKuemmerle/g2o.git
Installation on Ubuntu:
sudo apt-get install libyaml-dev
In case of using the provided representation.
sudo apt-get install libmrpt-dev
Download and install instructions can be also found at: http://www.mrpt.org/ .
We have modified the line_descriptor module from the OpenCV/contrib library (both BSD) which is included in the 3rdparty folder.
Executing the file build.sh will configure and generate the line_descriptor and DBoW2 modules, uncompress the vocabulary files, and then will configure and generate the PL-SLAM library for which we generate: libplslam.so in the lib folder, and the applications plstvo_dataset and plslam_dataset that works with our dataset format (explained in the next section).
The plslam_dataset (and plstvo_dataset) basic usage is:
./plslam_dataset <dataset_path>
where <dataset_path> refers to the sequence folder relative to the environment variable ${DATASETS_DIR} that must be previously set. That sequence folder must contain the dataset configuration file named dataset_params.yaml following the examples in pl-slam/config, where images_subfolder_{lr} refers to the left and right image subfolders.