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

Preform preflight checks before arming the motors and periodically while not armed for status information.

No detailed description...

Example for airframe file

Add to your firmware section:

<module name="preflight_checks"/>

Module configuration options

Airframe file section

  • section name: PREFLIGHT_CHECK prefix: PREFLIGHT_CHECK_
    • name MAX_MSGBUF value: 512
      Description: Maximum combined message size for storing the errors
    • name SEPERATOR value: ;
      Description: Seperating character for storing the errors
    • name INFO_TIMEOUT value: 5
      Description: Only send messages down every xx amount of seconds

Files

Header Files

The following headers are automatically included in modules.h

Source Files

Raw preflight_checks.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="preflight_checks" dir="checks" task="core">
<doc>
<description>
Preform preflight checks before arming the motors and periodically while not armed for status information.
</description>
<section name="PREFLIGHT_CHECK" prefix="PREFLIGHT_CHECK_">
<define name="MAX_MSGBUF" value="512" description="Maximum combined message size for storing the errors"/>
<define name="SEPERATOR" value=";" description="Seperating character for storing the errors"/>
<define name="INFO_TIMEOUT" value="5" description="Only send messages down every xx amount of seconds"/>
</section>
</doc>
<settings>
<dl_settings>
<dl_settings name="Checks">
<dl_setting var="preflight_bypass" min="0" max="1" step="1" values="FALSE|TRUE"/>
</dl_settings>
</dl_settings>
</settings>
<dep>
<depends>@datalink</depends>
</dep>
<header>
<file name="preflight_checks.h"/>
</header>
<makefile>
<define name="PREFLIGHT_CHECKS" value="true"/>
<file name="preflight_checks.c"/>
<test>
<define name="DOWNLINK_TRANSPORT" value="pprz_tp"/>
<define name="DOWNLINK_DEVICE" value="uart0"/>
<define name="USE_UART0"/>
</test>
</makefile>
</module>