Paparazzi UAS  v5.15_devel-88-gb3ad7fe
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
actuators_ppm module

Actuators Driver using PPM output

This is used in the case where you want to directly drive a receiver which has a microcontroller to do the decoding and driving of the servos (not a 4015 or 4017 decoder chip). The PPM is output on the SERV_CLK pin. The PPM frame rate, pulse width, and number of channels Can be adjusted in the "servos_ppm_hw.h" file to suit your particular receiver.

Example for airframe file

Add to your firmware section:

1 <module name="actuators_ppm"/>

Files

Header Files

The following headers are automatically included in modules.h

Source Files

  • arch dependent: subsystems/actuators/actuators_ppm_hw.c

Raw actuators_ppm.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="actuators_ppm" dir="actuators" task="actuators">
<doc>
<description>
Actuators Driver using PPM output
This is used in the case where you want to directly drive a receiver which has a microcontroller
to do the decoding and driving of the servos (not a 4015 or 4017 decoder chip).
The PPM is output on the SERV_CLK pin. The PPM frame rate, pulse width, and number of channels
Can be adjusted in the "servos_ppm_hw.h" file to suit your particular receiver.
</description>
</doc>
<header>
<file name="actuators_ppm.h" dir="subsystems/actuators"/>
</header>
<makefile target="!sim">
<define name="ACTUATORS"/>
<define name="SERVOS_PPM_MAT"/>
<file_arch name="actuators_ppm_hw.c" dir="subsystems/actuators"/>
</makefile>
</module>