Files
paparazzi/conf/modules/preflight_checks.xml
NoahWe 6f47dfc720 [modules] Update checklist and add bypass logging (#3342)
* New checklist item and log bypass

* address comments
2024-08-08 16:08:56 +02:00

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>