diff --git a/Nasal/FMGC/FMGC-b.nas b/Nasal/FMGC/FMGC-b.nas index 387763f8..c154673a 100644 --- a/Nasal/FMGC/FMGC-b.nas +++ b/Nasal/FMGC/FMGC-b.nas @@ -124,6 +124,7 @@ var Internal = { fpa: props.globals.initNode("/it-autoflight/internal/fpa", 0, "DOUBLE"), hdgErrorDeg: props.globals.initNode("/it-autoflight/internal/heading-error-deg", 0, "DOUBLE"), hdgPredicted: props.globals.initNode("/it-autoflight/internal/heading-predicted", 0, "DOUBLE"), + hdgTrk: props.globals.initNode("/it-autoflight/internal/heading", 0, "DOUBLE"), lnavAdvanceNm: props.globals.initNode("/it-autoflight/internal/lnav-advance-nm", 0, "DOUBLE"), minVs: props.globals.initNode("/it-autoflight/internal/min-vs", -500, "INT"), maxVs: props.globals.initNode("/it-autoflight/internal/max-vs", 500, "INT"), diff --git a/Systems/fmgc-drivers.xml b/Systems/fmgc-drivers.xml index 0c500ce7..9a5703d5 100644 --- a/Systems/fmgc-drivers.xml +++ b/Systems/fmgc-drivers.xml @@ -486,6 +486,23 @@ /instrumentation/pfd/track-deg + + Heading/Track Deg + gain + 1.0 + + + + /it-autoflight/input/trk + 1 + + + /it-autoflight/internal/track-deg + + /it-autoflight/internal/heading-deg + /it-autoflight/internal/heading + + Drift Angle gain @@ -497,10 +514,10 @@ 1 - /orientation/heading-magnetic-deg + /orientation/heading-deg - /orientation/track-magnetic-deg - /orientation/heading-magnetic-deg + /orientation/track-deg + /orientation/heading-deg /it-autoflight/internal/drift-angle-deg -180 @@ -515,7 +532,7 @@ /fdm/jsbsim/velocities/vc-kts - 14050 + 1404036020
@@ -532,39 +549,14 @@ 1.0 - - - /it-autoflight/output/lat - 0 - - - /it-autoflight/input/trk - 0 - - + + /it-autoflight/output/lat + 0 + /it-autoflight/input/hdg - /it-autoflight/internal/heading-deg - -1.0 - - - - - - - /it-autoflight/output/lat - 0 - - - /it-autoflight/input/trk - 1 - - - - /it-autoflight/input/hdg - - /it-autoflight/internal/track-deg + /it-autoflight/internal/heading -1.0