Simulated INS.
No detailed description...
Example for airframe file
Add to your firmware section:
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 ins_sim.xml file:
<!DOCTYPE module SYSTEM "module.dtd">
<module name="ins_sim" dir="ins" task="estimation">
<doc>
<description>
Simulated INS.
</description>
</doc>
<dep>
<depends>@imu,@gps</depends>
<provides>ins</provides>
</dep>
<header>
<file name="ins_gps_passthrough.h"/>
</header>
<init fun="ins_gps_passthrough_init()"/>
<makefile target="sim">
<file name="ins.c"/>
<file name="ins_gps_passthrough_utm.c"/>
<define name="INS_TYPE_H" value="modules/ins/ins_gps_passthrough.h" type="string"/>
<test firmware="rotorcraft">
<define name="PRIMARY_AHRS" value="ahrs_sim"/>
<define name="AHRS_TYPE_H" value="modules/ahrs/ahrs_sim.h" type="string"/>
</test>
</makefile>
</module>