PX4 is flight and vehicle control firmware for multicopters, fixed-wing, VTOL, rovers, and more, with MAVLink and ROS 2 integration.
Overview
PX4 Autopilot is an autopilot software stack for drones and other unmanned vehicles. It supports multicopters, fixed-wing aircraft, VTOL configurations, rovers, and additional experimental frames such as boats, submarines, and airships, with varying levels of test coverage across frame types.
The architecture centers on uORB, a DDS-compatible publish and subscribe middleware where modules run in parallel and are designed to be thread safe. Configurations can be trimmed to include only needed modules. The stack runs on NuttX, Linux, and macOS and targets a wide range of autopilot boards and peripherals through the Pixhawk ecosystem.
Developers get MAVLink and DDS or ROS 2 integration, software-in-the-loop simulation, hardware-in-the-loop testing, and log analysis tooling. A quick simulation path is documented using Docker without local build dependencies, paired with QGroundControl for flight testing in sim.
Governance sits under the Dronecode Foundation within the Linux Foundation. User and developer guides cover building, configuration, porting, hardware compatibility, and contribution workflows.
Key features
- uORB publish-subscribe middleware
- Multicopter, fixed-wing, VTOL, rover support
- MAVLink and DDS ROS 2 integration
- SITL and HITL simulation tooling
- Wide Pixhawk hardware compatibility
- Modular configurable builds
- Docker quickstart simulation
- Dronecode Foundation governance
Use cases
- Custom drone autopilot firmware
- Research and academic UAV projects
- Industrial survey aircraft stacks
- ROS 2 connected vehicle control
- Simulated flight before hardware tests