Embedded Coder Support Package for PX4 Autopilots

Automatically build and deploy flight control algorithms to Pixhawk autopilots

Using Embedded Coder® Support Package for PX4® Autopilots, you can generate ANSI/ISO C code from Simulink® models for Pixhawk® autopilots. The support package uses the PX4 toolchain to compile and deploy algorithms tailored specifically for the Pixhawk flight management unit and lets you customize algorithms to incorporate onboard sensor data and other PX4-specific services.

Setup and Configuration

Install hardware support and configure hardware connection

Modeling

Prepare model for hardware connection, add blocks to support PX4 Autopilots

Run on Target Hardware

Run model on target hardware