-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[checks] Add preflight checks (#2951)
--------- Co-authored-by: Christophe De Wagter <dewagter@gmail.com> Co-authored-by: Gautier Hattenberger <gautier.hattenberger@enac.fr>
- Loading branch information
1 parent
80ad17c
commit 7b54c09
Showing
35 changed files
with
594 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<!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> | ||
<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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.