INS which just passes GPS through.
No detailed description...
Example for airframe file
Add to your firmware section: This example contains all possible configuration options, not all of them are mandatory!
1 <module name="ins_gps_passthrough">
2 <define name="INS_PT_GPS_ID" value="GPS_MULTI_ID" />
Module configuration options
Define Options
- name:
INS_PT_GPS_ID
value: GPS_MULTI_ID
Description: ABI sender ID of the GPS to use
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_gps_passthrough.xml file:
<!DOCTYPE module SYSTEM "module.dtd">
<module name="ins_gps_passthrough" dir="ins">
<doc>
<description>
INS which just passes GPS through.
</description>
<define name="INS_PT_GPS_ID" value="GPS_MULTI_ID" description="ABI sender ID of the GPS to use"/>
</doc>
<header>
<file name="ins_gps_passthrough.h" dir="subsystems/ins"/>
</header>
<init fun="ins_gps_passthrough_init()"/>
<makefile target="ap|nps" firmware="rotorcraft">
<define name="INS_TYPE_H" value="subsystems/ins/ins_gps_passthrough.h" type="string"/>
<file name="ins.c" dir="subsystems"/>
<file name="ins_gps_passthrough.c" dir="subsystems/ins"/>
</makefile>
<makefile target="ap|sim|nps" firmware="fixedwing">
<define name="INS_TYPE_H" value="subsystems/ins/ins_gps_passthrough.h" type="string"/>
<file name="ins.c" dir="subsystems"/>
<file name="ins_gps_passthrough_utm.c" dir="subsystems/ins"/>
</makefile>
</module>