From e9d9a4787233f5323f4fb0c48f8eaf5fafc8ac44 Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Wed, 13 Feb 2019 21:08:14 -0500 Subject: [PATCH] DU: SlipSkid indicator behavior fixed --- Models/Instruments/PFD/PFD.nas | 4 ++-- Systems/pfd.xml | 20 ++++++++++++++++++++ revision.txt | 2 +- 3 files changed, 23 insertions(+), 3 deletions(-) diff --git a/Models/Instruments/PFD/PFD.nas b/Models/Instruments/PFD/PFD.nas index f9c39a96..98c2bacb 100644 --- a/Models/Instruments/PFD/PFD.nas +++ b/Models/Instruments/PFD/PFD.nas @@ -88,7 +88,7 @@ var at_input_spd_kts = props.globals.getNode("/it-autoflight/input/spd-kts", 1); var fd_roll = props.globals.getNode("/it-autoflight/fd/roll-bar", 1); var fd_pitch = props.globals.getNode("/it-autoflight/fd/pitch-bar", 1); var decision = props.globals.getNode("/instrumentation/mk-viii/inputs/arinc429/decision-height", 1); -var skid_slip = props.globals.getNode("/instrumentation/slip-skid-ball/indicated-slip-skid", 1); +var slip_skid = props.globals.getNode("/instrumentation/pfd/slip-skid", 1); var FMGCphase = props.globals.getNode("/FMGC/status/phase", 1); var loc = props.globals.getNode("/instrumentation/nav[0]/heading-needle-deflection-norm", 1); var gs = props.globals.getNode("/instrumentation/nav[0]/gs-needle-deflection-norm", 1); @@ -732,7 +732,7 @@ var canvas_PFD_base = { me.AI_horizon_ground_rot.setRotation(-roll_cur * D2R, me["AI_center"].getCenter()); me.AI_horizon_sky_rot.setRotation(-roll_cur * D2R, me["AI_center"].getCenter()); - me["AI_slipskid"].setTranslation(math.clamp(skid_slip.getValue(), -7, 7) * -15, 0); + me["AI_slipskid"].setTranslation(math.clamp(slip_skid.getValue(), -15, 15) * 7, 0); me["AI_bank"].setRotation(-roll_cur * D2R); if (fbw_law.getValue() == 0) { diff --git a/Systems/pfd.xml b/Systems/pfd.xml index 6d57329d..6e7bf074 100644 --- a/Systems/pfd.xml +++ b/Systems/pfd.xml @@ -337,5 +337,25 @@ /instrumentation/pfd/vs-digit-trans + + + Speed Predictor Exponential + false + exponential + + + /fdm/jsbsim/position/wow + + + + /fdm/jsbsim/accelerations/Ny + -25 + + + + /fdm/jsbsim/aero/beta-deg + /instrumentation/pfd/slip-skid + 0.16 + diff --git a/revision.txt b/revision.txt index fad0b619..ba238e12 100644 --- a/revision.txt +++ b/revision.txt @@ -1 +1 @@ -4761 \ No newline at end of file +4762 \ No newline at end of file