Paparazzi UAS  v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ctrl_module_innerloop_demo module

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.

Example for airframe file

Add to your firmware section:

1 <module name="ctrl_module_innerloop_demo"/>

Files

Header Files

The following headers are automatically included in modules.h

Source Files

Raw ctrl_module_innerloop_demo.xml file:

<!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>