This docker is based on ros noetic ubuntu 20. If you need melodic with ubuntu 18 checkout #8fde91d
There are two versions available:
- CPU based (Xorg Nouveau display)
- Nvidia Cuda based.
To check if you are running the nvidia driver, simply run nvidia-smi and see if get anything.
Based on which graphic driver you are running, you should choose the proper docker. For cuda version, you need to have nvidia-docker setup on your machine.
Steps to compile the Orbslam3 on the sample dataset:
./download_dataset_sample.shbuild_container_cpu.shorbuild_container_cuda.shdepending on your machine.
Now you should see ORB_SLAM3 is compiling. To run a test example:
docker exec -it orbslam3 bashcd /ORB_SLAM3/Examples&&./euroc_examples.sh
You can use vscode remote development (recommended) or sublime to change codes.
docker exec -it orbslam3 bashsubl /ORB_SLAM3