Example Horizontal Outerloop Control Module (#2323)

This commit is contained in:
Christophe De Wagter
2018-09-12 10:48:30 +02:00
committed by Gautier Hattenberger
parent fa1d537b8b
commit 10fc3aa534
8 changed files with 178 additions and 12 deletions
@@ -0,0 +1,31 @@
<!DOCTYPE module SYSTEM "module.dtd">
<module name="ctrl_module_demo" dir="ctrl">
<doc>
<description>
Demo Control Module.
Only for rotorcraft firmware.
Simple rate controler as example on how to integrate write and call your own controller in a module.
</description>
</doc>
<settings>
<dl_settings>
<dl_settings NAME="CtrlModDemo">
<dl_setting var="ctrl_module_demo_pr_ff_gain" min="0" step="0.01" max="1" module="ctrl/ctrl_module_innerloop_demo" shortname="pr_ff"/>
<dl_setting var="ctrl_module_demo_pr_d_gain" min="0" step="0.01" max="1" module="ctrl/ctrl_module_innerloop_demo" shortname="pr_d"/>
<dl_setting var="ctrl_module_demo_y_ff_gain" min="0" step="0.01" max="1" module="ctrl/ctrl_module_innerloop_demo" shortname="y_ff"/>
<dl_setting var="ctrl_module_demo_y_d_gain" min="0" step="0.01" max="1" module="ctrl/ctrl_module_innerloop_demo" shortname="y_d"/>
</dl_settings>
</dl_settings>
</settings>
<header>
<file name="ctrl_module_innerloop_demo.h"/>
</header>
<makefile>
<file name="ctrl_module_innerloop_demo.c"/>
</makefile>
</module>