Bugfix the PFD
This commit is contained in:
parent
4e1bf0b60e
commit
f13a0f2b5a
2 changed files with 4 additions and 1 deletions
|
@ -397,7 +397,7 @@ var canvas_PFD_base = {
|
|||
|
||||
me["AI_agl"].setText(sprintf("%s", math.round(math.clamp(gear_agl_cur, 0, 2500))));
|
||||
|
||||
if (gear_agl_cur < 400 and pts.Velocities.groundspeedKt.getValue() > 50 and pts.Controls.Engines.Engine.throttlePos[0].getValue() < 0.78 and pts.Controls.Engines.Engine.throttlePos[1].getValue() < 0.78) {
|
||||
if (gear_agl_cur < 400 and pts.Velocities.groundspeedKt.getValue() > 50 and pts.Fdm.JSBsim.Fadec.detent[0].getValue() <= 3 and pts.Fdm.JSBsim.Fadec.detent[1].getValue() <= 3) {
|
||||
me["tailstrikeInd"].show();
|
||||
} else {
|
||||
me["tailstrikeInd"].hide();
|
||||
|
|
|
@ -104,6 +104,9 @@ var Fdm = {
|
|||
alpha: props.globals.getNode("/fdm/jsbsim/aero/alpha-deg"),
|
||||
alphaNorm: props.globals.getNode("/fdm/jsbsim/aero/alpha-deg-norm"),
|
||||
},
|
||||
Fadec: {
|
||||
detent: [props.globals.getNode("/fdm/jsbsim/fadec/control-1/detent"),props.globals.getNode("/fdm/jsbsim/fadec/control-2/detent")],
|
||||
},
|
||||
Fcs: {
|
||||
brake: [props.globals.getNode("/fdm/jsbsim/fcs/left-brake-cmd-norm"),props.globals.getNode("/fdm/jsbsim/fcs/right-brake-cmd-norm")],
|
||||
flapDeg: props.globals.getNode("/fdm/jsbsim/fcs/flap-pos-deg"),
|
||||
|
|
Loading…
Reference in a new issue