- Download the Github repository
git clone --recursive https://github.com/ilaydayaman/orb_slam_docker
- Initialize submodules in the folder Github repository is downloaded
git submodule update --init --recursive
-
Install docker
-
Install nvidia container toolkit (optional)
-
After making sure you have the previliges to run the code
chmod u+x ./build_docker.sh & chmod 744 ./build_docker.sh
The file on /thirdparty/makedeps.sh might need the same configuration. Build container:
./build_docker.sh
-
download EuRoc dataset
unpack at /path/to/dataset_folder
-
open container in terminal
./run_docker.sh /path/to/dataset_folder
- run orbslam example code
./Examples/Monocular-Inertial/mono_inertial_euroc ./Vocabulary/ORBvoc.txt ./Examples/Monocular-Inertial/EuRoC.yaml /data/MH_01_easy ./Examples/Monocular-Inertial/EuRoC_TimeStamps/MH01.txt