Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
gps_sim module

Simulated GPS

For simple fixedwing OCaml simulator. Does not model any GPS inaccuracies/noise.

Example for airframe file

Add to your firmware section:

<module name="gps_sim"/>

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 gps_sim.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="gps_sim" dir="gps" task="sensors">
<doc>
<description>
Simulated GPS
For simple fixedwing OCaml simulator. Does not model any GPS inaccuracies/noise.
</description>
</doc>
<dep>
<depends>gps</depends>
<provides>gps</provides>
</dep>
<header>
<file name="gps.h"/>
</header>
<init fun="gps_sim_init()"/>
<periodic fun="gps_sim_periodic_check()" freq="1." autorun="TRUE"/>
<makefile target="sim">
<file name="gps_sim.c"/>
<define name="GPS_TYPE_H" value="modules/gps/gps_sim.h" type="string"/>
<test/>
</makefile>
</module>