Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
AUTO1 FLAPS/HATCH COMMANDS

Module XML file: auto1_commands.xml

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

Example for airframe file

1 <modules>
2  <load name="auto1_commands.xml"/>
3 </modules>

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="servo_switch">
<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>