From 5479c1d4f1fe3fd8617a732a3e1304523d410c03 Mon Sep 17 00:00:00 2001 From: legoboyvdlp R Date: Sat, 5 Sep 2020 11:45:44 +0100 Subject: [PATCH 1/3] Formatting --- Nasal/Libraries/libraries.nas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nasal/Libraries/libraries.nas b/Nasal/Libraries/libraries.nas index 41b5284a..47a4231e 100644 --- a/Nasal/Libraries/libraries.nas +++ b/Nasal/Libraries/libraries.nas @@ -452,7 +452,7 @@ controls.elevatorTrim = func(d) { if (systems.HYD.Psi.green.getValue() >= 1500) { slewProp("/controls/flight/elevator-trim", d * 0.0185); # Rate in JSB normalized (0.125 / 13.5) } else { - slewProp("/controls/flight/elevator-trim", d * 0.0092) # Rate in JSB normalized (0.125 / 13.5) + slewProp("/controls/flight/elevator-trim", d * 0.0092) # Rate in JSB normalized (0.125 / 13.5) } } From d4255f92b08e260a498d1e50950986e5fb54cfb8 Mon Sep 17 00:00:00 2001 From: legoboyvdlp R Date: Tue, 8 Sep 2020 17:50:07 +0100 Subject: [PATCH 2/3] TAT calculations: use internal JSBSim value. --- Systems/a320-adr.xml | 48 ++++++++------------------------------------ 1 file changed, 8 insertions(+), 40 deletions(-) diff --git a/Systems/a320-adr.xml b/Systems/a320-adr.xml index 4d40a2d9..8e6ce63f 100644 --- a/Systems/a320-adr.xml +++ b/Systems/a320-adr.xml @@ -75,51 +75,19 @@ - - - - /environment/temperature-degc - 273.15 - - - 1 - - 0.2 - 0.995 - - velocities/mach - 2 - - - - - 273.15 - + + 0.995 + propulsion/tat-c + - - - - /environment/temperature-degc - 273.15 - - - 1 - - 0.2 - 0.996 - - velocities/mach - 2 - - - - - 273.15 - + + 0.996 + propulsion/tat-c + From 73ccd4e5abdce0b07e8b0acc1009208555461cf4 Mon Sep 17 00:00:00 2001 From: legoboyvdlp R Date: Thu, 10 Sep 2020 21:34:18 +0100 Subject: [PATCH 3/3] Correction for 2020.2 sound change that made startup and shutdown sounds behave incorrectly --- Sounds/cfm56-sound.xml | 40 ++++++++++++++++------------------------ Sounds/leapx-sound.xml | 30 ++++++++++++------------------ Sounds/v2500-sound.xml | 40 ++++++++++++++++------------------------ Systems/sound-common.xml | 12 ++++++++++++ 4 files changed, 56 insertions(+), 66 deletions(-) diff --git a/Sounds/cfm56-sound.xml b/Sounds/cfm56-sound.xml index 75f4d669..e49487ee 100644 --- a/Sounds/cfm56-sound.xml +++ b/Sounds/cfm56-sound.xml @@ -544,9 +544,8 @@ - /sim/sound/internal-custom - -1 - 1 + /sim/sound/external-custom + 1 -1 @@ -575,9 +574,8 @@ - /sim/sound/internal-custom - -1 - 1 + /sim/sound/external-custom + 1 -1 @@ -606,9 +604,8 @@ - /sim/sound/internal-custom - -1 - 1 + /sim/sound/external-custom + 1 -1 @@ -637,9 +634,8 @@ - /sim/sound/internal-custom - -1 - 1 + /sim/sound/external-custom + 1 -1 @@ -668,9 +664,8 @@ - /sim/sound/internal-custom - -1 - 1 + /sim/sound/external-custom + 1 1 @@ -699,9 +694,8 @@ - /sim/sound/internal-custom - -1 - 1 + /sim/sound/external-custom + 1 1 @@ -730,9 +724,8 @@ - /sim/sound/internal-custom - -1 - 1 + /sim/sound/external-custom + 1 30 @@ -753,9 +746,8 @@ - /sim/sound/internal-custom - -1 - 1 + /sim/sound/external-custom + 1 30 diff --git a/Sounds/leapx-sound.xml b/Sounds/leapx-sound.xml index d7ff4875..8156494f 100644 --- a/Sounds/leapx-sound.xml +++ b/Sounds/leapx-sound.xml @@ -458,9 +458,8 @@ - /sim/sound/internal-custom - -1 - 1 + /sim/sound/external-custom + 1 -1 @@ -489,9 +488,8 @@ - /sim/sound/internal-custom - -1 - 1 + /sim/sound/external-custom + 1 -1 @@ -520,9 +518,8 @@ - /sim/sound/internal-custom - -1 - 1 + /sim/sound/external-custom + 1 -1 @@ -551,9 +548,8 @@ - /sim/sound/internal-custom - -1 - 1 + /sim/sound/external-custom + 1 -1 @@ -582,9 +578,8 @@ - /sim/sound/internal-custom - -1 - 1 + /sim/sound/external-custom + 1 1 @@ -613,9 +608,8 @@ - /sim/sound/internal-custom - -1 - 1 + /sim/sound/external-custom + 1 1 diff --git a/Sounds/v2500-sound.xml b/Sounds/v2500-sound.xml index 3fcf70ba..9654322c 100644 --- a/Sounds/v2500-sound.xml +++ b/Sounds/v2500-sound.xml @@ -361,9 +361,8 @@ - /sim/sound/internal-custom - -1 - 1 + /sim/sound/external-custom + 1 -1 @@ -392,9 +391,8 @@ - /sim/sound/internal-custom - -1 - 1 + /sim/sound/external-custom + 1 -1 @@ -423,9 +421,8 @@ - /sim/sound/internal-custom - -1 - 1 + /sim/sound/external-custom + 1 -1 @@ -454,9 +451,8 @@ - /sim/sound/internal-custom - -1 - 1 + /sim/sound/external-custom + 1 -1 @@ -485,9 +481,8 @@ - /sim/sound/internal-custom - -1 - 1 + /sim/sound/external-custom + 1 30 @@ -508,9 +503,8 @@ - /sim/sound/internal-custom - -1 - 1 + /sim/sound/external-custom + 1 30 @@ -531,9 +525,8 @@ - /sim/sound/internal-custom - -1 - 1 + /sim/sound/external-custom + 1 1 @@ -562,9 +555,8 @@ - /sim/sound/internal-custom - -1 - 1 + /sim/sound/external-custom + 1 1 diff --git a/Systems/sound-common.xml b/Systems/sound-common.xml index 2f8985b0..eabc0903 100644 --- a/Systems/sound-common.xml +++ b/Systems/sound-common.xml @@ -55,6 +55,18 @@ /sim/sound/internal-custom + + + + + /sim/sound/internal-custom + 1 + + + + /sim/sound/external-custom + + gain