[gps][sim] separate gps_sim and gps_nps modules

This commit is contained in:
Felix Ruess
2016-04-23 16:21:10 +02:00
parent 8afa5f01b2
commit 2374f82a98
14 changed files with 75 additions and 98 deletions
+28
View File
@@ -0,0 +1,28 @@
<!DOCTYPE module SYSTEM "module.dtd">
<module name="gps_sim_hitl">
<doc>
<description>
Sim HITL GPS
Simulate GPS for HITL (HardwareInTheLoop) from rotorcrafts horizontal/vertical reference system.
</description>
<configure name="GPS_LED" value="2" description="LED number to indicate fix or none"/>
</doc>
<header>
<file name="gps.h" dir="subsystems"/>
</header>
<init fun="gps_sim_hitl_init()"/>
<!--periodic fun="gps_periodic_check()" freq="1." autorun="TRUE"/-->
<event fun="gps_sim_hitl_event()"/>
<makefile target="ap" firmware="rotorcraft">
<configure name="GPS_LED" default="none"/>
<file name="gps.c" dir="subsystems"/>
<file name="gps_sim_hitl.c" dir="subsystems/gps"/>
<define name="HITL"/>
<define name="USE_GPS"/>
<define name="GPS_LED" value="$(GPS_LED)" cond="ifneq ($(GPS_LED),none)"/>
<define name="GPS_TYPE_H" value="subsystems/gps/gps_sim_hitl.h" type="string"/>
</makefile>
</module>