Autoland light on pitch mode LAND and faster light pulse
This commit is contained in:
parent
f603613e47
commit
d6f84d4570
2 changed files with 6 additions and 6 deletions
|
@ -166,7 +166,7 @@ var dhFlash = props.globals.initNode("/instrumentation/pfd/flash-indicators/dh-f
|
||||||
|
|
||||||
var autoland_alarm = props.globals.initNode("/instrumentation/pfd/logic/autoland/autoland-alarm", 0, "BOOL");
|
var autoland_alarm = props.globals.initNode("/instrumentation/pfd/logic/autoland/autoland-alarm", 0, "BOOL");
|
||||||
var autoland_pulse = props.globals.initNode("/instrumentation/pfd/logic/autoland/autoland-sw-pulse", 0, "BOOL");
|
var autoland_pulse = props.globals.initNode("/instrumentation/pfd/logic/autoland/autoland-sw-pulse", 0, "BOOL");
|
||||||
var autoland_flare_mode = props.globals.initNode("/instrumentation/pfd/logic/autoland/flare-mode", 0, "BOOL");
|
var autoland_pitch_land = props.globals.initNode("/instrumentation/pfd/logic/autoland/pitch-land", 0, "BOOL");
|
||||||
|
|
||||||
var canvas_PFD_base = {
|
var canvas_PFD_base = {
|
||||||
init: func(canvas_group, file) {
|
init: func(canvas_group, file) {
|
||||||
|
@ -2969,7 +2969,7 @@ var dhTimer = maketimer(0.50, func {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
var autolandTimer = maketimer(1.0, func {
|
var autolandTimer = maketimer(0.5, func {
|
||||||
if (autoland_pulse.getBoolValue()) {
|
if (autoland_pulse.getBoolValue()) {
|
||||||
autoland_pulse.setBoolValue(0);
|
autoland_pulse.setBoolValue(0);
|
||||||
} else {
|
} else {
|
||||||
|
@ -2988,9 +2988,9 @@ setlistener(autoland_alarm, func(alarm) {
|
||||||
}, 0, 0);
|
}, 0, 0);
|
||||||
|
|
||||||
setlistener(pitch_mode, func(pitch) {
|
setlistener(pitch_mode, func(pitch) {
|
||||||
if (pitch.getValue() == "FLARE") {
|
if (pitch.getValue() == "LAND") {
|
||||||
autoland_flare_mode.setBoolValue(1);
|
autoland_pitch_land.setBoolValue(1);
|
||||||
} else {
|
} else {
|
||||||
autoland_flare_mode.setBoolValue(0);
|
autoland_pitch_land.setBoolValue(0);
|
||||||
}
|
}
|
||||||
},0,0);
|
},0,0);
|
||||||
|
|
|
@ -2326,7 +2326,7 @@
|
||||||
<test logic="AND" value="1">
|
<test logic="AND" value="1">
|
||||||
/instrumentation/pfd/logic/autoland/autoland-armed eq 1
|
/instrumentation/pfd/logic/autoland/autoland-armed eq 1
|
||||||
<!-- /modes/pfd/fma/pitch-mode eq "LAND" -->
|
<!-- /modes/pfd/fma/pitch-mode eq "LAND" -->
|
||||||
/instrumentation/pfd/logic/autoland/flare-mode eq 1
|
/instrumentation/pfd/logic/autoland/pitch-land eq 1
|
||||||
<test logic="OR">
|
<test logic="OR">
|
||||||
<test logic="AND">
|
<test logic="AND">
|
||||||
/it-autoflight/output/ap1 eq 0
|
/it-autoflight/output/ap1 eq 0
|
||||||
|
|
Loading…
Reference in a new issue