This container provides a ROS Noetic environment- nothing more, nothing less.
Important
To avoid any potential confusion when discussing which container is being used, I'm calling this new base container robobase
instead of robotdev
To run the :nvidia
images, make sure to add the --runtime=nvidia
and --gpus all
flags to your docker run
command, or the equivalent keys to a docker-compose.yml
Note
Images are automatically built and can be pulled from docker hub. The scripts for building and running the containers are mainly for testing purposes, and should only be used if the pre-built images don't work for some reason
Warning
The robobase image should not be used directly. Instead, you should make an image for your project that extends the robot driver image for whatever robot your project is using.
-
Clone the repository
-
In the root of the repository, run
./build.sh
The script will ask if you need NVIDIA support. Answer accordingly.
-
Build the container first (see above)
-
In the root of the repository, run
./run.sh
My aim is to carry out the refactoring visualized below:
I'm already looking into making new container images for my project, so I figured it would be best to leave them in a place separate from the files for my project so that they can possibly be resued to enable a cleaner codebase for future projects at the lab.