Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Flight time calculator

Module XML file: flight_time.xml

Allows to check how much time is left before the end of the competition.

Module functions

Init Functions

These initialization functions are called once on startup.

Periodic Functions

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

  • flight_time_periodic()
    • Frequency in Hz: 1
    • 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 flight_time.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="flight_time" dir="time">
<doc>
<description>
Flight time calculator
Allows to check how much time is left before the end of the competition.
</description>
</doc>
<header>
<file name="flight_time.h"/>
</header>
<init fun="flight_time_init()"/>
<periodic fun="flight_time_periodic()" freq="1"/> <!--(0.1171875) 1Hz only valid in case: the modules run a 512Hz but the module generator thinks it runs at 60Hz therefore the scaling factor should be 60/512-->
<makefile>
<file name="flight_time.c"/>
</makefile>
</module>