From 5205c1ce56539fb10b48eec03e7cbaaeb0278069 Mon Sep 17 00:00:00 2001 From: Bart Slinger Date: Tue, 14 Jun 2016 10:04:14 +0200 Subject: [PATCH] [gps] optitrack always send heading (#1714) * [gps] optitrack separate makefile Until now when flying with gps datalink (which we use for optitrack), you always need to define in your aiframe to get heading updates. --- conf/firmwares/subsystems/rotorcraft/gps_optitrack.makefile | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 conf/firmwares/subsystems/rotorcraft/gps_optitrack.makefile diff --git a/conf/firmwares/subsystems/rotorcraft/gps_optitrack.makefile b/conf/firmwares/subsystems/rotorcraft/gps_optitrack.makefile new file mode 100644 index 00000000000..39e3410af68 --- /dev/null +++ b/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