Skip to content

Prerequisites

Before you begin, please ensure your development environment meets the following requirements.

System Requirements

Environment / ComponentVersion or Info
Operating SystemUbuntu 22.04 LTS
ROS 2 VersionHumble Hawksbill
Gazebo Sim VersionHarmonic V8.11.0
Ros-GZ Bridge Versionros-humble-ros-gz-harmonic
PX4 VersionV1.17.0
QGC VersionDownload Link
ComponentMinimumRecommended
CPU4 cores8 cores+
Memory8 GB16 GB+
GPUIntegrated GPUNVIDIA GPU (CUDA support)
Disk50 GB available space100 GB SSD

Software Dependencies

System Packages

bash
sudo apt update
sudo apt install -y \
  cmake \
  build-essential \
  git \
  wget \
  python3 \
  python3-pip \
  ninja-build \
  ccache

ROS 2 Humble

bash
# Install ROS 2 Humble Desktop Full
sudo apt install ros-humble-desktop-full
source /opt/ros/humble/setup.bash

Gazebo Harmonic

bash
# Install Gazebo Harmonic and ros-gz bridge
sudo apt install -y \
  gazebo11 \
  ros-humble-ros-gz-harmonic

Python Dependencies

bash
pip install \
  mkdocs-material \
  mkdocs-awesome-pages-plugin \
  mkdocs-mermaid2-plugin

For most users, the Docker method is recommended to get a complete environment:

bash
# Build Docker image
bash docker/run_gz_sitl.sh --build

# Launch
bash docker/run_gz_sitl.sh --profile "Entity 1"

The Docker image comes with all necessary dependencies pre-installed, including ROS 2 Humble, Gazebo Harmonic, PX4 build tools, and custom plugins.