Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
wind_gfi module

Wind Gfi

No detailed description...

Example for airframe file

Add to your firmware section:

<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: 0.13
      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="0.13"/>
<event fun="wind_gfi_event()"/>
<makefile target="ap">
<file name="wind_gfi.c"/>
<configure name="ZERO_OFFSET_DEGREES" value="56."/>
</makefile>
</module>