1
0
Fork 0

Minimum VLS correction

This commit is contained in:
Matthew Maring 2020-04-19 17:39:05 -04:00 committed by Jonathan Redpath
parent 75e1f50d58
commit c7ccadb458

View file

@ -313,6 +313,10 @@ var masterFMGC = maketimer(0.2, func {
vls = vs1g_conf_full * 1.23 vls = vs1g_conf_full * 1.23
} }
if (vls < 113) {
vls = 113;
}
if (!getprop("FMGC/internal/vapp-speed-set")) { if (!getprop("FMGC/internal/vapp-speed-set")) {
if (dest_wind < 5) { if (dest_wind < 5) {
vapp = vls + 5; vapp = vls + 5;
@ -363,6 +367,10 @@ var masterFMGC = maketimer(0.2, func {
vls_appr = vs1g_conf_full_appr * 1.23 vls_appr = vs1g_conf_full_appr * 1.23
} }
if (vls_appr < 113) {
vls_appr = 113;
}
if (!getprop("FMGC/internal/vapp-speed-set")) { if (!getprop("FMGC/internal/vapp-speed-set")) {
if (dest_wind < 5) { if (dest_wind < 5) {
vapp_appr = vls_appr + 5; vapp_appr = vls_appr + 5;