Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
ins_gps_passthrough module

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!

<module name="ins_gps_passthrough">
b'<define name="INS_PT_GPS_ID" value="GPS_MULTI_ID" />\n '
</module>

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"/>
<test firmware="rotorcraft"/>
</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>
<makefile target="ap" firmware="rover">
<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>
</module>