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
rpm_control module

RPM controller with feedback

No detailed description...

Example for airframe file

Add to your firmware section:

1 <module name="rpm_control"/>

Module functions

Init Functions

These initialization functions are called once on startup.

  • rpm_control_init()

Periodic Functions

These functions are called periodically at the specified frequency from the module periodic loop.

  • rpm_control_periodic()
    • Frequency in Hz: 512
    • Autorun: TRUE
      Periodic function automatically starts after init.

Files

Header Files

The following headers are automatically included in modules.h

Source Files

  • modules/ctrl/rpm_control.c

Raw rpm_control.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="rpm_control" dir="ctrl">
<doc>
<description>RPM controller with feedback</description>
</doc>
<header>
<file name="rpm_control.h"/>
</header>
<init fun="rpm_control_init()"/>
<periodic fun="rpm_control_periodic()" freq="512" autorun="TRUE"/>
<makefile>
<file name="rpm_control.c"/>
</makefile>
</module>