Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
auto1_commands module

AUTO1 FLAPS/HATCH COMMANDS.

Enable RC controlled HATCH and BRAKE/FLAPS in both MANUAL and AUTO1, while automatic in AUTO2.

Example for airframe file

Add to your firmware section:

1 <module name="auto1_commands"/>

Module functions

Periodic Functions

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

  • periodic_auto1_commands()
    • Running at maximum module frequency.
    • Autorun: TRUE
      Periodic function automatically starts after init.

Files

Header Files

The following headers are automatically included in modules.h

Source Files

Raw auto1_commands.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="auto1_cmd" dir="switching">
<doc>
<description>AUTO1 FLAPS/HATCH COMMANDS.
Enable RC controlled HATCH and BRAKE/FLAPS in both MANUAL and AUTO1, while automatic in AUTO2.
</description>
</doc>
<header>
<file name="auto1_commands.h"/>
</header>
<periodic fun="periodic_auto1_commands()" autorun="TRUE"/>
<makefile>
<file name="auto1_commands.c"/>
</makefile>
</module>