Paparazzi UAS  v5.18.0_stable-1-g6993852-dirty
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
meteo_france_daq module

Data acquisition board used by Meteo France

No detailed description...

Example for airframe file

Add to your firmware section:

1 <module name="meteo_france_DAQ"/>

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.

  • mf_daq_send_state()
    • Frequency in Hz: 10.
    • Autorun: LOCK
      Periodic function automatically starts after init and can't be stopped.
  • mf_daq_send_report()
    • Frequency in Hz: 1.
    • Autorun: TRUE
      Periodic function automatically starts after init.

Datalink Functions

Whenever the specified datalink message is received, the corresponing handler function is called.

  • on message PAYLOAD_FLOAT call parse_mf_daq_msg(buf)


Header Files

The following headers are automatically included in modules.h

Source Files

Raw meteo_france_DAQ.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="meteo_france_DAQ" dir="meteo">
<description>Data acquisition board used by Meteo France</description>
<dl_settings NAME="MF DAQ control">
<dl_settings NAME="MF DAQ">
<dl_setting MAX="1" MIN="0" STEP="1" VAR="mf_daq.power" module="meteo/meteo_france_DAQ" handler="SetPower" values="OFF|ON">
<strip_button name="MF DAQ power on" icon="on.png" value="1" group="MF_DAQ"/>
<strip_button name="MF DAQ power off" icon="off.png" value="0" group="MF_DAQ"/>
<file name="meteo_france_DAQ.h"/>
<init fun="init_mf_daq()"/>
<periodic fun="mf_daq_send_state()" freq="10."/>
<periodic fun="mf_daq_send_report()" freq="1." autorun="TRUE"/>
<datalink message="PAYLOAD_FLOAT" fun="parse_mf_daq_msg(buf)"/>
<makefile target="ap">
<file name="meteo_france_DAQ.c"/>