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

Module that automatically runs a doublet sequence on a list of actuators

No detailed description...

Example for airframe file

Add to your firmware section:

<module name="sys_id_auto_doublets"/>

Module configuration options

Airframe file section

  • section name: SYS_ID prefix: SYS_ID_
    • name AUTO_DOUBLETS_N_ACTUATORS value: 1
      Description: Number of doublets in the sequence
    • name AUTO_DOUBLETS_ACTUATORS value: {0}
      Description: List with SYS_ID_AUTO_DOUBLETS_N_ACTUATORS actuators
    • name AUTO_DOUBLETS_AMPLITUDE value: {5000}
      Description: List with SYS_ID_AUTO_DOUBLETS_N_ACTUATORS doublet amplitudes

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.

Files

Header Files

The following headers are automatically included in modules.h

Source Files

Raw sys_id_auto_doublets.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="sys_id_auto_doublets" dir="system_identification">
<doc>
<description>Module that automatically runs a doublet sequence on a list of actuators</description>
<section name="SYS_ID" prefix="SYS_ID_">
<define name="AUTO_DOUBLETS_N_ACTUATORS" value="1" description="Number of doublets in the sequence"/>
<define name="AUTO_DOUBLETS_ACTUATORS" value="{0}" description="List with SYS_ID_AUTO_DOUBLETS_N_ACTUATORS actuators"/>
<define name="AUTO_DOUBLETS_AMPLITUDE" value="{5000}" description="List with SYS_ID_AUTO_DOUBLETS_N_ACTUATORS doublet amplitudes"/>
</section>
</doc>
<settings>
<dl_settings NAME="AutoDoublet">
<dl_settings name="auto_doublet">
<dl_setting min="0" max="1" step="1" values="Inactive|Active" shortname="activated" var="sys_id_auto_doublets_activated" type="uint8_t" module="system_identification/sys_id_auto_doublets" handler="on_activation"/>
</dl_settings>
</dl_settings>
</settings>
<header>
<file name="sys_id_auto_doublets.h"/>
</header>
<init fun="init_sys_id_auto_doublets()"/>
<periodic fun="periodic_sys_id_auto_doublets()" freq="20.0"/>
<makefile>
<file name="sys_id_auto_doublets.c"/>
<test>
<define name="SYS_ID_AUTO_DOUBLETS_N_ACTUATORS" value="1" />
<define name="SYS_ID_AUTO_DOUBLETS_ACTUATORS" value="{0}" />
<define name="SYS_ID_AUTO_DOUBLETS_AMPLITUDE" value="{5000}" />
</test>
</makefile>
</module>