Skip to main content

Install Your ROS2

Installing ROS2 Jazzy

sudo apt-get -y install software-properties-common curl bash

curl https://ctu-mrs.github.io/ppa2-stable/add_ros_ppa.sh | bash

sudo apt-get -y install ros-jazzy-desktop-full ros-dev-tools

Installing MRS UAV System

curl https://ctu-mrs.github.io/ppa2-stable/add_ros_ppa.sh | bash

sudo apt install ros-jazzy-desktop-full

curl https://ctu-mrs.github.io/ppa2-stable/add_ppa.sh | bash

sudo apt install ros-jazzy-mrs-uav-system-full

Set Zenoh to be the used RMW implementation. The Zenoh RMW is used by default in our example simulation sessions. Add to ~/.bashrc (or ~/.zshrc):

export RMW_IMPLEMENTATION="rmw_zenoh_cpp"

Source ~/.bashrc (or ~/.zshrc):

source ~/.bashrc

Start the example simulation session to confirm that everything installed properly.

cd /opt/ros/jazzy/share/mrs_multirotor_simulator/tmux/mrs_one_drone

./start.sh