Search
At labs (e.g., E130, E132), Robot Operating System (ROS) is available through Singularity containers.
Open terminal and run singularity image with Ubuntu 20.04 + ROS Noetic: singularity shell --nv /opt/singularity/robolab/noetic (--nv is needed for graphical output, e.g. RViz) Then source common ARO catkin workspace: source /opt/ros/aro/setup.bash or, your own workspace (if you have any): source ~/workspace/aro/devel/setup.bash
singularity shell --nv /opt/singularity/robolab/noetic
--nv
source /opt/ros/aro/setup.bash
source ~/workspace/aro/devel/setup.bash
Use either local installation on Ubuntu 20.04, or Singularity below.
http://wiki.ros.org/noetic/Installation/Ubuntu
If you don't use Singularity and the provided image, all dependencies and parent workspaces must be installed manually. Scripts in repository https://gitlab.fel.cvut.cz/robolab/deploy can help with that.
Install dependencies:
git clone https://gitlab.fel.cvut.cz/robolab/deploy.git sudo xargs -a deploy/config/robolab_noetic.apt apt-get install
Configure required workspaces (robolab, aro, lar, mkr) in a selected parent directory, e.g. ~/workspace/ros:
~/workspace/ros
ws_parent=~/workspace/ros rosdep=y sudo deploy/scripts/setup_noetic_workspaces
error: option –install-layout not recognized
Then, your student's workspace, e.g. ~/workspace/aro, should extend your local ~/workspace/ros/aro workspace instead of /opt/ros/aro used with Singularity image.
~/workspace/aro
~/workspace/ros/aro
/opt/ros/aro
catkin config --extend ~/workspace/ros/aro
wget https://github.com/apptainer/singularity/releases/download/v3.5.3/singularity-3.5.3.tar.gz
git clone https://gitlab.fel.cvut.cz/robolab/deploy.git cd deploy/singularity singularity build --fakeroot robolab_noetic.simg robolab_noetic.txt
singularity shell --nv path/to/robolab_noetic.simg