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

Wind Gfi

No detailed description...

Example for airframe file

Add to your firmware section:

1 <module name="wind_gfi"/>

Module functions

Init Functions

These initialization functions are called once on startup.

Event Functions

These event functions are called in each cycle of the module event loop.

Periodic Functions

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

  • wind_gfi_periodic()
    • Frequency in Hz: 4
    • Delay: 2
      Integer to impose a sequence (between 0 and main_freq/function_freq)
    • Autorun: LOCK
      Periodic function automatically starts after init and can't be stopped.

Files

Header Files

The following headers are automatically included in modules.h

Source Files

Raw wind_gfi.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="wind_gfi" dir="meteo">
<doc>
<description></description>
</doc>
<header>
<file name="wind_gfi.h"/>
</header>
<init fun="wind_gfi_init()"/>
<periodic fun="wind_gfi_periodic()" freq="4" delay="2"/>
<event fun="wind_gfi_event()"/>
<makefile target="ap">
<file name="wind_gfi.c"/>
<configure name="ZERO_OFFSET_DEGREES" value="56."/>
</makefile>
</module>