Skip to content

Commit

Permalink
[gps] optitrack always send heading (#1714)
Browse files Browse the repository at this point in the history
* [gps] optitrack separate makefile

Until now when flying with gps datalink (which we use for optitrack), you always need to define in your aiframe <define name="AHRS_HEADING_UPDATE_GPS_MIN_SPEED" value="0"/> to get heading updates.
  • Loading branch information
bartslinger authored and flixr committed Jun 14, 2016
1 parent 7e9fc87 commit 5205c1c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions conf/firmwares/subsystems/rotorcraft/gps_optitrack.makefile
@@ -0,0 +1,3 @@
include $(CFG_ROTORCRAFT)/gps_datalink.makefile
# Always zero to get heading update
ap.CFLAGS += -DAHRS_HEADING_UPDATE_GPS_MIN_SPEED=0

0 comments on commit 5205c1c

Please sign in to comment.