From b612f6ff8671a3873fba249150b043443fdf9b65 Mon Sep 17 00:00:00 2001 From: Josh Davidson Date: Sat, 16 Oct 2021 17:42:52 -0400 Subject: [PATCH] Control: Fix transition from ground to flight --- Systems/a320-fbw.xml | 103 +++++++++++++++++++++++++++++++------------ 1 file changed, 75 insertions(+), 28 deletions(-) diff --git a/Systems/a320-fbw.xml b/Systems/a320-fbw.xml index f077b877..5cb5fa9d 100644 --- a/Systems/a320-fbw.xml +++ b/Systems/a320-fbw.xml @@ -11,7 +11,7 @@ fbw/pitch/g-pi fbw/pitch/pid fbw/yaw/tc-pd - fbw/mixer/sidestick-gain-feedback + fbw/pitch/mixer/sidestick-gain-feedback fbw/spoiler-output fbw/rate-c1 fbw/pitch/ias-input @@ -213,32 +213,79 @@ 1.0 - - - + + + position/wow eq 1 - fbw/mixer/sidestick-gain-feedback eq 1 + fbw/roll/mixer/sidestick-gain-feedback eq 1 position/wow eq 1 - fbw/mixer/sidestick-gain-feedback ne 1 + fbw/roll/mixer/sidestick-gain-feedback ne 1 position/wow eq 0 - fbw/mixer/sidestick-gain-feedback eq 0 + fbw/roll/mixer/sidestick-gain-feedback eq 0 - + position/wow - fbw/mixer/rate-limit - fbw/mixer/sidestick-gain-feedback + fbw/roll/mixer/rate-limit + fbw/roll/mixer/sidestick-gain-feedback - + - fbw/mixer/sidestick-gain + fbw/roll/mixer/sidestick-gain + + 0 1 + 1 0 + +
+
+
+ + + + + position/wow eq 1 + fbw/pitch/mixer/sidestick-gain-feedback eq 1 + + + position/wow eq 1 + fbw/pitch/mixer/sidestick-gain-feedback ne 1 + + + position/wow eq 0 + fbw/pitch/mixer/sidestick-gain-feedback eq 0 + + + + + position/wow + fbw/pitch/mixer/rate-limit + fbw/pitch/mixer/sidestick-gain-feedback + + + + + + fbw/pitch/mixer/sidestick-gain-linear + + 0.0 0.0 + 0.6 0.3 + 1.0 1.0 + +
+
+
+ + + + + fbw/pitch/mixer/sidestick-gain 0 1 1 0 @@ -848,19 +895,19 @@ - + fbw/roll/pid - fbw/mixer/computer-gain + fbw/roll/mixer/computer-gain - + fbw/roll/a-i-f - fbw/mixer/sidestick-gain + fbw/roll/mixer/sidestick-gain - - fbw/mixer/roll/computer-demand - fbw/mixer/roll/sidestick-demand + + fbw/roll/mixer/computer-demand + fbw/roll/mixer/sidestick-demand -1.0 1.0 @@ -869,7 +916,7 @@ - + position/wow eq 0 /it-fbw/law eq 0 @@ -1352,19 +1399,19 @@ - + fbw/pitch/pid-switched - fbw/mixer/computer-gain + fbw/pitch/mixer/computer-gain - + fbw/pitch/e-i-f - fbw/mixer/sidestick-gain + fbw/pitch/mixer/sidestick-gain - - fbw/mixer/pitch/computer-demand - fbw/mixer/pitch/sidestick-demand + + fbw/pitch/mixer/computer-demand + fbw/pitch/mixer/sidestick-demand -1.0 1.0 @@ -1373,7 +1420,7 @@ - + position/wow eq 0 fbw/pitch/law-switch eq 1