From 03cefb16b947aa7680cf6b9c8809d65489da13ef Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Wed, 31 May 2017 14:46:20 -0400 Subject: [PATCH] Hydraulic and FBW: Improve Flight Control Response, fix spoileron activation --- A320-main.xml | 1 + Systems/hydraulics.xml | 20 ++++++++-------- Systems/it-fbw-b.xml | 52 +++++++++++++++++++++++++++++++++++++----- Systems/it-fbw.xml | 20 ++++++++-------- 4 files changed, 67 insertions(+), 26 deletions(-) diff --git a/A320-main.xml b/A320-main.xml index 5e2c7307..cdd0d313 100644 --- a/A320-main.xml +++ b/A320-main.xml @@ -426,6 +426,7 @@ + 0 0 0.5 -0.5 diff --git a/Systems/hydraulics.xml b/Systems/hydraulics.xml index bda808a0..5c4cf66d 100644 --- a/Systems/hydraulics.xml +++ b/Systems/hydraulics.xml @@ -222,9 +222,9 @@ /surface-positions/speedbrake-pos-norm - /controls/flight/aileron-fbw - 0 0 - 1-0.5 + /controls/flight/spoiler-left-fbw-cmd + 0.2 0 + 1.0-0.5
@@ -275,8 +275,8 @@ - /controls/flight/aileron-fbw - 0.0 0 + /controls/flight/spoiler-left-fbw-cmd + -0.2 0-1.00.5
@@ -333,9 +333,9 @@ /surface-positions/speedbrake-pos-norm - /controls/flight/aileron-fbw - 0 0 - -1-0.5 + /controls/flight/spoiler-right-fbw-cmd + 0.2 0 + -1.0-0.5
@@ -386,8 +386,8 @@ - /controls/flight/aileron-fbw - 0.0 0 + /controls/flight/spoiler-right-fbw-cmd + 0.2 01.00.5
diff --git a/Systems/it-fbw-b.xml b/Systems/it-fbw-b.xml index 9aa6ce9e..70a8c9d5 100644 --- a/Systems/it-fbw-b.xml +++ b/Systems/it-fbw-b.xml @@ -5,14 +5,22 @@ + - + false - gain - 1.0 + noise-spike + /controls/flight/aileron + /controls/flight/aileron-input + 2.5 + + + + false + noise-spike @@ -61,6 +69,7 @@ /controls/flight/elevator /controls/flight/elevator-input + 2.5 @@ -178,7 +187,7 @@ - /controls/flight/aileron + /controls/flight/aileron-input @@ -189,11 +198,42 @@ 0 - /controls/flight/aileron-fbw + /controls/flight/roll-fbw noise-spike 10 + + IT-FBW: AILERON + gain + 1 + 0.05 + /controls/flight/roll-fbw + /controls/flight/aileron-fbw + + + + IT-FBW: LEFT SPOILER + gain + 1 + 0.05 + /controls/flight/roll-fbw + /controls/flight/spoiler-left-fbw-cmd + -1 + 0 + + + + IT-FBW: RIGHT SPOILER + gain + 1 + 0.05 + /controls/flight/roll-fbw + /controls/flight/spoiler-right-fbw-cmd + 0 + 1 + + @@ -321,7 +361,7 @@ - /controls/flight/elevator + /controls/flight/elevator-input diff --git a/Systems/it-fbw.xml b/Systems/it-fbw.xml index 5a47be0d..5aab3337 100644 --- a/Systems/it-fbw.xml +++ b/Systems/it-fbw.xml @@ -36,19 +36,19 @@ /it-fbw/roll-deg - /controls/flight/aileron + /controls/flight/aileron-input -1.0 -0.1 -0.7 -0.07 - -0.5 -0.045 - -0.3 -0.022 - -0.15 -0.008 - -0.05 -0.003 - 0.00 0.000 - 0.05 0.003 - 0.15 0.008 - 0.3 0.022 - 0.5 0.045 + -0.5 -0.04 + -0.3 -0.02 + -0.15 -0.01 + -0.05 -0.005 + 0.00 0.00 + 0.05 0.005 + 0.15 0.01 + 0.3 0.02 + 0.5 0.04 0.7 0.07 1.0 0.1