[gps] convert gps_datalink to module

This commit is contained in:
Felix Ruess
2016-06-17 11:00:19 +02:00
parent 21b9d4043b
commit 5a61011138
7 changed files with 99 additions and 82 deletions
+20
View File
@@ -0,0 +1,20 @@
<!DOCTYPE module SYSTEM "module.dtd">
<module name="gps_optitrack">
<doc>
<description>
Optitrack used as indoor GPS.
Uses the gps_datalink implementation, but additionally sets some other defines.
Optitrack can determine the heading of a vehicle, but GPS doesn't contain heading.
So as a hack optitrack sends the heading in the GPS course field.
</description>
</doc>
<autoload name="gps"/>
<autoload name="gps_datalink"/>
<autoload name="gps_nps"/>
<autoload name="gps_sim"/>
<makefile target="ap">
<define name="AHRS_HEADING_UPDATE_GPS_MIN_SPEED" value="0"/>
</makefile>
</module>