From c000ed0cdb3d302cb9c63fc1f0e3323ab7d8e8b3 Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Mon, 10 Sep 2018 19:47:40 -0400 Subject: [PATCH] Control: Make Spoilers recordable by flight recorder --- Systems/a320-spoiler.xml | 50 ++++++++------ Systems/flight-recorder.xml | 40 +++++++++++ Systems/libraries.xml | 134 ++++++++++++++++++------------------ revision.txt | 2 +- 4 files changed, 138 insertions(+), 88 deletions(-) diff --git a/Systems/a320-spoiler.xml b/Systems/a320-spoiler.xml index ae3553d6..8bc62a68 100644 --- a/Systems/a320-spoiler.xml +++ b/Systems/a320-spoiler.xml @@ -125,9 +125,10 @@ 16.3 - + hydraulics/spoiler-l1/final-lag 40.0 + hydraulics/spoiler-l1/final-deg @@ -227,9 +228,10 @@ 16.3 - + hydraulics/spoiler-l2/final-lag 40.0 + hydraulics/spoiler-l2/final-deg @@ -291,9 +293,10 @@ 16.3 - + hydraulics/spoiler-l3/final-lag 40.0 + hydraulics/spoiler-l3/final-deg @@ -355,9 +358,10 @@ 16.3 - + hydraulics/spoiler-l4/final-lag 40.0 + hydraulics/spoiler-l4/final-deg @@ -420,9 +424,10 @@ 16.3 - + hydraulics/spoiler-l5/final-lag 40.0 + hydraulics/spoiler-l5/final-deg @@ -452,9 +457,10 @@ 16.3 - + hydraulics/spoiler-r1/final-lag 40.0 + hydraulics/spoiler-r1/final-deg @@ -554,9 +560,10 @@ 16.3 - + hydraulics/spoiler-r2/final-lag 40.0 + hydraulics/spoiler-r2/final-deg @@ -618,9 +625,10 @@ 16.3 - + hydraulics/spoiler-r3/final-lag 40.0 + hydraulics/spoiler-r3/final-deg @@ -683,9 +691,10 @@ 16.3 - + hydraulics/spoiler-r4/final-lag 40.0 + hydraulics/spoiler-r4/final-deg @@ -748,9 +757,10 @@ 16.3 - + hydraulics/spoiler-r5/final-lag 40.0 + hydraulics/spoiler-r5/final-deg @@ -758,11 +768,11 @@ - hydraulics/spoiler-l1/final-deg - hydraulics/spoiler-l2/final-deg - hydraulics/spoiler-l3/final-deg - hydraulics/spoiler-l4/final-deg - hydraulics/spoiler-l5/final-deg + hydraulics/spoiler-l1/final-gain + hydraulics/spoiler-l2/final-gain + hydraulics/spoiler-l3/final-gain + hydraulics/spoiler-l4/final-gain + hydraulics/spoiler-l5/final-gain @@ -775,11 +785,11 @@ - hydraulics/spoiler-r1/final-deg - hydraulics/spoiler-r2/final-deg - hydraulics/spoiler-r3/final-deg - hydraulics/spoiler-r4/final-deg - hydraulics/spoiler-r5/final-deg + hydraulics/spoiler-r1/final-gain + hydraulics/spoiler-r2/final-gain + hydraulics/spoiler-r3/final-gain + hydraulics/spoiler-r4/final-gain + hydraulics/spoiler-r5/final-gain diff --git a/Systems/flight-recorder.xml b/Systems/flight-recorder.xml index 3f6bd727..a27ccba8 100644 --- a/Systems/flight-recorder.xml +++ b/Systems/flight-recorder.xml @@ -76,6 +76,46 @@ double engines/engine[1]/n2-actual + + double + fdm/jsbsim/hydraulics/spoiler-l1/final-deg + + + double + fdm/jsbsim/hydraulics/spoiler-l2/final-deg + + + double + fdm/jsbsim/hydraulics/spoiler-l3/final-deg + + + double + fdm/jsbsim/hydraulics/spoiler-l4/final-deg + + + double + fdm/jsbsim/hydraulics/spoiler-l5/final-deg + + + double + fdm/jsbsim/hydraulics/spoiler-r1/final-deg + + + double + fdm/jsbsim/hydraulics/spoiler-r2/final-deg + + + double + fdm/jsbsim/hydraulics/spoiler-r3/final-deg + + + double + fdm/jsbsim/hydraulics/spoiler-r4/final-deg + + + double + fdm/jsbsim/hydraulics/spoiler-r5/final-deg + diff --git a/Systems/libraries.xml b/Systems/libraries.xml index 7eb94770..06e6f042 100644 --- a/Systems/libraries.xml +++ b/Systems/libraries.xml @@ -299,17 +299,17 @@ /systems/pressurization/cabinalt-norm - -1000 16.50000 - 0 14.70000 - 0 14.70000 - 1000 14.20000 - 2000 13.60000 - 3000 13.20000 - 4000 12.70000 - 5000 12.20000 - 6000 11.70000 - 7000 11.30000 - 8000 10.90000 + -100016.50000 + 014.70000 + 014.70000 + 100014.20000 + 200013.60000 + 300013.20000 + 400012.70000 + 500012.20000 + 600011.70000 + 700011.30000 + 800010.90000
@@ -493,9 +493,9 @@ /systems/pressurization/outflowpos-man - 0-1000 - 0.50 - 12500 + 0.0-1000 + 0.5 0 + 1.0 2500
@@ -612,41 +612,41 @@ /instrumentation/altimeter/indicated-altitude-ft - -1000 21.5 - 0 15.0 - 1000 8.5 - 2000 2.0 - 3000 -4.50 - 4000 -11.0 - 5000 -17.5 - 6000 -24.0 - 7000 -30.5 - 8000 -37.0 - 9000 -43.0 - 10000 -50.0 - 11000 -56.5 - 12000 -56.5 - 13000 -56.5 - 14000 -56.5 - 15000 -56.5 - 16000 -56.5 - 17000 -56.5 - 18000 -56.5 - 19000 -56.5 - 20000 -56.5 - 22000 -54.5 - 24000 -52.5 - 26000 -50.5 - 28000 -48.5 - 30000 -46.5 - 32000 -44.5 - 34000 -38.9 - 36000 -33.3 - 38000 -27.7 - 39000 -24.9 - 40000 -22.1 - 41000 -19.3 - 42000 -16.5 + -1000 21.5 + 0 15.0 + 1000 8.5 + 2000 2.0 + 3000-4.50 + 4000-11.0 + 5000-17.5 + 6000-24.0 + 7000-30.5 + 8000-37.0 + 9000-43.0 + 10000-50.0 + 11000-56.5 + 12000-56.5 + 13000-56.5 + 14000-56.5 + 15000-56.5 + 16000-56.5 + 17000-56.5 + 18000-56.5 + 19000-56.5 + 20000-56.5 + 22000-54.5 + 24000-52.5 + 26000-50.5 + 28000-48.5 + 30000-46.5 + 32000-44.5 + 34000-38.9 + 36000-33.3 + 38000-27.7 + 39000-24.9 + 40000-22.1 + 41000-19.3 + 42000-16.5
@@ -734,10 +734,10 @@ /controls/gear/brake-left - 00 + 0.0 00.310000.62000 - 13000 + 1.03000
@@ -753,10 +753,10 @@ /controls/gear/brake-right - 00 + 0.0 00.310000.62000 - 13000 + 1.03000
@@ -772,10 +772,10 @@ /gear/gear[1]/position-norm - 00 + 0.0000.1910.811 - 10 + 1.000
@@ -791,8 +791,8 @@ /systems/hydraulic/gear/door-left - 00 - 1-100 + 0 0 + 1-100
@@ -808,10 +808,10 @@ /gear/gear[2]/position-norm - 00 + 0.0000.1910.811 - 10 + 1.000
@@ -827,8 +827,8 @@ /systems/hydraulic/gear/door-right - 00 - 1100 + 0 0 + 1100
@@ -844,10 +844,10 @@ /gear/gear[0]/position-norm - 00 + 0.0000.1910.811 - 10 + 1.000
@@ -863,8 +863,8 @@ /systems/hydraulic/gear/door-nose - 00 - 195 + 0 0 + 195
@@ -880,8 +880,8 @@ /systems/hydraulic/gear/door-nose - 00 - 1-95 + 0 0 + 1-95
diff --git a/revision.txt b/revision.txt index 05fb9346..f0441ad0 100644 --- a/revision.txt +++ b/revision.txt @@ -1 +1 @@ -4633 \ No newline at end of file +4634 \ No newline at end of file