From e0d9c90c81babd9ff671ed62cf6fd0c20023c230 Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Mon, 11 Feb 2019 18:50:04 -0500 Subject: [PATCH] VC: Make pedestal animations smooth --- Models/FlightDeck/a320.flightdeck.xml | 26 +++++++------- Systems/a320-fcs.xml | 50 +++++++++++++++++++++++++++ Systems/a320-spoiler.xml | 10 ++++++ 3 files changed, 73 insertions(+), 13 deletions(-) diff --git a/Models/FlightDeck/a320.flightdeck.xml b/Models/FlightDeck/a320.flightdeck.xml index 8311d277..c53edf50 100644 --- a/Models/FlightDeck/a320.flightdeck.xml +++ b/Models/FlightDeck/a320.flightdeck.xml @@ -630,7 +630,7 @@ rotate ParkBrk - controls/gear/brake-parking + fdm/jsbsim/fcs/brake-lever 90 ParkBrk.axis @@ -1640,7 +1640,7 @@ rotate Lcutoff - controls/engines/engine[0]/cutoff-switch + fdm/jsbsim/fcs/engine-cutoff[0] 0 0 1-70 @@ -1666,7 +1666,7 @@ rotate Rcutoff - controls/engines/engine[1]/cutoff-switch + fdm/jsbsim/fcs/engine-cutoff[1] 0 0 1-70 @@ -4520,7 +4520,7 @@ rotate FlapsLever - controls/flight/flap-lever + fdm/jsbsim/fcs/flap-lever 0 0 114 @@ -5567,7 +5567,7 @@ rotate SpdBrk - fdm/jsbsim/spoilers/speedbrake-nul + fdm/jsbsim/spoilers/main-lever 45 SpdBrk.axis @@ -5577,7 +5577,7 @@ translate SpdBrk - controls/flight/speedbrake-arm + fdm/jsbsim/spoilers/lever-arm -0.006 1 @@ -5589,7 +5589,7 @@ translate SpdBrk - controls/flight/speedbrake-arm + fdm/jsbsim/spoilers/lever-arm 0.006 0 @@ -5878,7 +5878,7 @@ Engine 1 throttle lever rotate thr_l - controls/engines/engine[0]/throttle-lever + fdm/jsbsim/fcs/throttle-lever[0] 0.00000 0 0.00999 0 @@ -5903,7 +5903,7 @@ Engine 1 throttle lever rev rotate thr_l - controls/engines/engine[0]/reverser + fdm/jsbsim/fcs/reverse-lever[0] -3.5 trim.axis @@ -5913,7 +5913,7 @@ Engine 1 throttle lever rev 2 rotate thr_l - controls/engines/engine[0]/throttle-rev + fdm/jsbsim/fcs/reverse-thr-lever[0] 0.00 0 0.50-20 @@ -5953,7 +5953,7 @@ Engine 2 throttle lever rotate thr_r - controls/engines/engine[1]/throttle-lever + fdm/jsbsim/fcs/throttle-lever[1] 0.00000 0 0.00999 0 @@ -5978,7 +5978,7 @@ Engine 2 throttle lever rev rotate thr_r - controls/engines/engine[1]/reverser + fdm/jsbsim/fcs/reverse-lever[1] -3.5 trim.axis @@ -5988,7 +5988,7 @@ Engine 2 throttle lever rev 2 rotate thr_r - controls/engines/engine[1]/throttle-rev + fdm/jsbsim/fcs/reverse-thr-lever[1] 0.00 0 0.50-20 diff --git a/Systems/a320-fcs.xml b/Systems/a320-fcs.xml index ac6935c8..0cbd2ef9 100644 --- a/Systems/a320-fcs.xml +++ b/Systems/a320-fcs.xml @@ -1691,11 +1691,56 @@ /engines/engine[1]/n2-actual /engines/engine[4]/n2 + + + /controls/engines/engine[0]/throttle-lever + 20 + + + + /controls/engines/engine[1]/throttle-lever + 20 + + + + /controls/engines/engine[0]/reverser + 20 + + + + /controls/engines/engine[1]/reverser + 20 + + + + /controls/engines/engine[0]/throttle-rev + 20 + + + + /controls/engines/engine[1]/throttle-rev + 20 + + + + /controls/engines/engine[0]/cutoff-switch + 20 + + + + /controls/engines/engine[1]/cutoff-switch + 20 + + + /controls/flight/flap-lever + 20 + + @@ -1905,6 +1950,11 @@ + + /controls/gear/brake-parking + 20 + + /services/chokes/nose 0.5 diff --git a/Systems/a320-spoiler.xml b/Systems/a320-spoiler.xml index d30e67a8..a145f885 100644 --- a/Systems/a320-spoiler.xml +++ b/Systems/a320-spoiler.xml @@ -84,6 +84,11 @@ + + spoilers/speedbrake-nul + 20 + + spoilers/speedbrake-nul spoilers/auto-speedbrake-cmd @@ -93,6 +98,11 @@ fbw/spoiler-output + + + /controls/flight/speedbrake-arm + 20 +