Sim HITL GPS
Simulate GPS for HITL (HardwareInTheLoop) from rotorcrafts horizontal/vertical reference system.
Example for airframe file
Add to your firmware section:
1 <module name="gps_sim_hitl"/>
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.
Event Functions
These event functions are called in each cycle of the module event loop.
Files
Header Files
The following headers are automatically included in modules.h
Source Files
Raw gps_sim_hitl.xml file:
<!DOCTYPE module SYSTEM "module.dtd">
<module name="gps_sim_hitl" dir="gps">
<doc>
<description>
Sim HITL GPS
Simulate GPS for HITL (HardwareInTheLoop) from rotorcrafts horizontal/vertical reference system.
</description>
</doc>
<autoload name="gps"/>
<autoload name="gps_nps"/>
<header>
<file name="gps.h" dir="subsystems"/>
</header>
<init fun="gps_sim_hitl_init()"/>
<event fun="gps_sim_hitl_event()"/>
<makefile target="ap" firmware="rotorcraft">
<file name="gps_sim_hitl.c" dir="subsystems/gps"/>
<define name="HITL"/>
<define name="GPS_TYPE_H" value="subsystems/gps/gps_sim_hitl.h" type="string"/>
</makefile>
</module>