This commit is contained in:
Jonathan Redpath 2017-08-05 10:56:46 +01:00
commit a8edebc578
4 changed files with 9 additions and 10 deletions

View file

@ -443,8 +443,8 @@
</roll>
<pitch>
<gain>0.15</gain>
<min>-0.4</min>
<max>0.4</max>
<min>-0.3</min>
<max>0.3</max>
</pitch>
<cmd>
<roll-kp>-0.9</roll-kp>

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>