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

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 Simulation

Setting Up the Controller Model and QGroundControl for Running in Hardware-in-the-Loop (HITL) Mode with jMAVSim Simulator

Set up controller model and QGC in HTIL mode with jMAVSim Simulator

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

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