From 5479c1d4f1fe3fd8617a732a3e1304523d410c03 Mon Sep 17 00:00:00 2001 From: legoboyvdlp R Date: Sat, 5 Sep 2020 11:45:44 +0100 Subject: [PATCH 1/2] 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/2] 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 +