State Interface
Contains the state vector and all the necessary convertion functions
Example for airframe file
Add to your firmware section:
<module name="state_interface"/>
Module functions
Init Functions
These initialization functions are called once on startup.
Files
Header Files
The following headers are automatically included in modules.h
Source Files
Raw state_interface.xml file:
<!DOCTYPE module SYSTEM "module.dtd">
<module name="state_interface" dir="core" task="core">
<doc>
<description>
State Interface
Contains the state vector and all the necessary convertion functions
</description>
</doc>
<dep>
<depends>math</depends>
<provides>state</provides>
</dep>
<header>
<file name="state.h" dir="."/>
</header>
<init fun="stateInit()"/>
<makefile target="!fbw">
<file name="state.c" dir="."/>
<test/>
</makefile>
</module>