WUT Velma Robot logo WUT Velma Robot

Setup of Velma robot controller

This page describes how to set up workspace for WUT Velma robot simulation. There are two options:

The software with its all dependencies is installed on machines in labs 012 and P109 at WUT FEIT.

Organisation of workspaces

The software for WUT Velma robot control system uses a concept of stack of catkin workspaces. The full stack of workspaces is (each workspace extends the previous one):

Installation from package

Packages (.deb) are available at .deb packages.

To install the package, you have to install ros-melodic-desktop first (not ros-melodic-desktop-full). Please refer to ROS installation instructions.

Update you system:

sudo apt update
sudo apt upgrade

Download the latest .deb package, and install it:

sudo dpkg -i velma-system_<version number>_amd64.deb

In the last step, install all dependencies and configure the installed packages:

sudo apt install -f

The procedure will install all woekspaces in /opt directory. After the installation is complete, source to the workspace with command:

source /opt/ws_velma_os/setup.bash

Building from sources

Clone branch melodic-devel of RCPRG_rosinstall repo:

git clone -b melodic-setup-working https://github.com/RCPRG-ros-pkg/RCPRG_rosinstall.git

Change current working directory to the downloaded folder:

cd RCPRG_rosinstall

Source ROS melodic:

source /opt/ros/melodic/setup.bash

Run the setup script. The script has several arguments. The whole setup procedure may take several hours and consume lots of RAM. Try to avoid consuming all RAM, as it may use swap and make the build very slow or hang the machine. You should limit the number of CPUs used for build:

To build all required workspaces, using 4 CPUs, run the following command:

./setup.sh -x /opt/ros/melodic -d ~/velma -b Release -g -o -f -v -- -j 4

The command will install 4 workspaces: for Gazebo, Orocos, FABRIC and Velma in directory velma in your home folder. After the build is complete, source to the built workspace with command:

source ~/velma/ws_velma_os/devel/setup.bash