This commit is contained in:
Joshua Davidson 2017-05-05 19:57:35 -04:00
parent c6074a1310
commit bbc3f7d731
3 changed files with 12 additions and 12 deletions

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Airbus A320 neo for FlightGear -->
<!-- Airbus A320 for FlightGear -->
<!-- ECAM Pages -->
<PropertyList>
@ -23,7 +23,7 @@
<transformations>
<transformation>
<type>rotation</type>
<property>surface-positions/rudder-pos-norm</property>
<property>/controls/flight/rudder-fdm</property>
<!-- min>5.0</min>
<max>95.0</max>
<scale>1.0</scale -->

View file

@ -46,8 +46,8 @@
<property>/controls/flight/aileron-left</property>
<interpolation>
<entry><ind>0</ind><dep>45</dep></entry>
<entry><ind>-1</ind><dep>70</dep></entry>
<entry><ind>1</ind><dep>27</dep></entry>
<entry><ind>-0.5</ind><dep>70</dep></entry>
<entry><ind>0.5</ind><dep>27</dep></entry>
</interpolation>
</transformation>
<transformation>
@ -75,8 +75,8 @@
<property>/controls/flight/aileron-right</property>
<interpolation>
<entry><ind>0</ind><dep>45</dep></entry>
<entry><ind>1</ind><dep>70</dep></entry>
<entry><ind>-1</ind><dep>27</dep></entry>
<entry><ind>0.5</ind><dep>70</dep></entry>
<entry><ind>-0.5</ind><dep>27</dep></entry>
</interpolation>
</transformation>
<transformation>
@ -119,8 +119,8 @@
<property>/controls/flight/elevator-left</property>
<interpolation>
<entry><ind>0</ind><dep>-50</dep></entry>
<entry><ind>-1</ind><dep>-19</dep></entry>
<entry><ind>1</ind><dep>-65</dep></entry>
<entry><ind>-0.5</ind><dep>-19</dep></entry>
<entry><ind>0.5</ind><dep>-65</dep></entry>
</interpolation>
</transformation>
<transformation>
@ -148,8 +148,8 @@
<property>/controls/flight/elevator-right</property>
<interpolation>
<entry><ind>0</ind><dep>-50</dep></entry>
<entry><ind>-1</ind><dep>-19</dep></entry>
<entry><ind>1</ind><dep>-65</dep></entry>
<entry><ind>-0.5</ind><dep>-19</dep></entry>
<entry><ind>0.5</ind><dep>-65</dep></entry>
</interpolation>
</transformation>
<transformation>

View file

@ -16,7 +16,7 @@ setlistener("/sim/signals/fdm-initialized", func {
setlistener("/controls/engines/engine[0]/throttle-pos", func {
var thrr = getprop("/controls/engines/engine[0]/throttle-pos");
if (thrr < 0.02) {
if (thrr < 0.01) {
setprop("/systems/thrust/state1", "IDLE");
atoff_request();
} else if (thrr >= 0.01 and thrr < 0.60) {
@ -41,7 +41,7 @@ setlistener("/controls/engines/engine[0]/throttle-pos", func {
setlistener("/controls/engines/engine[1]/throttle-pos", func {
var thrr = getprop("/controls/engines/engine[1]/throttle-pos");
if (thrr < 0.02) {
if (thrr < 0.01) {
setprop("/systems/thrust/state2", "IDLE");
atoff_request();
} else if (thrr >= 0.01 and thrr < 0.60) {