[module] parachute (#3273)

This commit is contained in:
Christophe De Wagter
2024-05-23 11:15:42 +02:00
committed by GitHub
parent 35e90b5d2d
commit b29b94d811
11 changed files with 225 additions and 3 deletions
+23
View File
@@ -0,0 +1,23 @@
<!DOCTYPE module SYSTEM "module.dtd">
<module name="parachute" dir="safety">
<doc>
<description>This module keeps track of the current state of a rotating wing drone and desired state set by the RC or flightplan. Paramters are being scheduled in each change of a current state and desired state. Functions are defined in this module to call the actual state and desired state and set a desired state.</description>
<section name="PARACHUTE" prefix="PARACHUTE_">
</section>
</doc>
<settings>
<dl_settings>
<dl_settings NAME="RotWingState">
<dl_setting var="parachute.arming_method" min="0" step="1" max="2" values="OFF|AUTO|ALWAYS ON" shortname="arming"/>
</dl_settings>
</dl_settings>
</settings>
<header>
<file name="parachute.h"/>
</header>
<init fun="init_parachute()"/>
<periodic fun="periodic_parachute()" freq="50"/>
<makefile>
<file name="parachute.c"/>
</makefile>
</module>