Shake the RPAS for 1 second to start engines
No detailed description...
Example for airframe file
Add to your firmware section:
<module name="nav_shakestart"/>
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.
Files
Header Files
The following headers are automatically included in modules.h
Source Files
Raw nav_shakestart.xml file:
<!DOCTYPE module SYSTEM "module.dtd">
<module name="nav_shakestart" dir="nav">
<doc>
<description>Shake the RPAS for 1 second to start engines</description>
</doc>
<header>
<file name="nav_shakestart.h"/>
</header>
<init fun="nav_shakestart_init()"/>
<periodic fun="nav_shakestart_periodic()" freq="20.0" autorun="TRUE"/>
<makefile>
<file name="nav_shakestart.c"/>
<test firmware="fixedwing">
<define name="CTRL_TYPE_H" value="firmwares/fixedwing/guidance/guidance_v.h" type="string"/>
</test>
</makefile>
</module>