This tutorial will walk you through the setup required to make a host machine ready to build and run the Dave simulations. Note that:
<aside> 💡 Depending on the machine, it may take more than an hour to finish.
</aside>
Type following code lines in terminal window. It will auto install what is required for the Dave (ROS-Gazebo framework)
sudo /bin/bash -c "$(wget -qO- <https://raw.githubusercontent.com/IOES-Lab/dave/ros2/extras/ros-jazzy-binary-gz-harmonic-source-install.sh>)"
Type following code lines in terminal window. It will auto install what is required for the Dave (ROS-Gazebo framework)
/bin/bash -c "$(curl -fsSL <https://raw.githubusercontent.com/IOES-Lab/ROS2_Jazzy_MacOS_Native_AppleSilicon/main/install.sh>)"
Upgrade to the latest packages:
sudo apt update
sudo apt full-upgrade
Install required tools:
sudo apt install -y build-essential cmake cppcheck curl git gnupg libeigen3-dev libgles2-mesa-dev lsb-release pkg-config protobuf-compiler python3-dbg python3-pip python3-venv qtbase5-dev ruby software-properties-common sudo wget
Install package signing keys
# ROS 2 key
sudo curl -sSL <https://raw.githubusercontent.com/ros/rosdistro/master/ros.key> -o /usr/share/keyrings/ros-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] <http://packages.ros.org/ros2-testing/ubuntu> $(. /etc/os-release && echo $UBUNTU_CODENAME) main" | sudo tee /etc/apt/sources.list.d/ros2.list > /dev/nullsource /opt/ros/jazzy/setup.bash
# Gazebo key
sudo wget <https://packages.osrfoundation.org/gazebo.gpg> -O /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/pkgs-osrf-archive-keyring.gpg] <http://packages.osrfoundation.org/gazebo/ubuntu-stable> $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/gazebo-stable.list > /dev/null
# Update packages
sudo apt update
# Set versions to install
DIST=jazzy
GAZEBO=gz-harmonic