From 0068e00aae3a04e71fef7983b262cb50654d3c0b Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Sun, 10 Feb 2019 21:01:01 -0500 Subject: [PATCH] Control: Switch to actuators, fix spoiler roll bug --- Systems/a320-fcs.xml | 61 +++++++++++++++--------- Systems/a320-spoiler.xml | 100 ++++++++++++--------------------------- revision.txt | 2 +- 3 files changed, 69 insertions(+), 94 deletions(-) diff --git a/Systems/a320-fcs.xml b/Systems/a320-fcs.xml index 12187f69..83f5b8c9 100644 --- a/Systems/a320-fcs.xml +++ b/Systems/a320-fcs.xml @@ -511,11 +511,25 @@ + + + + position/wow eq 0 + /it-fbw/law eq 0 + + + fbw/roll/gear-law-switch eq 1 + + + /it-fbw/law eq 3 + + + - fbw/roll/a-i + fbw/roll/s-i-f-i -1.0 -1.0 -0.2 0.0 @@ -1353,10 +1367,11 @@ - + hydraulics/aileron-l/switch - 14.5 - + 100 + 14.5 + hydraulics/aileron-l/final @@ -1427,10 +1442,11 @@ - + hydraulics/aileron-r/switch - 14.5 - + 100 + 14.5 + hydraulics/aileron-r/final @@ -1483,11 +1499,12 @@ - + hydraulics/elevator-l/switch - 14.5 + 100 + 14.5 /controls/flight/elevator-left - + hydraulics/elevator-l/final @@ -1521,11 +1538,12 @@ - + hydraulics/elevator-r/switch - 14.5 + 100 + 14.5 /controls/flight/elevator-right - + hydraulics/elevator-r/final @@ -1558,18 +1576,14 @@ - + /controls/flight/elevator-trim hydraulics/elevator-trim/rate + 10.5 - - hydraulics/elevator-trim/actuator - 10.5 - - - hydraulics/elevator-trim/lag + hydraulics/elevator-trim/final -1.00 0.32 @@ -1634,10 +1648,11 @@ - + hydraulics/rudder/switch - 13.5 - + 100 + 13.5 + hydraulics/rudder/final diff --git a/Systems/a320-spoiler.xml b/Systems/a320-spoiler.xml index cee68275..d30e67a8 100644 --- a/Systems/a320-spoiler.xml +++ b/Systems/a320-spoiler.xml @@ -113,16 +113,12 @@ hydraulics/spoiler-l1/switch - 0.9 + 1.1 + 16.3 - - hydraulics/spoiler-l1/final - 16.3 - - - hydraulics/spoiler-l1/final-lag + hydraulics/spoiler-l1/final 40.0 hydraulics/spoiler-l1/final-deg @@ -216,16 +212,12 @@ hydraulics/spoiler-l2/switch - 0.9 + 1.1 + 16.3 - - hydraulics/spoiler-l2/final - 16.3 - - - hydraulics/spoiler-l2/final-lag + hydraulics/spoiler-l2/final 40.0 hydraulics/spoiler-l2/final-deg @@ -281,16 +273,12 @@ hydraulics/spoiler-l3/switch - 0.9 + 1.1 + 16.3 - - hydraulics/spoiler-l3/final - 16.3 - - - hydraulics/spoiler-l3/final-lag + hydraulics/spoiler-l3/final 40.0 hydraulics/spoiler-l3/final-deg @@ -346,16 +334,12 @@ hydraulics/spoiler-l4/switch - 0.9 + 1.1 + 16.3 - - hydraulics/spoiler-l4/final - 16.3 - - - hydraulics/spoiler-l4/final-lag + hydraulics/spoiler-l4/final 40.0 hydraulics/spoiler-l4/final-deg @@ -412,16 +396,12 @@ hydraulics/spoiler-l5/switch - 0.9 + 1.1 + 16.3 - - hydraulics/spoiler-l5/final - 16.3 - - - hydraulics/spoiler-l5/final-lag + hydraulics/spoiler-l5/final 40.0 hydraulics/spoiler-l5/final-deg @@ -445,16 +425,12 @@ hydraulics/spoiler-r1/switch - 0.9 + 1.1 + 16.3 - - hydraulics/spoiler-r1/final - 16.3 - - - hydraulics/spoiler-r1/final-lag + hydraulics/spoiler-r1/final 40.0 hydraulics/spoiler-r1/final-deg @@ -548,16 +524,12 @@ hydraulics/spoiler-r2/switch - 0.9 + 1.1 + 16.3 - - hydraulics/spoiler-r2/final - 16.3 - - - hydraulics/spoiler-r2/final-lag + hydraulics/spoiler-r2/final 40.0 hydraulics/spoiler-r2/final-deg @@ -613,16 +585,12 @@ hydraulics/spoiler-r3/switch - 0.9 + 1.1 + 16.3 - - hydraulics/spoiler-r3/final - 16.3 - - - hydraulics/spoiler-r3/final-lag + hydraulics/spoiler-r3/final 40.0 hydraulics/spoiler-r3/final-deg @@ -678,16 +646,12 @@ hydraulics/spoiler-r4/switch - 0.9 + 1.1 + 16.3 - - hydraulics/spoiler-r4/final - 16.3 - - - hydraulics/spoiler-r4/final-lag + hydraulics/spoiler-r4/final 40.0 hydraulics/spoiler-r4/final-deg @@ -744,16 +708,12 @@ hydraulics/spoiler-r5/switch - 0.9 + 1.1 + 16.3 - - hydraulics/spoiler-r5/final - 16.3 - - - hydraulics/spoiler-r5/final-lag + hydraulics/spoiler-r5/final 40.0 hydraulics/spoiler-r5/final-deg diff --git a/revision.txt b/revision.txt index 223d01f2..dd297b88 100644 --- a/revision.txt +++ b/revision.txt @@ -1 +1 @@ -4756 \ No newline at end of file +4757 \ No newline at end of file