Hardware Support

PX4 Autopilot Support from UAV Toolbox

Design, simulate, deploy, and validate flight control algorithms for UAVs on PX4 Autopilots

Capabilities and Features

Using the UAV Toolbox Support Package for PX4® Autopilots, you can access autopilot peripherals from MATLAB® and Simulink®.

The support package lets you perform various tasks:

  • Integrate generated code from Simulink with PX4 architecture and deploy flight control designs from Simulink onto PX4 Autopilots
  • Access a library of sensor and peripheral blocks for inertial measurements, GPS, vehicle estimation, PWM output, ADC, I2C, CAN, and serial Rx/Tx that can be extended to support additional sensors and peripherals
  • Read and write uORB topics and enable real-time scheduling with uORB
  • Log signals to a micro-SD card connected to PX4 Autopilots
  • View signal values and tune parameters in real time to interactively test the behavior of generated code using Monitor and Tune
  • Deploy PX4 Firmware on host computer using PX4 Host Target simulation (PX4 software-in-the-loop)
  • Integrate Simulink plant for UAV dynamics with hardware-in-the-loop simulation
  • Use depth image from Unreal Engine® to test the flight controllers for UAV obstacle avoidance

Watch PX4 Autopilots in Action

Simulate and deploy UAV applications with SIL and HIL workflows


Platform and Release Support

See the hardware support package system requirements table for current and prior version, release, and platform availability.

Photorealistic scene of a UAV generated using a hardware-in-the-loop PX4 Autopilot and Unreal Engine scenario simulation.

Supported Hardware

The PX4 Autopilot Support Package interfaces with various hardware:

  • Pixhawk 6x
  • Cube Orange
  • UVify IFO-S
  • Pixhawk 4
  • Pixhawk Cube
  • Pixracer
  • Pixhawk 1 (mRo)