MAVROS

Installation Instructions for MAVROS

These instructions are derived from the Official Installation Guide.

Prerequisites

You must have ROS Noetic installed. See ROS Noetic Installation Guide.

Installation

Install MAVROS from the ROS binary packages.

sudo apt update
sudo apt install -y ros-${ROS_DISTRO}-mavros ros-${ROS_DISTRO}-mavros-extras ros-${ROS_DISTRO}-mavros-msgs

Then install GeographicLib datasets by running the install_geographiclib_datasets.sh script.

wget -O /tmp/install_geographiclib_datasets.sh https://raw.githubusercontent.com/mavlink/mavros/master/mavros/scripts/install_geographiclib_datasets.sh
sudo bash /tmp/install_geographiclib_datasets.sh