This package contains all files for building & run container images for the Aegis robot station.
The requirements for the packages are directly taken from the aegis_ros.
There are couple of helper scripts, which helps to handle the whole aegis_ros project. Start by installing them.
./install_links.sh -h # See the help and parametrize installation if needed
./install_links.shTo build a base container image, both for production and development, run the following script and follow the instructions:
# Globally
aegis_build_imageBuild the image. Follow the instructions printed by aegis_run:
aegis_run -h
aegis_run
# Cleanup previous mess
aegis_cleanToolbox (toolbx) is a development tool to mitigate the headaches about the users' privileges.
To enable GPU support in toolbx containers on Ubuntu 22/24 host some manual updates are necessary.
(Automatic) Setup
Build the image. Follow the instructions printed by aegis_run:
# Enter/recreate/remove toolbx. Best called in the working aegis_ros directory to detect the branch.
aegis_toolbx
# Cleanup all aegis toolbxes
aegis_cleanThese scripts handles all creation and cleanup of the development toolbxes.
Note
Double check your $PATH env variable, it should contain the ~/.local/bin directory.
(Manual) Building:
podman build . -f dev/Containerfile.toolbx -t localhost/aegis_ros_dev:latest
toolbox create --image localhost/aegis_ros_dev:latest aegis_ros_dev-latest
# Check available images
toolbox list(Manual) Entering into a new terminal:
toolbox enter aegis_dev-latest- (Host) Add toolbox to the
/etc/hosts:
# sudo nano /etc/hosts
127.0.0.1 toolbox
127.0.0.1 toolbx
- (Host) Install crun (1.8-1) :
wget http://launchpadlibrarian.net/650575198/crun_1.8-1_amd64.deb
sudo apt install ./crun_1.8-1_amd64.deb
rm ./crun_1.8-1_amd64.deb- (Toolbox) create group:
newgrp sudo