-
Here are steps to install DSO. Only listed the steps that are necessary.
Reference DSO
Install with
sudo apt-get install libsuitesparse-dev libeigen3-dev libboost-all-dev
Install with
sudo apt-get install libopencv-dev
Install from https://github.com/stevenlovegrove/Pangolin
git clone https://github.com/JakobEngel/dso
cd dso
mkdir build
cd build
cmake ..
make -j4
This will compile a library libdso.a, which can be linked from external projects. If there is any confusion please refer to the original DSO repo
Reference catkin
sudo apt-get install ros-melodic-catkin
If it does not work, you may need to install from source
git clone https://github.com/ros/catkin
sudo apt-get install cmake python-catkin-pkg python-empy python-nose python-setuptools
libgtest-dev build-essential
cd catkin
mkdir build && cd build && cmake ../ && make && sudo make install
Please refer to the reference catkin if there is anything goes wrong. The tricky part is that you still need to use sudo apt-get install
to install some ROG related packages. You may install the corresponding packages when you see the errors during the installation of SO-DSO.
Reference SO-DSO
export DSO_PATH=[PATH_TO_DSO]/dso
You need to set DSO_PATH
to the dso folder before you install the SO-DSO. There would also be a error suggestion if you did not set the path correctly. Then
mkdir ~/catkin
mkdir ~/catkin/src
cd ~/catkin_ws/src
git clone https://github.com/jiawei-
mo/scale_optimization.git
cd ~/catkin_ws
catkin_make
Reference Place Recognition Run the matlab files (test_kitti.m test_robotcar.m) in Place Recognition