PX4 PWM Output
Configure PWM outputs for servo motors and ESC control
PX4 PWM Output will be removed in a future release. For more information, see Version History.
Add-On Required: This feature requires the UAV Toolbox Support Package for PX4 Autopilots add-on.
Libraries:
UAV Toolbox Support Package for PX4 Autopilots /
PX4 Utility Blocks
Description
The PX4 PWM Output block helps you to configure the PWM output from the PX4® flight controller board. The block accepts time value (in microseconds) that represents the ON period of PWM signal for a particular channel, and passes the same to the corresponding PWM channels on the board.
The PX4 PWM Output block also accepts signals for arming the flight controller.
During Connected I/O simulation, this block writes data to the peripherals of the hardware.
During Connected I/O simulation, this block writes data to the peripherals of the hardware.
Configure Actuators
For Firmware version 1.14, the PWM & AUX pins need to be configured in QGroundControl before the PWM Output block can be used in Simulink. To do this, QGroundControl version 4.3.0 is needed which can be downloaded from this location.
For information on configuring actuators, see Configure and Assign Actuators in QGC.
Note
Configuring the actuators is not required for Hardware-in-the-loop or PX4 Host Target simulations. .