1
0
Fork 0

Fixed No such member: groundspeed

Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
fly 2022-06-25 22:00:41 +02:00
parent 47749c8974
commit 327ca1b839

View file

@ -379,7 +379,7 @@ var ITAF = {
# Waypoint Advance Logic
if (flightPlanController.num[2].getValue() > 0 and FPLN.activeTemp == 1 and FPLN.currentWPTemp != -1) {
if ((FPLN.currentWPTemp + 1) < flightPlanController.num[2].getValue()) {
Velocities.groundspeedMps = pts.Velocities.groundspeed.getValue() * 0.5144444444444;
Velocities.groundspeedMps = pts.Velocities.groundspeedKt.getValue() * 0.5144444444444;
FPLN.currentCourse = getprop("/autopilot/route-manager/route/wp[" ~ FPLN.currentWPTemp ~ "]/leg-bearing-true-deg");
FPLN.nextCourse = getprop("/autopilot/route-manager/route/wp[" ~ (FPLN.currentWPTemp + 1) ~ "]/leg-bearing-true-deg");
FPLN.maxBankLimit = Internal.bankLimit.getValue();