From 20fc17746ab81ab858a996f7e530e71ae924d77a Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Wed, 20 Dec 2017 22:08:37 -0500 Subject: [PATCH] A32X: Add proper Rudder Trim --- A320-main.xml | 1 + Models/FlightDeck/a320.flightdeck.xml | 2 +- Systems/a320-fcs.xml | 28 +++++++++++++++++++++---- Systems/hydraulics.xml | 30 +++++++++++++++++++++++++++ Systems/libraries.xml | 18 ---------------- 5 files changed, 56 insertions(+), 23 deletions(-) diff --git a/A320-main.xml b/A320-main.xml index bec69879..a1faff12 100644 --- a/A320-main.xml +++ b/A320-main.xml @@ -516,6 +516,7 @@ 0 0 0 + 0.0 0.0 0.0 0.0 diff --git a/Models/FlightDeck/a320.flightdeck.xml b/Models/FlightDeck/a320.flightdeck.xml index b657f861..1e6ae8b6 100644 --- a/Models/FlightDeck/a320.flightdeck.xml +++ b/Models/FlightDeck/a320.flightdeck.xml @@ -574,7 +574,7 @@ xy-plane number-value %2.1f - controls/flight/rudder-trim-deg + fdm/jsbsim/fcs/rudder-trim-cmd-deg false led.txf true diff --git a/Systems/a320-fcs.xml b/Systems/a320-fcs.xml index 5dd29c98..1b64a8d5 100644 --- a/Systems/a320-fcs.xml +++ b/Systems/a320-fcs.xml @@ -572,9 +572,29 @@ + + /controls/flight/rudder-trim + + -1.0 + 1.0 + + + -20.0 + 20.0 + + + + + /controls/flight/rudder-trim-fdm + + -0.8 + 0.8 + + + /controls/flight/rudder-fbw - /controls/flight/rudder-trim + hydraulics/rudder/trim-norm -1 1 @@ -782,9 +802,9 @@ /velocities/groundspeed-kt /controls/flight/rudder - -1 0 1 - 30.000 -70.0 0 70.0 - 30.001 -10.0 0 10.0 + -1 0 1 + 30.000 -70.0 0 70.0 + 30.001 -10.0 0 10.0 diff --git a/Systems/hydraulics.xml b/Systems/hydraulics.xml index e4f8eb5e..db526172 100644 --- a/Systems/hydraulics.xml +++ b/Systems/hydraulics.xml @@ -1159,6 +1159,10 @@ /controls/flight/spoiler-r-sum + + + + false @@ -1176,6 +1180,32 @@ 0.1 + + false + noise-spike + + + + + /systems/hydraulic/green-psi + 1500 + + + /systems/hydraulic/blue-psi + 1500 + + + /systems/hydraulic/yellow-psi + 1500 + + + + + /controls/flight/rudder-trim + /controls/flight/rudder-trim-fdm + 0.5 + + diff --git a/Systems/libraries.xml b/Systems/libraries.xml index 1cbb5aed..c653cf57 100644 --- a/Systems/libraries.xml +++ b/Systems/libraries.xml @@ -70,24 +70,6 @@ 0.0 - - Rudder Trim - gain - 1.0 - 0.05 - - - - /controls/flight/rudder-trim - -1-10.0 - 0 0.0 - 1 10.0 -
-
- - /controls/flight/rudder-trim-deg -
- FF 1 gain