Main Content

Run on Target Hardware

Run model on target hardware

General Topics

Supported PX4 Autopilots

PX4 flight controller boards that can be used to deploy Simulink models

Set COM Port for Upload and Communication in Simulink

Set COM port for Upload and Communication in Simulink® models

Run Monitor & Tune Simulation on PX4 Autopilot (External Mode)

Monitor and Tune the Model Running on PX4 Autopilots

Monitor signals and tune parameters running on the Simulink models running on PX4 Autopilots

Using External Mode over FTDI with Pixhawk 1

Use non-USB serial port of Pixhawk 1 along with an FTDI convertor for working with External mode

Code Execution Profiling on PX4 Targets

Profiling on PX4® hardware.

Run Connected IO Simulation on PX4 Autopilot

Communicate with Hardware Using Connected I/O

Get peripheral data from the hardware before deploying the Simulink model on the hardware.

Log Flight Data on SD Card

Log Signals on an SD Card

Log signals from Simulink models on an SD card mounted on the target hardware

Deploy PX4 on Host Computer with PX4 Host Target (PX4 Software-In-The-Loop or SITL)

Deployment and Verification Using PX4 Host Target and jMAVSim

Deploy flight control algorithms created in Simulink on PX4 Host Target and control the vehicle using jMAVSim simulator

Integrate Simulator Plant Model Containing MAVLink Blocks with Flight Controller Running on PX4 Host Target

Run Controller model and Simulator Plant model using lockstep simulation

Hardware-in-The-Loop Simulation (HITL) with PX4

PX4 Hardware-in-the-Loop System Architecture

Details about PX4 HITL architecture and physical connections required to set up HITL

Setting Up PX4 Autopilot in Hardware-in-the-Loop (HITL) Mode from QGroundControl

Set up PX4 Autopilot in HITL mode from QGC

Set Up PX4 Firmware for Hardware-in-the-loop (HITL) Simulation

Set up PX4 Firmware using hardware setup screens for HITL Simulation

Configure Simulink Model for Deployment in Hardware-in-the-Loop (HITL) Simulation

Set up controller model in HITL mode

Configure Simulink Model for Monitor & Tune Simulation with Hardware-in-the-loop (HITL)

Set up controller model for Monitor & Tune in HITL mode

MAVLink Connectivity for QGC, On-board Computer and Simulink Plant

Routing MAVLink data from Pixhawk to QGC and Simulink Plant

MAVLink Communication with PX4 Autopilots

Enabling MAVLink in PX4 Over USB

Enable MAVLink protocol for PX4 Autopilots over USB

Connecting to NSH Terminal for Debugging

Connect to the NSH terminal of Pixhawk Series controller for debugging.

Additional Information

Plant and Attitude Controller Model for Hexacopter

Use plant model and attitude control model to fly a hexacopter using UAV Toolbox Support Package for PX4 Autopilots

Migrating from Pixhawk Pilot Support Package to UAV Toolbox Support Package for PX4 Autopilots

Migrate from existing Pixhawk Pilot Support Package to the new UAV Toolbox Support Package for PX4 Autopilots


Troubleshooting Deploy to Hardware Issues

Solve the problems when you try to deploy the Simulink model to Pixhawk Series flight controllers

Troubleshooting Flash Overflow Issues with Pixhawk 1

Solve the flash overflow issues when you try to deploy the Simulink model to Pixhawk 1

Troubleshooting Memory Limitations for MAT-file Logging

Solve the memory overflow issues while logging signals on SD card

Troubleshooting Dataset Format Usage for MAT-file Logging

Solve dataset format issues while logging signals on SD card

Troubleshooting Connected I/O

Solve the problems while using Connected I/O

Troubleshooting Unresponsive Firmware Upload

Solve the unresponsive firmware upload issues