From d43b161912142994378a9241277886589f47e120 Mon Sep 17 00:00:00 2001 From: Jonathan Redpath Date: Thu, 30 Jun 2022 13:40:34 +0100 Subject: [PATCH] Fix that GS MINI was causing excessive speeds - caused by confusion over thirding --- Nasal/FMGC/FMGC.nas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nasal/FMGC/FMGC.nas b/Nasal/FMGC/FMGC.nas index decb7b82..e8d40fb7 100644 --- a/Nasal/FMGC/FMGC.nas +++ b/Nasal/FMGC/FMGC.nas @@ -841,7 +841,7 @@ var masterFMGC = maketimer(0.2, func { windAngleDelta = geo.normdeg180(pts.Orientation.heading.getValue() - (pts.Instrumentation.PFD.windDirection.getValue() or 0)); FMGCInternal.currentWindComponent = pts.Instrumentation.PFD.windSpeed.getValue() or 0 * math.cos(abs(windAngleDelta) * D2R); - FMGCInternal.gsMini = FMGCInternal.vapp_appr - math.max(10, FMGCInternal.headwindComponent); + FMGCInternal.gsMini = FMGCInternal.vapp_appr - math.max(10, (FMGCInternal.headwindComponent * 3)); # because the headwind component nasal node is actually a third FMGCInternal.approachSpeed = math.max(FMGCInternal.vapp_appr, FMGCInternal.gsMini + FMGCInternal.currentWindComponent); FMGCNodes.vapp.setValue(FMGCInternal.vapp);