师兄们完成的ssvo+闭环,这里是我为了自己理解所添加的注释.
许可师兄的原版 ssvo
姜浩师兄和邓毅师兄添加了闭环部分 ssvo
原 README.MD 文档如下
注意,如果更改了编译模式(Debug or Release),记得删除build文件夹后重新cmake,否则不一定会立即起作用
Semi-direct sparse odometry
video of running in rpg_urban dataset, and live video.
1.1 OpenCV
OpenCV 3.1.0 is used in this code.
1.2 Eigen3
sudo apt-get install libeigen3-dev
1.3 Sophus
This code use the template implement of Sophus. Recommend the latest released version v1.0.0
1.4 glog
This code use glog for logging.
sudo apt-get install libgoogle-glog-dev
1.5 Ceres
Use Ceres-Slover to slove bundle adjustment. Please follow the installation page to install.
1.6 Pangolin
This code use Pangolin to display the map reconstructed. When install, just follow the README.md file.
1.7 DBow3
After build and install, copy the file FindDBoW3.cmake
to the directory cmake_modules
the Euroc Dataset is used for evalution. In the project directory, run the demo by the following commond
./bin/monoVO_euroc ./config/euroc.yaml ./calib/euroc_cam0.yaml dataset_path
note that the dataset_path
is the directory contaion body.yaml
finally, there will be a trajectory.txt
saved, and you can use the evo to evaluate.