A3XX: Fix Trim wheel

This commit is contained in:
Joshua Davidson 2017-08-04 16:33:54 -04:00
parent 71031e7e21
commit 0ab0b33c1d
3 changed files with 7 additions and 8 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 33 KiB

View file

@ -297,12 +297,10 @@ var canvas_lowerECAM_fctl = {
# Pitch Trim
me["PT"].setText(sprintf("%2.1f", getprop("/ECAM/Lower/elevator-trim-deg")));
if (getprop("/controls/flight/elevator-trim") < 0) {
if (getprop("/controls/flight/elevator-trim") <= 0) {
me["PTupdn"].setText(sprintf("UP"));
} else if (getprop("/controls/flight/elevator-trim") > 0) {
me["PTupdn"].setText(sprintf("DN"));
} else {
me["PTupdn"].setText(sprintf(""));
}
if (green_psi < 1500 and yellow_psi < 1500) {

View file

@ -247,12 +247,13 @@
<expression>
<table>
<property>/controls/flight/elevator-trim</property>
<entry><ind> 0.4283</ind><dep>-4.0</dep></entry>
<entry><ind> 0.1161</ind><dep>-1.0</dep></entry>
<entry><ind> 0.4200</ind><dep>-4.0</dep></entry>
<entry><ind> 0.2150</ind><dep>-2.0</dep></entry>
<entry><ind> 0.1100</ind><dep>-1.0</dep></entry>
<entry><ind> 0.0000</ind><dep> 0.0</dep></entry>
<entry><ind>-0.0883</ind><dep> 1.0</dep></entry>
<entry><ind>-0.1900</ind><dep> 2.0</dep></entry>
<entry><ind>-0.5035</ind><dep> 5.0</dep></entry>
<entry><ind>-0.1000</ind><dep> 1.0</dep></entry>
<entry><ind>-0.2000</ind><dep> 2.0</dep></entry>
<entry><ind>-0.5000</ind><dep> 5.0</dep></entry>
</table>
</expression>
</input>