Simulated AHRS and INS.
No detailed description...
Example for airframe file
Add to your firmware section:
1 <module name="ins_sim"/>
Auto-loaded modules
The following modules are automatically loaded (just as if you had added them in the airframe file)
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">
<doc>
<description>
Simulated AHRS and INS.
</description>
</doc>
<autoload name="gps_sim"/>
<header>
<file name="ins_gps_passthrough.h" dir="subsystems/ins"/>
</header>
<init fun="ins_gps_passthrough_init()"/>
<makefile target="sim">
<file name="ahrs.c" dir="subsystems"/>
<file name="ahrs_sim.c" dir="subsystems/ahrs"/>
<define name="USE_AHRS"/>
<define name="AHRS_TYPE_H" value="subsystems/ahrs/ahrs_sim.h" type="string"/>
<file name="ins.c" dir="subsystems"/>
<file name="ins_gps_passthrough_utm.c" dir="subsystems/ins"/>
<define name="INS_TYPE_H" value="subsystems/ins/ins_gps_passthrough.h" type="string"/>
</makefile>
</module>