Altitude filter
(not used for A/C estimation and control, only debug)
Example for airframe file
Add to your firmware section:
<module name="alt_filter"/>
Module functions
Init Functions
These initialization functions are called once on startup.
Periodic Functions
These functions are called periodically at the specified frequency from the module periodic loop.
- alt_filter_periodic()
- Frequency in Hz: 60.
- Autorun: LOCK
Periodic function automatically starts after init and can't be stopped.
Files
Header Files
The following headers are automatically included in modules.h
Source Files
Raw alt_filter.xml file:
<!DOCTYPE module SYSTEM "module.dtd">
<module name="alt_filter" dir="ins">
<doc>
<description>
Altitude filter
(not used for A/C estimation and control, only debug)
</description>
</doc>
<header>
<file name="alt_filter.h"/>
</header>
<init fun="alt_filter_init()"/>
<periodic fun="alt_filter_periodic()" freq="60."/>
<makefile>
<file name="alt_filter.c"/>
</makefile>
</module>