Paparazzi UAS  v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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:

1 <module name="gps_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.

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">
<doc>
<description>
Simulated GPS
For simple fixedwing OCaml simulator. Does not model any GPS inaccuracies/noise.
</description>
</doc>
<autoload name="gps"/>
<header>
<file name="gps.h" dir="subsystems"/>
</header>
<init fun="gps_sim_init()"/>
<periodic fun="gps_sim_periodic_check()" freq="1." autorun="TRUE"/>
<makefile target="sim">
<file name="gps_sim.c" dir="subsystems/gps"/>
<define name="GPS_TYPE_H" value="subsystems/gps/gps_sim.h" type="string"/>
</makefile>
</module>