This library is developed on and intended for systems running:
If you do not want to install Ubuntu onto your computer, consider installing a virtual machine or use docker with Ubuntu 24.04 images.
Install python dependencies by calling:
pip install --break-system-packages -r requirements.txt
The installation instructions later on will use colcon build instead of
ament_make, so you should also install colcon using apt-get.
If you had a pre-existing ROS2 Jazzy installation, please run:
sudo apt update
sudo apt upgradebefore continuing onto installing the library.
Start by going to the folder where you want the code to reside. For example, choose the home directory or a directory for keeping projects in. Once you are in the chosen directory, use the command:
git clone https://github.com/KTH-SML/sveato download the library. Then, a new directory will appear called
./svea. Go into the directory with command:
cd sveaTo install all of the ROS dependencies that you are missing for this library run:
rosdep install --from-paths src --ignore-src -r -yFinally, compile and link the libraries using:
colcon build --symlink-install
source install/setup.bashTo make sure the libraries are linked in the future, also call (you need to replace
<path-to-svea> with the file path to wherever you cloned "svea", e.g.
/home/nvidia/svea/install/setup.bash):
echo "source <path-to-svea>/install/setup.bash" >> ~/.bashrc
source ~/.bashrcNote, you only need to do this once.