From ff57e4d2f683844854684a64f352c2a6dd366de4 Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Thu, 21 Dec 2017 14:05:14 -0500 Subject: [PATCH] A3XX: FMGC: Fix missing drift-angle calculator, causing NAV to do bad tracking in crosswinds --- Systems/fmgc-drivers.xml | 15 ++++++++++++++- revision.txt | 2 +- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/Systems/fmgc-drivers.xml b/Systems/fmgc-drivers.xml index c65b8ec9..381962c3 100644 --- a/Systems/fmgc-drivers.xml +++ b/Systems/fmgc-drivers.xml @@ -438,6 +438,19 @@ /instrumentation/pfd/track-deg + + DRIFT ANGLE + gain + 1.0 + /orientation/track-magnetic-deg + /orientation/heading-magnetic-deg + /it-autoflight/internal/drift-angle-deg + + -180 + 180 + + + HEADING ERROR DEG false @@ -492,7 +505,7 @@ /autopilot/route-manager/wp[0]/true-bearing-deg - /autopilot/internal/drift-angle-deg + /it-autoflight/internal/drift-angle-deg -1 diff --git a/revision.txt b/revision.txt index 1067581f..97885853 100644 --- a/revision.txt +++ b/revision.txt @@ -1 +1 @@ -4106 \ No newline at end of file +4107 \ No newline at end of file