From 53dcada429e945c874fffe27809ab8c733aaa25b Mon Sep 17 00:00:00 2001 From: legoboyvdlp R Date: Wed, 16 Jun 2021 14:40:15 +0100 Subject: [PATCH] VLS / VMAX --> properties --- Nasal/FMGC/FMGC.nas | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Nasal/FMGC/FMGC.nas b/Nasal/FMGC/FMGC.nas index ba125b25..ba7eca87 100644 --- a/Nasal/FMGC/FMGC.nas +++ b/Nasal/FMGC/FMGC.nas @@ -265,6 +265,8 @@ var FMGCNodes = { v1: props.globals.initNode("/FMGC/internal/v1", 0, "DOUBLE"), v1set: props.globals.initNode("/FMGC/internal/v1-set", 0, "BOOL"), phase: props.globals.initNode("/FMGC/internal/phase", 0, "INT"), + vlsMin: props.globals.initNode("/FMGC/internal/vls-min", 0, "DOUBLE"), + vmax: props.globals.initNode("/FMGC/internal/vmax", 0, "DOUBLE"), }; ############ @@ -698,6 +700,7 @@ var masterFMGC = maketimer(0.2, func { } else { FMGCInternal.maxspeed = fmgc.FMGCInternal.vmo_mmo; } + FMGCNodes.vmax.setValue(FMGCInternal.maxspeed); if (newphase != FMGCInternal.phase) { # phase changed FMGCInternal.phase = newphase; @@ -937,6 +940,7 @@ var masterFMGC = maketimer(0.2, func { FMGCInternal.vls_min = FMGCInternal.vs1g_conf_full * 1.23; } } + FMGCNodes.vlsMin.setValue(FMGCInternal.vls_min); if (gear0 and flap < 5 and (state1 == "MCT" or state1 == "MAN THR" or state1 == "TOGA") and (state2 == "MCT" or state2 == "MAN THR" or state2 == "TOGA")) { if (!FMGCInternal.takeoffState) {