Fixed No such member: groundspeed
Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
parent
47749c8974
commit
327ca1b839
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue