1
0
Fork 0

FMGC: Sync with ITAF core pt1

This commit is contained in:
Josh Davidson 2022-03-12 12:06:59 -05:00
parent 49e1e62ca6
commit 6ebfec3503
3 changed files with 5 additions and 5 deletions

View file

@ -163,7 +163,7 @@ var Text = {
};
var Settings = {
reducAglFt: props.globals.initNode("/it-autoflight/settings/accel-agl-ft", 1500, "INT"), # Changable from MCDU, eventually set to 1500 above runway
accelFt: props.globals.initNode("/it-autoflight/settings/accel-ft", 1500, "INT"), # Changable from MCDU, eventually set to 1500 above runway
};
var Sound = {
@ -307,7 +307,7 @@ var ITAF = {
# FLCH Engagement
if (Text.vertTemp == "T/O CLB") {
me.checkFlch(Settings.reducAglFt.getValue());
me.checkFlch(Settings.accelFt.getValue());
}
# Altitude Capture/Sync Logic

View file

@ -35,7 +35,7 @@ var windsDidChange = 0;
var tempOverspeed = nil;
setprop("/position/gear-agl-ft", 0);
setprop("/it-autoflight/settings/accel-agl-ft", 1500); #eventually set to 1500 above runway
setprop("/it-autoflight/settings/accel-ft", 1500); #eventually set to 1500 above runway
setprop("/it-autoflight/internal/vert-speed-fpm", 0);
setprop("/instrumentation/nav[0]/nav-id", "XXX");
setprop("/instrumentation/nav[1]/nav-id", "XXX");
@ -604,7 +604,7 @@ var masterFMGC = maketimer(0.2, func {
# cruiseft_b = FMGCInternal.crzFt - 200;
state1 = systems.FADEC.detentText[0].getValue();
state2 = systems.FADEC.detentText[1].getValue();
accel_agl_ft = Settings.reducAglFt.getValue();
accel_agl_ft = Settings.accelFt.getValue();
gear0 = pts.Gear.wow[0].getBoolValue();
altSel = Input.alt.getValue();

View file

@ -1069,7 +1069,7 @@
<property>/FMGC/internal/accel-agl-ft</property>
</expression>
</input>
<output>/it-autoflight/settings/accel-agl-ft</output>
<output>/it-autoflight/settings/accel-ft</output>
</filter>
</PropertyList>