mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-02-05 18:51:00 +08:00
40 lines
1.6 KiB
XML
40 lines
1.6 KiB
XML
<!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"/>
|
|
<define name="GROUND" value="TRUE" description="Enable groundstation checklist"/>
|
|
<define name="BYPASS" value="FALSE" description="Bypass all checks for arming"/>
|
|
</section>
|
|
</doc>
|
|
<settings>
|
|
<dl_settings>
|
|
<dl_settings name="Checks">
|
|
<dl_setting var="preflight_bypass" shortname="bypass" min="0" max="1" step="1" values="FALSE|TRUE" handler="log_bypass" module="checks/preflight_checks"/>
|
|
<dl_setting var="preflight_ground_done" shortname="ground_done" 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>
|