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

Settings interface

No detailed description...

Example for airframe file

Add to your firmware section:

<module name="settings"/>

Module functions

Init Functions

These initialization functions are called once on startup.

Datalink Functions

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

  • on message SETTING call settings_parse_msg_SETTING(dev,trans,buf)
  • on message GET_SETTING call settings_parse_msg_GET_SETTING(dev,trans,buf)

Files

Header Files

The following headers are automatically included in modules.h

Source Files

Raw settings.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="settings" dir="core" task="core">
<doc>
<description>
Settings interface
</description>
</doc>
<dep>
<provides>settings</provides>
</dep>
<header>
<file name="settings.h"/>
</header>
<init fun="settings_init()"/>
<datalink message="SETTING" fun="settings_parse_msg_SETTING(dev,trans,buf)"/>
<datalink message="GET_SETTING" fun="settings_parse_msg_GET_SETTING(dev,trans,buf)"/>
<makefile target="!fbw">
<file name="settings.c"/>
<file_arch name="settings_arch.c"/>
<test/>
</makefile>
</module>