This a user manual for Cargobot users. Source code is available: https://github.com/Cargobot-Project/cargobot
Docker is strictly required for use of Cargobot, and CUDA availability is recommended. There are different Docker images whether you have CUDA or not.
Also, if you like to reach the GUI of the project, you should install Django on your local.
Windows and Ubuntu are supported as Operating Systems.
Follow the link below and find the best Docker installation specifications for you: https://docs.docker.com/get-docker/
You have to check that if CUDA can be installed to your computer via https://developer.nvidia.com/cuda-gpus Then follow the link below and find the best CUDA installation specifications for you: https://developer.nvidia.com/cuda-downloads
We tested for CUDA 11.7, but CUDA is not backwards compatible therefore latest version can be downloaded.
- Make sure that you have downloaded the source code from GitHub link above, and you are in the project directory.
- Change the file name of NoCUDAAvailable-Dockerfile to Dockerfile.
- Then build the image as below follows,
docker build -t cargobot_image .
- Run the image and create container as follows,
docker run --name cargobot_container \ --privileged \ -p 7000:7000 \ -p 8888:8888 \ -v %cd%:/usr/cargobot \ -it cargobot_image:latest bash
- You should download the segmentation models ".pt" files from the following link: https://drive.google.com/drive/folders/18CqN6_EuQoz0OQr-j_Ue9k9FkD2JsZ7s?usp=sharing
- After installing the .pt files, migrate those files to under the cargobot/cargobot-project/res/seg
- Inside the container you can run usr/cargobot/cargobot-project/src/demos, you can find the executable files.
- After executing any file, the simulation visualization can be reached in http://localhost:7000
- Make sure that you have downloaded the source code from GitHub link above, and you are in the project directory.
- Change the file name of CUDAAvailable-Dockerfile to Dockerfile.
- Then build the image as below follows,
docker build -t cargobot_image .
- Run the image and create container as follows,
docker run --name cargobot_container \ --runtime=nvidia \ --gpus all \ --privileged \ -p 7000:7000 \ -p 8888:8888 \ -v %cd%:/usr/cargobot \ -it cargobot_image:latest bash
- You should download the segmentation models ".pt" files from the following link: https://drive.google.com/drive/folders/18CqN6_EuQoz0OQr-j_Ue9k9FkD2JsZ7s?usp=sharing
- After installing the .pt files, migrate those files to under the cargobot/cargobot-project/res/seg
- Inside the container you can run usr/cargobot/cargobot-project/src/demos, you can find the executable files.
- After executing any file, the simulation visualization can be reached in http://localhost:7000
- Go to the directory /usr/cargobot/cargobot-project/cargobotgui in your local
- Run
python manage.py runserver
- Then GUI would be available on http://localhost:8000