A Modular and Scalable System Architecture for Heterogeneous UAV Swarms Using ROS 2 and PX4-Autopilot
Robert Pommeranz, Kevin Tebbe, Ralf Heynicke, Gerd Scholl
TL;DR
Addresses the need for robust counter-UAS swarm architectures by proposing a modular, containerized system built on PX4-Autopilot and ROS 2 that can operate heterogeneous UAVs. The design separates flight control, perception, and swarm management into independent ROS 2 nodes, with three UAV models (GenericUAVModel, ObservationUAVModel, CoordinatorUAVModel) and an offboard interface to PX4. Key contributions include leader-follower formation control, real-time perception integration, ground-station coordination, and cross-platform Docker deployments validated in Gazebo and real-world demonstrations. The framework offers flexible hardware support (Jetson, Raspberry Pi, x86_64), modular software, and a configurable communication layer that can transition to cellular networks, enabling scalable, resilient swarms for C-UAS tasks.
Abstract
In this paper a modular and scalable architecture for heterogeneous swarm-based Counter Unmanned Aerial Systems (C-UASs) built on PX4-Autopilot and Robot Operating System 2 (ROS 2) framework is presented. The proposed architecture emphasizes seamless integration of hardware components by introducing independent ROS 2 nodes for each component of a Unmanned Aerial Vehicle (UAV). Communication between swarm participants is abstracted in software, allowing the use of various technologies without architectural changes. Key functionalities are supported, e.g. leader following and formation flight to maneuver the swarm. The system also allows computer vision algorithms to be integrated for the detection and tracking of UAVs. Additionally, a ground station control is integrated for the coordination of swarm operations. Swarm-based Unmanned Aerial System (UAS) architecture is verified within a Gazebo simulation environment but also in real-world demonstrations.
