Main Content

Selecting PX4 Autopilot Application

Note

This section explains the step—Select Application in Simulink—of the Hardware Setup process (using the Hardware Setup screens).

UAV Toolbox Support Package for PX4® Autopilots provides the option to create either path follower or flight controller algorithm in Simulink. The configuration settings required for each of these are different, and the Hardware Setup process can be used to pre-configure the PX4 firmware and the startup sequence for the required algorithm.

In the Select Application in Simulink screen of the Hardware Setup process, select the required option for the PX4 Autopilot algorithm that you are going to design using the support package:

  • Design Flight Controller Algorithm in Simulink — Select this option to design a flight controller algorithm by disabling the default PX4 controller module that is present in the PX4 firmware that you downloaded. This selection results in an additional step (Customize PX4 System Startup) as you proceed further with the Hardware Setup screens. A custom startup script, which is loaded from an SD Card connected to the flight controller, will be used for starting the modules.

  • Design Path Follower Algorithm in Simulink — Select this option to design a path follower algorithm by disabling the default PX4 navigator module that is present in the PX4 firmware that you downloaded. This selection results in an additional step (Select Airframe for QGround Control) as you proceed further with the Hardware Setup screens. The default PX4 startup script, rCS, will be used for starting the modules.