From 83e512f47164b0f9b9aa92e6ccfc02dd092f2976 Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Thu, 7 Mar 2019 22:56:34 -0500 Subject: [PATCH] Control: Fix many FlyByWire bugs, including jerk after liftoff (fixes #81) --- Systems/a320-fcs.xml | 79 +++++++++++++++++++++++++++++++++++++++++--- revision.txt | 2 +- 2 files changed, 76 insertions(+), 5 deletions(-) diff --git a/Systems/a320-fcs.xml b/Systems/a320-fcs.xml index 22b74799..9e5003f6 100644 --- a/Systems/a320-fcs.xml +++ b/Systems/a320-fcs.xml @@ -9,6 +9,7 @@ fbw/pitch/pid fbw/yaw/tc-pd fbw/spoiler-output + fbw/mixer/sidestick-gain-feedback fbw/roll/p-gain @@ -210,6 +211,40 @@ 1.0 + + + + position/wow eq 1 + fbw/mixer/sidestick-gain-feedback eq 1 + + + position/wow eq 1 + fbw/mixer/sidestick-gain-feedback ne 1 + + + position/wow eq 0 + fbw/mixer/sidestick-gain-feedback eq 0 + + + + + position/wow + fbw/mixer/rate-limit + fbw/mixer/sidestick-gain-feedback + + + + + + fbw/mixer/sidestick-gain + + 0 1 + 1 0 + +
+
+
+ @@ -504,9 +539,28 @@ + + fbw/roll/pid + fbw/mixer/computer-gain + + + + fbw/roll/a-i-f + fbw/mixer/sidestick-gain + + + + fbw/mixer/roll/computer-demand + fbw/mixer/roll/sidestick-demand + + -1.0 + 1.0 + + + - + position/wow eq 0 /it-fbw/law eq 0 @@ -993,9 +1047,28 @@ + + fbw/pitch/pid-switched + fbw/mixer/computer-gain + + + + fbw/pitch/e-i-f + fbw/mixer/sidestick-gain + + + + fbw/mixer/pitch/computer-demand + fbw/mixer/pitch/sidestick-demand + + -1.0 + 1.0 + + + - + position/wow eq 0 fbw/pitch/law-switch eq 1 @@ -1223,8 +1296,6 @@ position/wow eq 1 - fbw/yaw/rudder-nul gt 0 - fbw/yaw/rudder-nul lt 0 /position/gear-agl-ft lt 50 fbw/yaw/autoland-switch eq 1 diff --git a/revision.txt b/revision.txt index 31bcaa76..b26d92eb 100644 --- a/revision.txt +++ b/revision.txt @@ -1 +1 @@ -4778 \ No newline at end of file +4779 \ No newline at end of file