EventsDrones 2026: Mapping the Knowledge
Published
This submission belongs to the session S1. Drone Design and Development of the event Drones 2026: Mapping the Knowledge
Published date
12 Nov, 2026
Citation
Patrik Dominik Pördi, Anders Christensen, Juan Bravo Arrabal, From Actuators to Trajectories: An Open-Source PX4–ROS 2 Architecture for UAV Autonomy, in Proceedings of Drones 2026: Mapping the Knowledge, Barcelona, 11 November–13 November 2026, MDPI: Basel, Switzerland
Share
Email
Facebook
Twitter
LinkedIn

From Actuators to Trajectories: An Open-Source PX4–ROS 2 Architecture for UAV Autonomy

image
Juan Bravo Arrabal 4
1. PhD student at University of Southern Denmark
2. Professor, University of Southern Denmark Dronecenter
3. Professor, University of Southern Denmark Climate Cluster
4. Postdoc at University of Southern Denmark
Abstract

Uncrewed aerial vehicle (UAV) research and development is characterized by recurring engineering challenges in flight control, sensor integration, and autonomous behaviour implementation. Over the past decade, open-source software frameworks have matured considerably, becoming widely adopted foundations for UAV research and development. However, limited visibility and insufficient knowledge transfer have resulted in recent architectural advances remaining underutilized, with many existing workflows continuing to rely on integration paradigms that predate recent developments.

This study presents a reference architecture for implementing custom autonomous behaviours using off-the-shelf autopilot hardware and a fully open-source software stack. The architecture integrates recent developments in the open-source UAV ecosystem, including the PX4 ROS 2 Interface Library’s Control Interface for external modes and setpoint interfaces, with ROS 2 providing a standardized communication layer and DDS-based middleware enabling distributed system integration. The interfaces support a broad range of control abstractions, from navigation tasks to direct actuator control for low-level research applications and high-level trajectory planning. A central feature is a unified ROS 2 interface through which custom autonomy can coexist and interact with native PX4 modes while maintaining integration with PX4 mode management and failsafe mechanisms. Furthermore, the architecture generalizes across multirotor, fixed-wing, and VTOL platforms.

The contribution is twofold. First, the work provides a practical and reproducible demonstration of scalable, safety-aware, and maintainable UAV autonomy built upon established open-source tooling. The architecture was validated through software-in-the-loop simulations and experimental flights on Pixhawk-based platforms. Second, it presents a structured technical assessment of the open-source UAV ecosystem from a developer and researcher perspective. The analysis focuses on software architecture, interface abstractions, and middleware design rather than treating the flight stack as a black box, with the aim of lowering the adoption barrier for modern open-source flight software in both research and industrial applications.

Keywords
PX4
ROS 2
open source
UAV
custom flight modes
middleware
autonomy
multirotor
DroneCAST: A Software-Defined Radio Implementation and First Flight Demonstration of a Drone-to-Drone Communication System for Urban Airspace
5G-Enabled UAV Control Applications: Experimental Evaluation of Network and Computing Architectures