1
0
Fork 0

Move to ITAF loop

This commit is contained in:
legoboyvdlp R 2021-06-16 14:59:37 +01:00
parent 53dcada429
commit 559800e05d
2 changed files with 4 additions and 4 deletions

View file

@ -254,6 +254,10 @@ var ITAF = {
Internal.vsTemp = Internal.vs.getValue();
Position.indicatedAltitudeFtTemp = Position.indicatedAltitudeFt.getValue();
# Update VLS / VMAX for autothrust
FMGCNodes.vmax.setValue(FMGCInternal.maxspeed);
FMGCNodes.vlsMin.setValue(FMGCInternal.vls_min);
# LNAV Engagement
if (Output.lnavArm.getBoolValue()) {
me.checkLNAV(1);

View file

@ -700,15 +700,12 @@ 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;
FMGCNodes.phase.setValue(newphase);
}
############################
# fuel
############################
@ -940,7 +937,6 @@ 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) {