Paparazzi UAS  v5.14.0_stable-0-g3f680d1
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.


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">
<description>RPM controller with feedback</description>
<file name="rpm_control.h"/>
<init fun="rpm_control_init()"/>
<periodic fun="rpm_control_periodic()" freq="512" autorun="TRUE"/>
<file name="rpm_control.c"/>