Paparazzi UAS  v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
windturbine module

Windturbine

No detailed description...

Example for airframe file

Add to your firmware section:

1 <module name="trig_test.xml"/>
2 <module name="windturbine"/>

Dependencies

  • module__trig_test_xml

Module functions

Periodic Functions

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

  • windturbine_periodic()
    • Frequency in Hz: 10
    • 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 windturbine.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="windturbine" dir="meteo">
<doc>
<description></description>
</doc>
<depends>trig_test.xml</depends>
<header>
<file name="windturbine.h"/>
</header>
<periodic fun="windturbine_periodic()" freq="10"/>
<makefile>
<file name="windturbine.c"/>
<define name="TURBINE_ID" value="42"/>
</makefile>
</module>