work on flaps indicator, ITAF M3 B78, AUTOLAND ABLEgit add .!

This commit is contained in:
Joshua Davidson 2016-12-05 15:20:56 -05:00
parent 6bfb3167d6
commit f49383ef1e
23 changed files with 1083 additions and 1902 deletions

View file

@ -16,7 +16,8 @@
</model>
<startup>
<splash-texture>Aircraft/A320Family/splash.png</splash-texture>
<splash-texture>Aircraft/A320Family/Splash/splash.png</splash-texture>
<splash-texture>Aircraft/A320Family/Splash/splash1.png</splash-texture>
</startup>
<flaps>
@ -225,29 +226,41 @@
<it-autoflight>
<settings>
<config>
<altitude-dial-mode>0</altitude-dial-mode>
<no-generics>1</no-generics>
<roll>
<umin>-0.40</umin>
<umax>0.40</umax>
<kp>0.09</kp>
<kp-vorloc>0.06</kp-vorloc>
<ti>10.0</ti>
<td>0.00001</td>
</roll>
<vorloc>
<kp>0.06</kp>
<ti>10.0</ti>
<td>0.00001</td>
</vorloc>
<pitch>
<umin>-0.25</umin>
<umax>0.25</umax>
<kp>-0.05</kp>
<ti>10.0</ti>
<td>0.0001</td>
</pitch>
<flch>
<umin>-0.25</umin>
<umax>0.25</umax>
<kp>-0.03</kp>
<ti>10.0</ti>
<td>0.00001</td>
</flch>
<gs>
<kp>0.10</kp>
</gs>
</settings>
<autoland>
<kp-pitch>0.01</kp-pitch>
</autoland>
</config>
</it-autoflight>
<autopilot>

View file

@ -246,7 +246,7 @@
<object-name>lat.fmgc</object-name>
<condition>
<equals>
<property>/it-autoflight/aplatmode</property>
<property>/it-autoflight/output/lat</property>
<value>1</value>
</equals>
</condition>
@ -258,11 +258,11 @@
<condition>
<or>
<equals>
<property>/it-autoflight/aplatmode</property>
<property>/it-autoflight/output/lat</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/aplatmode</property>
<property>/it-autoflight/output/lat</property>
<value>2</value>
</equals>
</or>
@ -308,7 +308,7 @@
<object-name>lvlch.ind</object-name>
<condition>
<equals>
<property>/it-autoflight/apvertmode</property>
<property>/it-autoflight/output/vert</property>
<value>4</value>
</equals>
</condition>
@ -325,12 +325,12 @@
<binding>
<condition>
<equals>
<property>/it-autoflight/apthrmode</property>
<property>/it-autoflight/input/kts-mach</property>
<value>0</value>
</equals>
</condition>
<command>property-adjust</command>
<property>/it-autoflight/settings/target-speed-kt</property>
<property>/it-autoflight/input/spd-kts</property>
<step>1</step>
<min>100</min>
<max>380</max>
@ -338,12 +338,12 @@
<binding>
<condition>
<equals>
<property>/it-autoflight/apthrmode</property>
<property>/it-autoflight/input/kts-mach</property>
<value>1</value>
</equals>
</condition>
<command>property-adjust</command>
<property>/it-autoflight/settings/target-mach</property>
<property>/it-autoflight/input/spd-mach</property>
<step>0.01</step>
<min>0.40</min>
<max>0.99</max>
@ -355,12 +355,12 @@
<binding>
<condition>
<equals>
<property>/it-autoflight/apthrmode</property>
<property>/it-autoflight/input/kts-mach</property>
<value>0</value>
</equals>
</condition>
<command>property-adjust</command>
<property>/it-autoflight/settings/target-speed-kt</property>
<property>/it-autoflight/input/spd-kts</property>
<step>-1</step>
<min>100</min>
<max>380</max>
@ -368,12 +368,12 @@
<binding>
<condition>
<equals>
<property>/it-autoflight/apthrmode</property>
<property>/it-autoflight/input/kts-mach</property>
<value>1</value>
</equals>
</condition>
<command>property-adjust</command>
<property>/it-autoflight/settings/target-mach</property>
<property>/it-autoflight/input/spd-mach</property>
<step>-0.01</step>
<min>0.40</min>
<max>0.99</max>
@ -389,7 +389,7 @@
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>/it-autoflight/aplatset</property>
<property>/it-autoflight/input/lat</property>
<value>1</value>
</binding>
</action>
@ -398,7 +398,7 @@
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>/it-autoflight/aplatset</property>
<property>/it-autoflight/input/lat</property>
<value>0</value>
</binding>
</action>
@ -407,7 +407,7 @@
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>it-autoflight/settings/heading-bug-deg</property>
<property>/it-autoflight/input/hdg</property>
<step>1</step>
<min>1</min>
<max>361</max>
@ -419,7 +419,7 @@
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>it-autoflight/settings/heading-bug-deg</property>
<property>/it-autoflight/input/hdg</property>
<step>-1</step>
<min>1</min>
<max>361</max>
@ -437,7 +437,7 @@
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>/it-autoflight/apvertset</property>
<property>/it-autoflight/input/vert</property>
<value>4</value>
</binding>
</action>
@ -447,12 +447,12 @@
<binding>
<condition>
<equals>
<property>/it-autoflight/settings/altitude-dial-mode</property>
<property>/it-autoflight/config/altitude-dial-mode</property>
<value>0</value>
</equals>
</condition>
<command>property-adjust</command>
<property>/it-autoflight/settings/target-altitude-ft</property>
<property>/it-autoflight/input/alt</property>
<step>100</step>
<min>0</min>
<max>50000</max>
@ -460,12 +460,12 @@
<binding>
<condition>
<equals>
<property>/it-autoflight/settings/altitude-dial-mode</property>
<property>/it-autoflight/config/altitude-dial-mode</property>
<value>1</value>
</equals>
</condition>
<command>property-adjust</command>
<property>/it-autoflight/settings/target-altitude-ft</property>
<property>/it-autoflight/input/alt</property>
<step>1000</step>
<min>0</min>
<max>50000</max>
@ -477,12 +477,12 @@
<binding>
<condition>
<equals>
<property>/it-autoflight/settings/altitude-dial-mode</property>
<property>/it-autoflight/config/altitude-dial-mode</property>
<value>0</value>
</equals>
</condition>
<command>property-adjust</command>
<property>/it-autoflight/settings/target-altitude-ft</property>
<property>/it-autoflight/input/alt</property>
<step>-100</step>
<min>0</min>
<max>50000</max>
@ -490,12 +490,12 @@
<binding>
<condition>
<equals>
<property>/it-autoflight/settings/altitude-dial-mode</property>
<property>/it-autoflight/config/altitude-dial-mode</property>
<value>1</value>
</equals>
</condition>
<command>property-adjust</command>
<property>/it-autoflight/settings/target-altitude-ft</property>
<property>/it-autoflight/input/alt</property>
<step>-1000</step>
<min>0</min>
<max>50000</max>
@ -511,7 +511,7 @@
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>/it-autoflight/apvertset</property>
<property>/it-autoflight/input/vert</property>
<value>0</value>
</binding>
</action>
@ -520,16 +520,26 @@
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>/it-autoflight/apvertset</property>
<property>/it-autoflight/input/vert</property>
<value>1</value>
</binding>
</action>
<action>
<button>3</button>
<repeatable>true</repeatable>
<binding>
<command>nasal</command>
<script>
if (getprop("/it-autoflight/output/vert") == 1) {
# Do nothing because we are already in VS mode
} else {
setprop("/it-autoflight/input/vert", 1);
}
</script>
</binding>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/settings/vertical-speed-fpm</property>
<property>/it-autoflight/input/vs</property>
<step>100</step>
<max>8000</max>
</binding>
@ -537,9 +547,19 @@
<action>
<button>4</button>
<repeatable>true</repeatable>
<binding>
<command>nasal</command>
<script>
if (getprop("/it-autoflight/output/vert") == 1) {
# Do nothing because we are already in VS mode
} else {
setprop("/it-autoflight/input/vert", 1);
}
</script>
</binding>
<binding>
<command>property-adjust</command>
<property>i/t-autoflight/settings/vertical-speed-fpm</property>
<property>/it-autoflight/input/vs</property>
<step>-100</step>
<min>-6000</min>
</binding>
@ -557,7 +577,7 @@
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>/it-autoflight/aplatset</property>
<property>/it-autoflight/input/lat</property>
<value>2</value>
</binding>
</action>
@ -571,7 +591,7 @@
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>/it-autoflight/apvertset</property>
<property>/it-autoflight/input/vert</property>
<value>2</value>
</binding>
</action>
@ -597,7 +617,7 @@
<repeatable>false</repeatable>
<binding>
<command>property-cycle</command>
<property>/it-autoflight/apthrmode</property>
<property>/it-autoflight/input/kts-mach</property>
<value>0</value>
<value>1</value>
</binding>
@ -672,7 +692,7 @@
<repeatable type="bool">false</repeatable>
<binding>
<command>property-cycle</command>
<property>/it-autoflight/settings/altitude-dial-mode</property>
<property>/it-autoflight/config/altitude-dial-mode</property>
<value>0</value>
<value>1</value>
</binding>
@ -687,7 +707,7 @@
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>/it-autoflight/ap_mastersw</property>
<property>/it-autoflight/input/ap1</property>
</binding>
</action>
</animation>
@ -700,7 +720,7 @@
<repeatable type="bool">false</repeatable>
<binding>
<command>property-toggle</command>
<property>/it-autoflight/ap_mastersw2</property>
<property>/it-autoflight/input/ap2</property>
</binding>
</action>
</animation>
@ -713,7 +733,7 @@
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>/it-autoflight/at_mastersw</property>
<property>/it-autoflight/output/athrsw</property>
</binding>
</action>
</animation>
@ -762,7 +782,7 @@
<object-name>spd-text</object-name>
<condition>
<equals>
<property>/it-autoflight/apthrmode</property>
<property>/it-autoflight/input/kts-mach</property>
<value>0</value>
</equals>
</condition>
@ -773,7 +793,7 @@
<object-name>mach-text</object-name>
<condition>
<equals>
<property>/it-autoflight/apthrmode</property>
<property>/it-autoflight/input/kts-mach</property>
<value>1</value>
</equals>
</condition>
@ -785,7 +805,7 @@
<object-name>hdg-text</object-name>
<condition>
<equals>
<property>/it-autoflight/aplatmode</property>
<property>/it-autoflight/output/lat</property>
<value>0</value>
</equals>
</condition>
@ -818,7 +838,7 @@
<object-name>vs.dash</object-name>
<condition>
<not-equals>
<property>/it-autoflight/apvertmode</property>
<property>/it-autoflight/output/vert</property>
<value>1</value>
</not-equals>
</condition>
@ -829,7 +849,7 @@
<object-name>vs-text</object-name>
<condition>
<equals>
<property>/it-autoflight/apvertmode</property>
<property>/it-autoflight/output/vert</property>
<value>1</value>
</equals>
</condition>
@ -1004,7 +1024,7 @@
<axis-alignment>xy-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%3.0f</format>
<property>/it-autoflight/settings/target-speed-kt</property>
<property>/it-autoflight/input/spd-kts</property>
<truncate type="bool">false</truncate>
<font type="string">led.txf</font>
<draw-text type="bool">true</draw-text>
@ -1030,7 +1050,7 @@
<axis-alignment>xy-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%1.2f</format>
<property>/it-autoflight/settings/target-mach</property>
<property>/it-autoflight/input/spd-mach</property>
<truncate type="bool">false</truncate>
<font type="string">led.txf</font>
<draw-text type="bool">true</draw-text>
@ -1056,7 +1076,7 @@
<axis-alignment>xy-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">%s</format>
<property>/it-autoflight/settings/heading-bug-deg</property>
<property>/it-autoflight/input/hdg</property>
<truncate type="bool">false</truncate>
<font type="string">led.txf</font>
<draw-text type="bool">true</draw-text>
@ -1082,7 +1102,7 @@
<axis-alignment>xy-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">%s</format>
<property>/it-autoflight/settings/target-altitude-ft</property>
<property>/it-autoflight/input/alt</property>
<truncate type="bool">false</truncate>
<font type="string">led.txf</font>
<draw-text type="bool">true</draw-text>
@ -1108,7 +1128,7 @@
<axis-alignment>xy-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%4.0f</format>
<property>/it-autoflight/settings/vertical-speed-fpm</property>
<property>/it-autoflight/input/vs</property>
<truncate type="bool">false</truncate>
<font type="string">led.txf</font>
<draw-text type="bool">true</draw-text>
@ -1202,7 +1222,7 @@
<animation>
<type>rotate</type>
<object-name>hdg-sel</object-name>
<property>/it-autoflight/settings/heading-bug-deg</property>
<property>/it-autoflight/input/hdg</property>
<factor>11.25</factor>
<axis>
<x1-m>-0.4608</x1-m>
@ -1217,7 +1237,7 @@
<animation>
<type>rotate</type>
<object-name>spd-sel</object-name>
<property>/it-autoflight/settings/target-speed-kt</property>
<property>/it-autoflight/input/spd-kts</property>
<factor>11.25</factor>
<axis>
<x1-m>-0.4608</x1-m>
@ -1232,7 +1252,7 @@
<animation>
<type>rotate</type>
<object-name>spd-sel</object-name>
<property>/it-autoflight/settings/target-mach</property>
<property>/it-autoflight/input/spd-mach</property>
<factor>0.01</factor>
<axis>
<x1-m>-0.4608</x1-m>
@ -1247,7 +1267,7 @@
<animation>
<type>rotate</type>
<object-name>alt-sel</object-name>
<property>/it-autoflight/settings/target-altitude-ft</property>
<property>/it-autoflight/input/alt</property>
<factor>11.25</factor>
<axis>
<x1-m>-0.4738</x1-m>
@ -1262,7 +1282,7 @@
<animation>
<type>rotate</type>
<object-name>vs-sel</object-name>
<property>/it-autoflight/settings/vertical-speed-fpm</property>
<property>/it-autoflight/input/vs</property>
<factor>11.25</factor>
<axis>
<x1-m>-0.4608</x1-m>
@ -1277,7 +1297,7 @@
<animation>
<type>rotate</type>
<object-name>alt-sel-mode</object-name>
<property>/it-autoflight/settings/altitude-dial-mode</property>
<property>/it-autoflight/config/altitude-dial-mode</property>
<interpolation>
<entry><ind>0</ind><dep> 0</dep></entry>
<entry><ind>1</ind><dep>90</dep></entry>
@ -1299,7 +1319,7 @@
<object-name>fd1lt</object-name>
<condition>
<equals>
<property>/it-autoflight/fd_master</property>
<property>/it-autoflight/output/fd1</property>
<value>1</value>
</equals>
</condition>
@ -1322,20 +1342,20 @@
<and>
<or>
<equals>
<property>/it-autoflight/aplatmode</property>
<property>/it-autoflight/output/lat</property>
<value>2</value>
</equals>
<equals>
<property>/it-autoflight/loc-armed</property>
<property>/it-autoflight/output/loc-armed</property>
<value>1</value>
</equals>
</or>
<equals>
<property>/it-autoflight/appr-armed</property>
<property>/it-autoflight/output/appr-armed</property>
<value>0</value>
</equals>
<not-equals>
<property>/it-autoflight/apvertmode</property>
<property>/it-autoflight/output/vert</property>
<value>2</value>
</not-equals>
<greater-than-equals>
@ -1351,7 +1371,7 @@
<object-name>ap1lt</object-name>
<condition>
<equals>
<property>/it-autoflight/ap_master</property>
<property>/it-autoflight/output/ap1</property>
<value>1</value>
</equals>
</condition>
@ -1361,7 +1381,7 @@
<object-name>ap2lt</object-name>
<condition>
<equals>
<property>/it-autoflight/ap_master2</property>
<property>/it-autoflight/output/ap2</property>
<value>1</value>
</equals>
</condition>
@ -1371,7 +1391,7 @@
<object-name>athrlt</object-name>
<condition>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>1</value>
</equals>
</condition>
@ -1394,11 +1414,11 @@
<condition>
<or>
<equals>
<property>/it-autoflight/appr-armed</property>
<property>/it-autoflight/output/appr-armed</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/apvertmode</property>
<property>/it-autoflight/output/vert</property>
<value>2</value>
</equals>
</or>
@ -1410,7 +1430,7 @@
<object-name>fd2lt</object-name>
<condition>
<equals>
<property>/it-autoflight/fd_master2</property>
<property>/it-autoflight/output/fd2</property>
<value>1</value>
</equals>
</condition>
@ -2666,7 +2686,7 @@
<repeatable type="bool">false</repeatable>
<binding>
<command>property-toggle</command>
<property>/it-autoflight/fd_mastersw</property>
<property>/it-autoflight/input/fd1</property>
</binding>
</action>
</animation>
@ -2679,7 +2699,7 @@
<repeatable type="bool">false</repeatable>
<binding>
<command>property-toggle</command>
<property>/it-autoflight/fd_mastersw2</property>
<property>/it-autoflight/input/fd2</property>
</binding>
</action>
</animation>

View file

@ -108,7 +108,7 @@
<object-name>fd_pitch</object-name>
<condition>
<equals>
<property>/it-autoflight/fd_master</property>
<property>/it-autoflight/output/fd1</property>
<value>1</value>
</equals>
</condition>
@ -465,7 +465,7 @@
<object-name>hdg-bug</object-name>
<transform>
<subtype>textranslate</subtype>
<property>/it-autoflight/settings/heading-bug-deg</property>
<property>/it-autoflight/input/hdg</property>
<factor>0.002783031</factor>
<axis>
<x>-1</x>
@ -486,7 +486,7 @@
<object-name>hdg-bug</object-name>
<condition>
<equals>
<property>/it-autoflight/aplatmode</property>
<property>/it-autoflight/output/lat</property>
<value>0</value>
</equals>
</condition>
@ -855,7 +855,7 @@
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%3.0f</format>
<property>/it-autoflight/settings/target-speed-kt</property>
<property>/it-autoflight/input/spd-kts</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
<draw-text type="bool">true</draw-text>
@ -879,7 +879,7 @@
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%5.0f</format>
<property>/it-autoflight/settings/target-speed-kt</property>
<property>/it-autoflight/input/spd-kts</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
<draw-text type="bool">true</draw-text>
@ -903,7 +903,7 @@
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%1.2f</format>
<property>/it-autoflight/settings/target-mach</property>
<property>/it-autoflight/input/spd-mach</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
<draw-text type="bool">true</draw-text>
@ -927,7 +927,7 @@
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%1.2f</format>
<property>/it-autoflight/settings/target-mach</property>
<property>/it-autoflight/input/spd-mach</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
<draw-text type="bool">true</draw-text>
@ -946,7 +946,7 @@
<object-name>man-mach-lower</object-name>
<condition>
<equals>
<property>/it-autoflight/apthrmode</property>
<property>/it-autoflight/input/kts-mach</property>
<value>0</value>
</equals>
</condition>
@ -958,7 +958,7 @@
<object-name>man-spd-lower</object-name>
<condition>
<equals>
<property>/it-autoflight/apthrmode</property>
<property>/it-autoflight/input/kts-mach</property>
<value>1</value>
</equals>
</condition>
@ -995,7 +995,7 @@
<condition>
<and>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>1</value>
</equals>
<not-equals>
@ -1139,19 +1139,19 @@
<condition>
<or>
<equals>
<property>/it-autoflight/ap_master</property>
<property>/it-autoflight/output/ap1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/ap_master2</property>
<property>/it-autoflight/output/ap2</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/fd_master</property>
<property>/it-autoflight/output/fd1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/fd_master2</property>
<property>/it-autoflight/output/fd2</property>
<value>1</value>
</equals>
</or>
@ -1283,7 +1283,7 @@
<condition>
<and>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>1</value>
</equals>
<or>
@ -1314,7 +1314,7 @@
<condition>
<and>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>1</value>
</equals>
<or>
@ -1393,7 +1393,7 @@
<condition>
<and>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>1</value>
</equals>
<or>
@ -1440,7 +1440,7 @@
<condition>
<and>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>1</value>
</equals>
<less-than>
@ -1563,7 +1563,7 @@
<condition>
<and>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>1</value>
</equals>
<or>
@ -1575,14 +1575,6 @@
<property>/systems/thrust/state2</property>
<value>TOGA</value>
</equals>
<equals>
<property>/systems/thrust/state3</property>
<value>TOGA</value>
</equals>
<equals>
<property>/systems/thrust/state4</property>
<value>TOGA</value>
</equals>
<equals>
<property>/systems/thrust/state1</property>
<value>MCT</value>
@ -1591,14 +1583,6 @@
<property>/systems/thrust/state2</property>
<value>MCT</value>
</equals>
<equals>
<property>/systems/thrust/state3</property>
<value>MCT</value>
</equals>
<equals>
<property>/systems/thrust/state4</property>
<value>MCT</value>
</equals>
</or>
</and>
</condition>
@ -1610,7 +1594,7 @@
<condition>
<and>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>1</value>
</equals>
<or>
@ -1622,14 +1606,6 @@
<property>/systems/thrust/state2</property>
<value>TOGA</value>
</equals>
<equals>
<property>/systems/thrust/state3</property>
<value>TOGA</value>
</equals>
<equals>
<property>/systems/thrust/state4</property>
<value>TOGA</value>
</equals>
</or>
</and>
</condition>
@ -1641,7 +1617,7 @@
<condition>
<and>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>1</value>
</equals>
<not-equals>
@ -1652,14 +1628,6 @@
<property>/systems/thrust/state2</property>
<value>TOGA</value>
</not-equals>
<not-equals>
<property>/systems/thrust/state3</property>
<value>TOGA</value>
</not-equals>
<not-equals>
<property>/systems/thrust/state4</property>
<value>TOGA</value>
</not-equals>
<or>
<equals>
<property>/systems/thrust/state1</property>
@ -1669,14 +1637,6 @@
<property>/systems/thrust/state2</property>
<value>MCT</value>
</equals>
<equals>
<property>/systems/thrust/state3</property>
<value>MCT</value>
</equals>
<equals>
<property>/systems/thrust/state4</property>
<value>MCT</value>
</equals>
</or>
</and>
</condition>
@ -1711,7 +1671,7 @@
<condition>
<and>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>1</value>
</equals>
<equals>
@ -1735,7 +1695,7 @@
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">%s</format>
<property>/it-autoflight/settings/target-altitude-ft-actual</property>
<property>/it-autoflight/internal/alt</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
<draw-text type="bool">true</draw-text>
@ -1759,7 +1719,7 @@
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">%s</format>
<property>/it-autoflight/settings/target-altitude-ft-actual</property>
<property>/it-autoflight/internal/alt</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
<draw-text type="bool">true</draw-text>
@ -2046,4 +2006,4 @@
</emission>
</animation>
</PropertyList>
</PropertyList>

View file

@ -108,7 +108,7 @@
<object-name>fd_pitch</object-name>
<condition>
<equals>
<property>/it-autoflight/fd_master2</property>
<property>/it-autoflight/output/fd2</property>
<value>1</value>
</equals>
</condition>
@ -465,7 +465,7 @@
<object-name>hdg-bug</object-name>
<transform>
<subtype>textranslate</subtype>
<property>/it-autoflight/settings/heading-bug-deg</property>
<property>/it-autoflight/input/hdg</property>
<factor>0.002783031</factor>
<axis>
<x>-1</x>
@ -486,7 +486,7 @@
<object-name>hdg-bug</object-name>
<condition>
<equals>
<property>/it-autoflight/aplatmode</property>
<property>/it-autoflight/output/lat</property>
<value>0</value>
</equals>
</condition>
@ -855,7 +855,7 @@
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%3.0f</format>
<property>/it-autoflight/settings/target-speed-kt</property>
<property>/it-autoflight/input/spd-kts</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
<draw-text type="bool">true</draw-text>
@ -879,7 +879,7 @@
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%5.0f</format>
<property>/it-autoflight/settings/target-speed-kt</property>
<property>/it-autoflight/input/spd-kts</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
<draw-text type="bool">true</draw-text>
@ -903,7 +903,7 @@
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%1.2f</format>
<property>/it-autoflight/settings/target-mach</property>
<property>/it-autoflight/input/spd-mach</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
<draw-text type="bool">true</draw-text>
@ -927,7 +927,7 @@
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%1.2f</format>
<property>/it-autoflight/settings/target-mach</property>
<property>/it-autoflight/input/spd-mach</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
<draw-text type="bool">true</draw-text>
@ -946,7 +946,7 @@
<object-name>man-mach-lower</object-name>
<condition>
<equals>
<property>/it-autoflight/apthrmode</property>
<property>/it-autoflight/input/kts-mach</property>
<value>0</value>
</equals>
</condition>
@ -958,7 +958,7 @@
<object-name>man-spd-lower</object-name>
<condition>
<equals>
<property>/it-autoflight/apthrmode</property>
<property>/it-autoflight/input/kts-mach</property>
<value>1</value>
</equals>
</condition>
@ -995,7 +995,7 @@
<condition>
<and>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>1</value>
</equals>
<not-equals>
@ -1139,19 +1139,19 @@
<condition>
<or>
<equals>
<property>/it-autoflight/ap_master</property>
<property>/it-autoflight/output/ap1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/ap_master2</property>
<property>/it-autoflight/output/ap2</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/fd_master</property>
<property>/it-autoflight/output/fd1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/fd_master2</property>
<property>/it-autoflight/output/fd2</property>
<value>1</value>
</equals>
</or>
@ -1283,7 +1283,7 @@
<condition>
<and>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>1</value>
</equals>
<or>
@ -1314,7 +1314,7 @@
<condition>
<and>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>1</value>
</equals>
<or>
@ -1393,7 +1393,7 @@
<condition>
<and>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>1</value>
</equals>
<or>
@ -1440,7 +1440,7 @@
<condition>
<and>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>1</value>
</equals>
<less-than>
@ -1563,7 +1563,7 @@
<condition>
<and>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>1</value>
</equals>
<or>
@ -1575,14 +1575,6 @@
<property>/systems/thrust/state2</property>
<value>TOGA</value>
</equals>
<equals>
<property>/systems/thrust/state3</property>
<value>TOGA</value>
</equals>
<equals>
<property>/systems/thrust/state4</property>
<value>TOGA</value>
</equals>
<equals>
<property>/systems/thrust/state1</property>
<value>MCT</value>
@ -1591,14 +1583,6 @@
<property>/systems/thrust/state2</property>
<value>MCT</value>
</equals>
<equals>
<property>/systems/thrust/state3</property>
<value>MCT</value>
</equals>
<equals>
<property>/systems/thrust/state4</property>
<value>MCT</value>
</equals>
</or>
</and>
</condition>
@ -1610,7 +1594,7 @@
<condition>
<and>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>1</value>
</equals>
<or>
@ -1622,14 +1606,6 @@
<property>/systems/thrust/state2</property>
<value>TOGA</value>
</equals>
<equals>
<property>/systems/thrust/state3</property>
<value>TOGA</value>
</equals>
<equals>
<property>/systems/thrust/state4</property>
<value>TOGA</value>
</equals>
</or>
</and>
</condition>
@ -1641,7 +1617,7 @@
<condition>
<and>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>1</value>
</equals>
<not-equals>
@ -1652,14 +1628,6 @@
<property>/systems/thrust/state2</property>
<value>TOGA</value>
</not-equals>
<not-equals>
<property>/systems/thrust/state3</property>
<value>TOGA</value>
</not-equals>
<not-equals>
<property>/systems/thrust/state4</property>
<value>TOGA</value>
</not-equals>
<or>
<equals>
<property>/systems/thrust/state1</property>
@ -1669,14 +1637,6 @@
<property>/systems/thrust/state2</property>
<value>MCT</value>
</equals>
<equals>
<property>/systems/thrust/state3</property>
<value>MCT</value>
</equals>
<equals>
<property>/systems/thrust/state4</property>
<value>MCT</value>
</equals>
</or>
</and>
</condition>
@ -1711,7 +1671,7 @@
<condition>
<and>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>1</value>
</equals>
<equals>
@ -1735,7 +1695,7 @@
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">%s</format>
<property>/it-autoflight/settings/target-altitude-ft-actual</property>
<property>/it-autoflight/internal/alt</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
<draw-text type="bool">true</draw-text>
@ -1759,7 +1719,7 @@
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">%s</format>
<property>/it-autoflight/settings/target-altitude-ft-actual</property>
<property>/it-autoflight/internal/alt</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
<draw-text type="bool">true</draw-text>
@ -2046,4 +2006,4 @@
</emission>
</animation>
</PropertyList>
</PropertyList>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

View file

@ -1,9 +1,28 @@
AC3Db
MATERIAL "ac3dmat1" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0.737255 0.713726 0.72549 spec 0 0 0 shi 128 trans 0
MATERIAL "ac3dmat1" rgb 1 1 1 amb 0.2 0.2 0.2 emis 1 1 1 spec 0 0 0 shi 128 trans 0
MATERIAL "DefaultWhite.001" rgb 0 0 0 amb 0 0 0 emis 0 0 0 spec 0 0 0 shi 64 trans 0
MATERIAL "ac3dmat9" rgb 0 0.4 0.8 amb 0 0.4 0.8 emis 1 1 1 spec 0 0 0 shi 0 trans 0
OBJECT world
kids 15
kids 17
OBJECT poly
name "flapc"
loc 0.000794735 0.00884851 -0.0438111
texture "grey.png"
crease 45.000000
numvert 4
0 0.00185478 0.00414005
0 0.00185478 -0.00406742
0 -0.00185479 -0.00219462
0 -0.00185479 0.00246911
numsurf 1
SURF 0x30
mat 0
refs 4
3 0.726161 0.346401
2 0.702121 0.346401
1 0.687308 0.324581
0 0.742187 0.324581
kids 0
OBJECT poly
name "thrpos2"
loc 0.000314596 0.0533919 0.0203671
@ -1717,12 +1736,308 @@ refs 3
0 0.5 0.5
kids 0
OBJECT poly
name "n12"
loc 0.000794735 -0.000432765 0.0122329
texture "symbols.png"
crease 45.000000
numvert 4
0 -0.00211262 0.00644416
0 -0.00267386 0.00624546
0 0.00179795 -0.00655557
0 0.00292047 -0.00615813
numsurf 1
SURF 0x30
mat 0
refs 4
0 0.343129 0.181706
1 0.343129 0.146419
2 0.0771681 0.146419
3 0.0771681 0.181706
kids 0
OBJECT poly
name "n11"
loc 0.000794735 -0.000432765 0.0678275
texture "symbols.png"
crease 45.000000
numvert 4
0 0.00292047 -0.00615813
0 0.00179795 -0.00655557
0 -0.00267386 0.00624546
0 -0.00211262 0.00644416
numsurf 1
SURF 0x30
mat 0
refs 4
3 0.343129 0.181706
2 0.343129 0.146419
1 0.0771681 0.146419
0 0.0771681 0.181706
kids 0
OBJECT poly
name "egt2"
loc 0.000794735 0.0294379 0.0121803
texture "symbols.png"
crease 45.000000
numvert 4
0 0.00292047 -0.00615813
0 0.00179795 -0.00655557
0 -0.00267386 0.00624546
0 -0.00211262 0.00644416
numsurf 1
SURF 0x30
mat 0
refs 4
3 0.343129 0.181706
2 0.343129 0.146419
1 0.0771681 0.146419
0 0.0771681 0.181706
kids 0
OBJECT poly
name "egt1"
loc 0.000794735 0.0294379 0.0678275
texture "symbols.png"
crease 45.000000
numvert 4
0 -0.00211262 0.00644416
0 -0.00267386 0.00624546
0 0.00179795 -0.00655557
0 0.00292047 -0.00615813
numsurf 1
SURF 0x30
mat 0
refs 4
0 0.343129 0.181706
1 0.343129 0.146419
2 0.0771681 0.146419
3 0.0771681 0.181706
kids 0
OBJECT poly
name "epr2"
loc 0.000794735 0.0564499 0.0122067
texture "symbols.png"
crease 45.000000
numvert 4
0 -0.00211262 0.00644416
0 -0.00267386 0.00624546
0 0.00179795 -0.00655557
0 0.00292047 -0.00615813
numsurf 1
SURF 0x30
mat 0
refs 4
0 0.343129 0.181706
1 0.343129 0.146419
2 0.0771681 0.146419
3 0.0771681 0.181706
kids 0
OBJECT poly
name "epr1"
loc 0.000794735 0.0564499 0.0678275
texture "symbols.png"
crease 45.000000
numvert 4
0 0.00292047 -0.00615813
0 0.00179795 -0.00655557
0 -0.00267386 0.00624546
0 -0.00211262 0.00644416
numsurf 1
SURF 0x30
mat 0
refs 4
3 0.343129 0.181706
2 0.343129 0.146419
1 0.0771681 0.146419
0 0.0771681 0.181706
kids 0
OBJECT poly
name "XX2"
loc 1.91422e-005 -0.0851298 -0.51126
texture "eicasIAE-extra.png"
crease 45.000000
numvert 10
0 0.106466 0.533966
0 0.106466 0.533514
0 0.106466 0.497174
0 0.106899 0.533966
0 0.164009 0.533966
0 0.158958 0.533966
0 0.162229 0.533966
0 0.158964 0.497174
0 0.161028 0.497174
0 0.164015 0.497174
numsurf 4
SURF 0x10
mat 0
refs 4
9 0.585815 0.994918
4 0.361673 0.994882
6 0.361673 0.983774
8 0.585815 0.976283
SURF 0x10
mat 0
refs 4
8 0.585815 0.976283
6 0.361673 0.983774
5 0.361673 0.963371
7 0.585815 0.963407
SURF 0x10
mat 0
refs 5
2 0.585815 0.635912
7 0.585815 0.963407
5 0.361673 0.963371
3 0.361673 0.638612
1 0.364424 0.635911
SURF 0x10
mat 0
refs 3
1 0.364424 0.635911
3 0.361673 0.638612
0 0.361673 0.635911
kids 0
OBJECT poly
name "XX1"
loc 1.91422e-005 -0.0851298 -0.51126
texture "eicasIAE-extra.png"
crease 45.000000
numvert 12
0 0.106466 0.553931
0 0.106466 0.588269
0 0.106466 0.593319
0 0.106466 0.590063
0 0.164001 0.58826
0 0.16252 0.591832
0 0.15895 0.58826
0 0.15895 0.593311
0 0.126039 0.553931
0 0.158955 0.553931
0 0.162881 0.553931
0 0.164006 0.553931
numsurf 8
SURF 0x10
mat 0
refs 3
11 0.240046 0.994862
4 0.0309113 0.994828
10 0.240046 0.987839
SURF 0x10
mat 0
refs 4
10 0.240046 0.987839
4 0.0309113 0.994828
6 0.0309113 0.963318
9 0.240046 0.963352
SURF 0x10
mat 0
refs 3
9 0.240046 0.963352
6 0.0309113 0.963318
8 0.240046 0.758012
SURF 0x10
mat 0
refs 3
4 0.0309113 0.994828
5 0.00915051 0.985588
6 0.0309113 0.963318
SURF 0x10
mat 0
refs 3
7 0.00014019 0.963318
6 0.0309113 0.963318
5 0.00915051 0.985588
SURF 0x10
mat 0
refs 4
3 0.0199245 0.635911
6 0.0309113 0.963318
7 0.00014019 0.963318
2 9.03623e-005 0.635911
SURF 0x10
mat 0
refs 3
1 0.0308593 0.635911
6 0.0309113 0.963318
3 0.0199245 0.635911
SURF 0x10
mat 0
refs 4
0 0.240046 0.635911
8 0.240046 0.758012
6 0.0309113 0.963318
1 0.0308593 0.635911
kids 0
OBJECT poly
name "XX4"
loc 1.91422e-005 -0.0851298 -0.51126
texture "eicasIAE-extra.png"
crease 45.000000
numvert 6
0 0.0779447 0.497174
0 0.0779447 0.503764
0 0.0779447 0.533966
0 0.106466 0.533966
0 0.106466 0.533514
0 0.106466 0.497174
numsurf 2
SURF 0x10
mat 0
refs 4
1 0.545664 0.45799
4 0.364424 0.635911
3 0.361673 0.635911
2 0.361673 0.45799
SURF 0x10
mat 0
refs 4
0 0.585815 0.45799
5 0.585815 0.635912
4 0.364424 0.635911
1 0.545664 0.45799
kids 0
OBJECT poly
name "XX3"
loc 1.91422e-005 -0.0851298 -0.51126
texture "eicasIAE-extra.png"
crease 45.000000
numvert 8
0 0.0779447 0.593324
0 0.0779447 0.553931
0 0.0779447 0.588273
0 0.0779447 0.591043
0 0.106466 0.553931
0 0.106466 0.588269
0 0.106466 0.593319
0 0.106466 0.590063
numsurf 3
SURF 0x10
mat 0
refs 4
2 0.030831 0.45799
5 0.0308593 0.635911
7 0.0199245 0.635911
3 0.013954 0.45799
SURF 0x10
mat 0
refs 4
3 0.013954 0.45799
7 0.0199245 0.635911
6 9.03623e-005 0.635911
0 6.32847e-005 0.45799
SURF 0x10
mat 0
refs 4
1 0.240046 0.45799
4 0.240046 0.635911
5 0.0308593 0.635911
2 0.030831 0.45799
kids 0
OBJECT poly
name "face"
loc 1.6424e-005 -0.0851298 -0.51126
texture "eicasIAE.png"
crease 45.000000
numvert 16
0 0.00773945 0.430689
0 0.00773944 0.430689
0 0.00625946 0.43426
0 0.00623417 0.588284
0 0.00771479 0.591855
@ -1849,298 +2164,48 @@ refs 3
13 0.0309113 0.963318
kids 0
OBJECT poly
name "n12"
loc 0.000794735 -0.000432765 0.0122329
texture "symbols.png"
crease 45.000000
numvert 4
0 -0.00211262 0.00644416
0 -0.00267386 0.00624546
0 0.00179795 -0.00655557
0 0.00292047 -0.00615813
numsurf 1
SURF 0x30
mat 0
refs 4
0 0.343129 0.181706
1 0.343129 0.146419
2 0.0771681 0.146419
3 0.0771681 0.181706
kids 0
OBJECT poly
name "n11"
loc 0.000794735 -0.000432765 0.0678275
texture "symbols.png"
crease 45.000000
numvert 4
0 0.00292047 -0.00615813
0 0.00179795 -0.00655557
0 -0.00267386 0.00624546
0 -0.00211262 0.00644416
numsurf 1
SURF 0x30
mat 0
refs 4
3 0.343129 0.181706
2 0.343129 0.146419
1 0.0771681 0.146419
0 0.0771681 0.181706
kids 0
OBJECT poly
name "egt2"
loc 0.000794735 0.0294379 0.0121803
texture "symbols.png"
crease 45.000000
numvert 4
0 0.00292047 -0.00615813
0 0.00179795 -0.00655557
0 -0.00267386 0.00624546
0 -0.00211262 0.00644416
numsurf 1
SURF 0x30
mat 0
refs 4
3 0.343129 0.181706
2 0.343129 0.146419
1 0.0771681 0.146419
0 0.0771681 0.181706
kids 0
OBJECT poly
name "egt1"
loc 0.000794735 0.0294379 0.0678275
texture "symbols.png"
crease 45.000000
numvert 4
0 -0.00211262 0.00644416
0 -0.00267386 0.00624546
0 0.00179795 -0.00655557
0 0.00292047 -0.00615813
numsurf 1
SURF 0x30
mat 0
refs 4
0 0.343129 0.181706
1 0.343129 0.146419
2 0.0771681 0.146419
3 0.0771681 0.181706
kids 0
OBJECT poly
name "epr2"
loc 0.000794735 0.0564499 0.0122067
texture "symbols.png"
crease 45.000000
numvert 4
0 -0.00211262 0.00644416
0 -0.00267386 0.00624546
0 0.00179795 -0.00655557
0 0.00292047 -0.00615813
numsurf 1
SURF 0x30
mat 0
refs 4
0 0.343129 0.181706
1 0.343129 0.146419
2 0.0771681 0.146419
3 0.0771681 0.181706
kids 0
OBJECT poly
name "epr1"
loc 0.000794735 0.0564499 0.0678275
texture "symbols.png"
crease 45.000000
numvert 4
0 0.00292047 -0.00615813
0 0.00179795 -0.00655557
0 -0.00267386 0.00624546
0 -0.00211262 0.00644416
numsurf 1
SURF 0x30
mat 0
refs 4
3 0.343129 0.181706
2 0.343129 0.146419
1 0.0771681 0.146419
0 0.0771681 0.181706
kids 0
OBJECT poly
name "XX2"
loc 1.91422e-005 -0.0851298 -0.51126
texture "eicasIAE-XX.png"
name "faceflap"
loc 0.000631075 -0.0851298 -0.51126
texture "eicasIAE-extra.png"
crease 45.000000
numvert 10
0 0.106466 0.533966
0 0.106466 0.533514
0 0.106466 0.497174
0 0.106899 0.533966
0 0.164009 0.533966
0 0.158958 0.533966
0 0.162229 0.533966
0 0.158964 0.497174
0 0.161028 0.497174
0 0.164015 0.497174
0 0.0612567 0.434252
0 0.0612567 0.432544
0 0.0612567 0.486357
0 0.0612567 0.429202
0 0.0612567 0.492039
0 0.10931 0.434244
0 0.10931 0.430893
0 0.10931 0.492039
0 0.10931 0.429194
0 0.0667036 0.492039
numsurf 4
SURF 0x10
mat 0
refs 4
9 0.585815 0.994918
4 0.361673 0.994882
6 0.361673 0.983774
8 0.585815 0.976283
refs 3
2 0.651709 0.353887
9 0.617096 0.387865
4 0.617096 0.353887
SURF 0x10
mat 0
refs 4
8 0.585815 0.976283
6 0.361673 0.983774
5 0.361673 0.963371
7 0.585815 0.963407
3 0.999903 0.353887
8 0.999951 0.653651
6 0.989603 0.653651
1 0.979544 0.353887
SURF 0x10
mat 0
refs 5
2 0.585815 0.635912
7 0.585815 0.963407
5 0.361673 0.963371
3 0.361673 0.638612
1 0.364424 0.635911
0 0.969138 0.353887
5 0.969186 0.653651
7 0.617096 0.653651
9 0.617096 0.387865
2 0.651709 0.353887
SURF 0x10
mat 0
refs 3
1 0.364424 0.635911
3 0.361673 0.638612
0 0.361673 0.635911
kids 0
OBJECT poly
name "XX1"
loc 1.91422e-005 -0.0851298 -0.51126
texture "eicasIAE-XX.png"
crease 45.000000
numvert 12
0 0.106466 0.553931
0 0.106466 0.588269
0 0.106466 0.593319
0 0.106466 0.590063
0 0.164001 0.58826
0 0.16252 0.591832
0 0.15895 0.58826
0 0.15895 0.593311
0 0.126039 0.553931
0 0.158955 0.553931
0 0.162881 0.553931
0 0.164006 0.553931
numsurf 8
SURF 0x10
mat 0
refs 3
11 0.240046 0.994862
4 0.0309113 0.994828
10 0.240046 0.987839
SURF 0x10
mat 0
refs 4
10 0.240046 0.987839
4 0.0309113 0.994828
6 0.0309113 0.963318
9 0.240046 0.963352
SURF 0x10
mat 0
refs 3
9 0.240046 0.963352
6 0.0309113 0.963318
8 0.240046 0.758012
SURF 0x10
mat 0
refs 3
4 0.0309113 0.994828
5 0.00915051 0.985588
6 0.0309113 0.963318
SURF 0x10
mat 0
refs 3
7 0.00014019 0.963318
6 0.0309113 0.963318
5 0.00915051 0.985588
SURF 0x10
mat 0
refs 4
3 0.0199245 0.635911
6 0.0309113 0.963318
7 0.00014019 0.963318
2 9.03623e-005 0.635911
SURF 0x10
mat 0
refs 3
1 0.0308593 0.635911
6 0.0309113 0.963318
3 0.0199245 0.635911
SURF 0x10
mat 0
refs 4
0 0.240046 0.635911
8 0.240046 0.758012
6 0.0309113 0.963318
1 0.0308593 0.635911
kids 0
OBJECT poly
name "XX4"
loc 1.91422e-005 -0.0851298 -0.51126
texture "eicasIAE-XX.png"
crease 45.000000
numvert 6
0 0.0779447 0.497174
0 0.0779447 0.503764
0 0.0779447 0.533966
0 0.106466 0.533966
0 0.106466 0.533514
0 0.106466 0.497174
numsurf 2
SURF 0x10
mat 0
refs 4
1 0.545664 0.45799
4 0.364424 0.635911
3 0.361673 0.635911
2 0.361673 0.45799
SURF 0x10
mat 0
refs 4
0 0.585815 0.45799
5 0.585815 0.635912
4 0.364424 0.635911
1 0.545664 0.45799
kids 0
OBJECT poly
name "XX3"
loc 1.91422e-005 -0.0851298 -0.51126
texture "eicasIAE-XX.png"
crease 45.000000
numvert 8
0 0.0779447 0.593324
0 0.0779447 0.553931
0 0.0779447 0.588273
0 0.0779447 0.591043
0 0.106466 0.553931
0 0.106466 0.588269
0 0.106466 0.593319
0 0.106466 0.590063
numsurf 3
SURF 0x10
mat 0
refs 4
2 0.030831 0.45799
5 0.0308593 0.635911
7 0.0199245 0.635911
3 0.013954 0.45799
SURF 0x10
mat 0
refs 4
3 0.013954 0.45799
7 0.0199245 0.635911
6 9.03623e-005 0.635911
0 6.32847e-005 0.45799
SURF 0x10
mat 0
refs 4
1 0.240046 0.45799
4 0.240046 0.635911
5 0.0308593 0.635911
2 0.030831 0.45799
refs 4
1 0.979544 0.353887
6 0.989603 0.653651
5 0.969186 0.653651
0 0.969138 0.353887
kids 0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

View file

@ -3,77 +3,73 @@
# Speed or Mach?
var speedmach = func {
if (getprop("/it-autoflight/apvertmode") == 4) {
if (getprop("/it-autoflight/output/vert") == 4) {
# Do nothing because it's in FLCH mode.
} else {
if (getprop("/it-autoflight/apthrmode") == 0) {
if (getprop("/it-autoflight/input/kts-mach") == 0) {
setprop("/modes/pfd/fma/throttle-mode", "SPEED");
} else if (getprop("/it-autoflight/apthrmode") == 1) {
} else if (getprop("/it-autoflight/input/kts-mach") == 1) {
setprop("/modes/pfd/fma/throttle-mode", "MACH");
}
}
}
# Update Speed or Mach
setlistener("/it-autoflight/apthrmode", func {
setlistener("/it-autoflight/input/kts-mach", func {
speedmach();
});
# Master Thrust
setlistener("/it-autoflight/apthrmode2", func {
var latset = getprop("/it-autoflight/apthrmode2");
if (latset == 0) {
setlistener("/it-autoflight/output/thr-mode", func {
var thr = getprop("/it-autoflight/output/thr-mode");
if (thr == 0) {
speedmach();
} else if (latset == 1) {
} else if (thr == 1) {
setprop("/modes/pfd/fma/throttle-mode", "THR IDLE");
flch();
} else if (latset == 2) {
} else if (thr == 2) {
setprop("/modes/pfd/fma/throttle-mode", "THR CLB");
flch();
}
});
# Master Lateral
setlistener("/it-autoflight/aplatmode", func {
var latset = getprop("/it-autoflight/aplatmode");
if (latset == 0) {
setlistener("/it-autoflight/mode/lat", func {
var lat = getprop("/it-autoflight/mode/lat");
if (lat == "HDG") {
setprop("/modes/pfd/fma/roll-mode", "HDG");
} else if (latset == 1) {
} else if (lat == "LNAV") {
setprop("/modes/pfd/fma/roll-mode", "NAV");
} else if (latset == 2) {
} else if (lat == "LOC") {
setprop("/modes/pfd/fma/roll-mode", "LOC");
} else if (lat == "ALGN") {
setprop("/modes/pfd/fma/roll-mode", "ALN");
}
});
# Master Vertical
setlistener("/it-autoflight/apvertmode", func {
var latset = getprop("/it-autoflight/apvertmode");
if (latset == 0) {
setlistener("/it-autoflight/mode/vert", func {
var vert = getprop("/it-autoflight/mode/vert");
if (vert == "ALT HLD") {
setprop("/modes/pfd/fma/pitch-mode", "ALT HLD");
} else if (latset == 1) {
} else if (vert == "ALT CAP") {
setprop("/modes/pfd/fma/pitch-mode", "ALT CAP");
} else if (vert == "V/S") {
setprop("/modes/pfd/fma/pitch-mode", "V/S");
} else if (latset == 2) {
} else if (vert == "G/S") {
setprop("/modes/pfd/fma/pitch-mode", "G/S");
} else if (latset == 4) {
flch();
} else if (latset == 6) {
} else if (vert == "SPD CLB") {
setprop("/modes/pfd/fma/pitch-mode", "OP CLB");
} else if (vert == "SPD DES") {
setprop("/modes/pfd/fma/pitch-mode", "OP DES");
} else if (vert == "LAND 3") {
setprop("/modes/pfd/fma/pitch-mode", "LAND");
} else if (vert == "FLARE") {
setprop("/modes/pfd/fma/pitch-mode", "FLARE");
}
});
var flch = func {
var calt = getprop("/instrumentation/altimeter/indicated-altitude-ft");
var alt = getprop("/it-autoflight/settings/target-altitude-ft-actual");
if (calt < alt) {
setprop("/modes/pfd/fma/pitch-mode", "OP CLB");
} else if (calt > alt) {
setprop("/modes/pfd/fma/pitch-mode", "OP DES");
}
}
# Arm LOC
setlistener("/it-autoflight/loc-armed", func {
var loca = getprop("/it-autoflight/loc-armed");
setlistener("/it-autoflight/output/loc-armed", func {
var loca = getprop("/it-autoflight/output/loc-armed");
if (loca) {
setprop("/modes/pfd/fma/roll-mode-armed", "LOC");
} else {
@ -82,8 +78,8 @@ setlistener("/it-autoflight/loc-armed", func {
});
# Arm G/S
setlistener("/it-autoflight/appr-armed", func {
var appa = getprop("/it-autoflight/appr-armed");
setlistener("/it-autoflight/output/appr-armed", func {
var appa = getprop("/it-autoflight/output/appr-armed");
if (appa) {
setprop("/modes/pfd/fma/pitch-mode-armed", "G/S");
} else {
@ -93,8 +89,8 @@ setlistener("/it-autoflight/appr-armed", func {
# AP
var ap = func {
var ap1 = getprop("/it-autoflight/ap_master");
var ap2 = getprop("/it-autoflight/ap_master2");
var ap1 = getprop("/it-autoflight/output/ap1");
var ap2 = getprop("/it-autoflight/output/ap2");
if (ap1 and ap2) {
setprop("/modes/pfd/fma/ap-mode", "AP1+2");
} else if (ap1 and !ap2) {
@ -108,8 +104,8 @@ var ap = func {
# FD
var fd = func {
var fd1 = getprop("/it-autoflight/fd_master");
var fd2 = getprop("/it-autoflight/fd_master2");
var fd1 = getprop("/it-autoflight/output/fd1");
var fd2 = getprop("/it-autoflight/output/fd2");
if (fd1 and fd2) {
setprop("/modes/pfd/fma/fd-mode", "1FD2");
} else if (fd1 and !fd2) {
@ -123,7 +119,7 @@ var fd = func {
# AT
var at = func {
var at = getprop("/it-autoflight/at_master");
var at = getprop("/it-autoflight/output/athr");
if (at) {
setprop("/modes/pfd/fma/at-mode", "A/THR");
} else {
@ -131,20 +127,20 @@ var at = func {
}
}
# Update AP or FD
setlistener("/it-autoflight/ap_master", func {
# Update AP FD ATHR
setlistener("/it-autoflight/output/ap1", func {
ap();
});
setlistener("/it-autoflight/ap_master2", func {
setlistener("/it-autoflight/output/ap2", func {
ap();
});
setlistener("/it-autoflight/fd_master", func {
setlistener("/it-autoflight/output/fd1", func {
fd();
});
setlistener("/it-autoflight/fd_master2", func {
setlistener("/it-autoflight/output/fd2", func {
fd();
});
setlistener("/it-autoflight/at_master", func {
setlistener("/it-autoflight/output/athr", func {
at();
});

View file

@ -36,7 +36,7 @@ controls.flapsDown = func(step) {
setprop("/controls/flight/flaps", 1.000);
setprop("/controls/flight/slats", 1.000);
setprop("/controls/flight/flap-lever", 4);
setprop("/controls/flight/flap-txt", "4");
setprop("/controls/flight/flap-txt", "FULL");
return;
}
} else if (step == -1) {

View file

@ -1,182 +1,186 @@
# IT AUTOFLIGHT System Controller by Joshua Davidson (it0uchpods/411).
# V3.0.0 Milestone 2 Build 54H
# V3.0.0 Milestone 3 Build 78
print("IT-AUTOFLIGHT: Please Wait!");
setprop("/it-autoflight/settings/retard-enable", 1); # Do not change this here! See IT-AUTOFLIGHT's Help.txt
setprop("/it-autoflight/settings/retard-ft", 50); # Do not change this here! See IT-AUTOFLIGHT's Help.txt
setprop("/it-autoflight/settings/land-flap", 0.6); # Do not change this here! See IT-AUTOFLIGHT's Help.txt
setprop("/it-autoflight/settings/land-enable", 1); # Do not change this here! See IT-AUTOFLIGHT's Help.txt
setprop("/it-autoflight/settings/retard-enable", 1); # Do not change this here! See IT-AUTOFLIGHT's Help.txt
setprop("/it-autoflight/settings/retard-ft", 50); # Do not change this here! See IT-AUTOFLIGHT's Help.txt
setprop("/it-autoflight/settings/land-flap", 0.6); # Do not change this here! See IT-AUTOFLIGHT's Help.txt
setprop("/it-autoflight/settings/land-enable", 1); # Do not change this here! See IT-AUTOFLIGHT's Help.txt
setprop("/it-autoflight/autoland/flare-altitude", 20); # Do not change this here! See IT-AUTOFLIGHT's Help.txt
var ap_init = func {
setprop("/it-autoflight/ap_master", 0);
setprop("/it-autoflight/ap_master2", 0);
setprop("/it-autoflight/at_master", 0);
setprop("/it-autoflight/fd_master", 0);
setprop("/it-autoflight/fd_master2", 0);
setprop("/it-autoflight/loc-armed", 0);
setprop("/it-autoflight/appr-armed", 0);
setprop("/it-autoflight/autothrarm", 0);
setprop("/it-autoflight/apthrmode", 0);
setprop("/it-autoflight/apthrmode2", 0);
setprop("/it-autoflight/settings/target-speed-kt", 200);
setprop("/it-autoflight/settings/target-mach", 0.68);
setprop("/it-autoflight/settings/heading-bug-deg", 360);
setprop("/it-autoflight/settings/target-altitude-ft", 10000);
setprop("/it-autoflight/settings/target-altitude-ft-actual", 10000);
setprop("/it-autoflight/settings/vertical-speed-fpm", 0);
setprop("/it-autoflight/settings/bank-limit", 30);
setprop("/it-autoflight/input/kts-mach", 0);
setprop("/it-autoflight/input/ap1", 0);
setprop("/it-autoflight/input/ap2", 0);
setprop("/it-autoflight/input/athr", 0);
setprop("/it-autoflight/input/fd1", 0);
setprop("/it-autoflight/input/fd2", 0);
setprop("/it-autoflight/input/spd-kts", 200);
setprop("/it-autoflight/input/spd-mach", 0.68);
setprop("/it-autoflight/input/hdg", 360);
setprop("/it-autoflight/input/alt", 10000);
setprop("/it-autoflight/input/vs", 0);
setprop("/it-autoflight/input/lat", 0);
setprop("/it-autoflight/input/vert", 4);
setprop("/it-autoflight/input/bank-limit", 30);
setprop("/it-autoflight/input/trk", 0);
setprop("/it-autoflight/output/ap1", 0);
setprop("/it-autoflight/output/ap2", 0);
setprop("/it-autoflight/output/at", 0);
setprop("/it-autoflight/output/fd1", 0);
setprop("/it-autoflight/output/fd2", 0);
setprop("/it-autoflight/output/loc-armed", 0);
setprop("/it-autoflight/output/appr-armed", 0);
setprop("/it-autoflight/output/thr-mode", 0);
setprop("/it-autoflight/output/retard", 0);
setprop("/it-autoflight/settings/min-pitch", -4);
setprop("/it-autoflight/settings/max-pitch", 8);
setprop("/it-autoflight/internal/min-pitch", -4);
setprop("/it-autoflight/internal/max-pitch", 8);
setprop("/it-autoflight/settings/vertical-speed-fpm", 0);
setprop("/it-autoflight/aplatset", 0);
setprop("/it-autoflight/apvertset", 4);
setprop("/it-autoflight/retard", 0);
setprop("/it-autoflight/internal/alt", 10000);
setprop("/it-autoflight/autoland/target-vs", "-500");
setprop("/it-autoflight/settings/use-true-hdg-error", 0);
update_arms();
print("IT-AUTOFLIGHT: Done!");
}
# AP 1 Master System
setlistener("/it-autoflight/ap_mastersw", func {
var apmas = getprop("/it-autoflight/ap_mastersw");
setlistener("/it-autoflight/input/ap1", func {
var apmas = getprop("/it-autoflight/input/ap1");
if (apmas == 0) {
setprop("/it-autoflight/ap_master", 0);
if (getprop("/it-autoflight/enableapoffsound") == 1) {
setprop("/it-autoflight/apoffsound", 1);
setprop("/it-autoflight/enableapoffsound", 0);
setprop("/it-autoflight/output/ap1", 0);
if (getprop("/it-autoflight/sound/enableapoffsound") == 1) {
setprop("/it-autoflight/sound/apoffsound", 1);
setprop("/it-autoflight/sound/enableapoffsound", 0);
}
} else if (apmas == 1) {
setprop("/it-autoflight/ap_master", 1);
setprop("/it-autoflight/enableapoffsound", 1);
setprop("/it-autoflight/apoffsound", 0);
setprop("/controls/flight/rudder", 0);
setprop("/it-autoflight/output/ap1", 1);
setprop("/it-autoflight/sound/enableapoffsound", 1);
setprop("/it-autoflight/sound/apoffsound", 0);
}
});
# AP 2 Master System
setlistener("/it-autoflight/ap_mastersw2", func {
var apmas = getprop("/it-autoflight/ap_mastersw2");
setlistener("/it-autoflight/input/ap2", func {
var apmas = getprop("/it-autoflight/input/ap2");
if (apmas == 0) {
setprop("/it-autoflight/ap_master2", 0);
if (getprop("/it-autoflight/enableapoffsound2") == 1) {
setprop("/it-autoflight/apoffsound2", 1);
setprop("/it-autoflight/enableapoffsound", 0);
setprop("/it-autoflight/output/ap2", 0);
if (getprop("/it-autoflight/sound/enableapoffsound2") == 1) {
setprop("/it-autoflight/sound/apoffsound2", 1);
setprop("/it-autoflight/sound/enableapoffsound2", 0);
}
} else if (apmas == 1) {
setprop("/it-autoflight/ap_master2", 1);
setprop("/it-autoflight/enableapoffsound2", 1);
setprop("/it-autoflight/apoffsound2", 0);
setprop("/controls/flight/rudder", 0);
setprop("/it-autoflight/output/ap2", 1);
setprop("/it-autoflight/sound/enableapoffsound2", 1);
setprop("/it-autoflight/sound/apoffsound2", 0);
}
});
# AT Master System
setlistener("/it-autoflight/at_mastersw", func {
var atmas = getprop("/it-autoflight/at_mastersw");
setlistener("/it-autoflight/input/athr", func {
var atmas = getprop("/it-autoflight/input/athr");
if (atmas == 0) {
setprop("/it-autoflight/at_master", 0);
setprop("/it-autoflight/output/athr", 0);
} else if (atmas == 1) {
setprop("/it-autoflight/at_master", 1);
setprop("/it-autoflight/output/athr", 1);
}
});
# Flight Director 1 Master System
setlistener("/it-autoflight/fd_mastersw", func {
var fdmas = getprop("/it-autoflight/fd_mastersw");
setlistener("/it-autoflight/input/fd1", func {
var fdmas = getprop("/it-autoflight/input/fd1");
if (fdmas == 0) {
setprop("/it-autoflight/fd_master", 0);
setprop("/it-autoflight/output/fd1", 0);
} else if (fdmas == 1) {
setprop("/it-autoflight/fd_master", 1);
setprop("/it-autoflight/output/fd1", 1);
}
});
# Flight Director 2 Master System
setlistener("/it-autoflight/fd_mastersw2", func {
var fdmas = getprop("/it-autoflight/fd_mastersw2");
setlistener("/it-autoflight/input/fd2", func {
var fdmas = getprop("/it-autoflight/input/fd2");
if (fdmas == 0) {
setprop("/it-autoflight/fd_master2", 0);
setprop("/it-autoflight/output/fd2", 0);
} else if (fdmas == 1) {
setprop("/it-autoflight/fd_master2", 1);
setprop("/it-autoflight/output/fd2", 1);
}
});
# Master Lateral
setlistener("/it-autoflight/aplatset", func {
var latset = getprop("/it-autoflight/aplatset");
setlistener("/it-autoflight/input/lat", func {
var latset = getprop("/it-autoflight/input/lat");
if (latset == 0) {
setprop("/it-autoflight/loc-armed", 0);
setprop("/it-autoflight/appr-armed", 0);
setprop("/it-autoflight/aplatmode", 0);
setprop("/it-autoflight/txtlatmode", "HDG");
setprop("/it-autoflight/txtarmmode", " ");
setprop("/it-autoflight/output/loc-armed", 0);
setprop("/it-autoflight/output/appr-armed", 0);
setprop("/it-autoflight/output/lat", 0);
setprop("/it-autoflight/mode/lat", "HDG");
setprop("/it-autoflight/mode/arm", " ");
} else if (latset == 1) {
setprop("/it-autoflight/loc-armed", 0);
setprop("/it-autoflight/appr-armed", 0);
setprop("/it-autoflight/aplatmode", 1);
setprop("/it-autoflight/txtlatmode", "LNAV");
setprop("/it-autoflight/txtarmmode", " ");
setprop("/it-autoflight/output/loc-armed", 0);
setprop("/it-autoflight/output/appr-armed", 0);
setprop("/it-autoflight/output/lat", 1);
setprop("/it-autoflight/mode/lat", "LNAV");
setprop("/it-autoflight/mode/arm", " ");
} else if (latset == 2) {
setprop("/instrumentation/nav/signal-quality-norm", 0);
setprop("/it-autoflight/loc-armed", 1);
setprop("/it-autoflight/appr-armed", 0);
setprop("/it-autoflight/txtarmmode", "LOC");
setprop("/it-autoflight/output/loc-armed", 1);
setprop("/it-autoflight/output/appr-armed", 0);
setprop("/it-autoflight/mode/arm", "LOC");
} else if (latset == 3) {
setprop("/it-autoflight/loc-armed", 0);
setprop("/it-autoflight/appr-armed", 0);
setprop("/it-autoflight/aplatmode", 0);
setprop("/it-autoflight/txtlatmode", "HDG");
setprop("/it-autoflight/txtarmmode", " ");
setprop("/it-autoflight/output/loc-armed", 0);
setprop("/it-autoflight/output/appr-armed", 0);
setprop("/it-autoflight/output/lat", 0);
setprop("/it-autoflight/mode/lat", "HDG");
setprop("/it-autoflight/mode/arm", " ");
var hdgnow = int(getprop("/orientation/heading-magnetic-deg")+0.5);
setprop("/it-autoflight/settings/heading-bug-deg", hdgnow);
setprop("/it-autoflight/input/hdg", hdgnow);
} else if (latset == 4) {
setprop("/it-autoflight/aplatmode", 4);
setprop("/it-autoflight/txtlatmode", "LAND");
setprop("/it-autoflight/output/lat", 4);
setprop("/it-autoflight/mode/lat", "ALGN");
}
});
# Master Vertical
setlistener("/it-autoflight/apvertset", func {
var vertset = getprop("/it-autoflight/apvertset");
setlistener("/it-autoflight/input/vert", func {
var vertset = getprop("/it-autoflight/input/vert");
if (vertset == 0) {
setprop("/it-autoflight/appr-armed", 0);
setprop("/it-autoflight/apvertmode", 0);
setprop("/it-autoflight/txtvertmode", "ALT HLD");
if (getprop("/it-autoflight/loc-armed")) {
setprop("/it-autoflight/txtarmmode", "LOC");
setprop("/it-autoflight/output/appr-armed", 0);
setprop("/it-autoflight/output/vert", 0);
setprop("/it-autoflight/mode/vert", "ALT HLD");
if (getprop("/it-autoflight/output/loc-armed")) {
setprop("/it-autoflight/mode/arm", "LOC");
} else {
setprop("/it-autoflight/txtarmmode", " ");
setprop("/it-autoflight/mode/arm", " ");
}
var altnow = int((getprop("/instrumentation/altimeter/indicated-altitude-ft")+50)/100)*100;
setprop("/it-autoflight/settings/target-altitude-ft", altnow);
setprop("/it-autoflight/settings/target-altitude-ft-actual", altnow);
setprop("/it-autoflight/input/alt", altnow);
setprop("/it-autoflight/internal/alt", altnow);
flchthrust();
} else if (vertset == 1) {
var altinput = getprop("/it-autoflight/settings/target-altitude-ft");
setprop("/it-autoflight/settings/target-altitude-ft-actual", altinput);
var altinput = getprop("/it-autoflight/input/alt");
setprop("/it-autoflight/internal/alt", altinput);
var vsnow = int(getprop("/velocities/vertical-speed-fps")*0.6)*100;
setprop("/it-autoflight/settings/vertical-speed-fpm", vsnow);
setprop("/it-autoflight/appr-armed", 0);
setprop("/it-autoflight/apvertmode", 1);
setprop("/it-autoflight/txtvertmode", "V/S");
if (getprop("/it-autoflight/loc-armed")) {
setprop("/it-autoflight/txtarmmode", "LOC");
setprop("/it-autoflight/input/vs", vsnow);
setprop("/it-autoflight/output/appr-armed", 0);
setprop("/it-autoflight/output/vert", 1);
setprop("/it-autoflight/mode/vert", "V/S");
if (getprop("/it-autoflight/output/loc-armed")) {
setprop("/it-autoflight/mode/arm", "LOC");
} else {
setprop("/it-autoflight/txtarmmode", " ");
setprop("/it-autoflight/mode/arm", " ");
}
flchthrust();
} else if (vertset == 2) {
setprop("/instrumentation/nav/signal-quality-norm", 0);
setprop("/it-autoflight/loc-armed", 1);
setprop("/it-autoflight/output/loc-armed", 1);
setprop("/instrumentation/nav/gs-rate-of-climb", 0);
setprop("/it-autoflight/appr-armed", 1);
setprop("/it-autoflight/txtarmmode", "ILS");
setprop("/it-autoflight/output/appr-armed", 1);
setprop("/it-autoflight/mode/arm", "ILS");
} else if (vertset == 3) {
var pitchdeg = getprop("/orientation/pitch-deg");
var calt = getprop("/instrumentation/altimeter/indicated-altitude-ft");
var alt = getprop("/it-autoflight/settings/target-altitude-ft-actual");
var alt = getprop("/it-autoflight/internal/alt");
var dif = calt - alt;
if (calt < alt) {
setprop("/it-autoflight/internal/max-pitch", pitchdeg);
@ -184,30 +188,30 @@ setlistener("/it-autoflight/apvertset", func {
setprop("/it-autoflight/internal/min-pitch", pitchdeg);
}
minmaxtimer.start();
setprop("/it-autoflight/apvertmode", 0);
setprop("/it-autoflight/txtvertmode", "ALT CAP");
setprop("/it-autoflight/output/vert", 0);
setprop("/it-autoflight/mode/vert", "ALT CAP");
} else if (vertset == 4) {
var altinput = getprop("/it-autoflight/settings/target-altitude-ft");
setprop("/it-autoflight/settings/target-altitude-ft-actual", altinput);
var altinput = getprop("/it-autoflight/input/alt");
setprop("/it-autoflight/internal/alt", altinput);
var calt = getprop("/instrumentation/altimeter/indicated-altitude-ft");
var alt = getprop("/it-autoflight/settings/target-altitude-ft-actual");
var alt = getprop("/it-autoflight/internal/alt");
var dif = calt - alt;
if (dif < 550 and dif > -550) {
alt_on();
} else {
flch_on();
}
if (getprop("/it-autoflight/loc-armed")) {
setprop("/it-autoflight/txtarmmode", "LOC");
if (getprop("/it-autoflight/output/loc-armed")) {
setprop("/it-autoflight/mode/arm", "LOC");
} else {
setprop("/it-autoflight/txtarmmode", " ");
setprop("/it-autoflight/mode/arm", " ");
}
} else if (vertset == 5) {
# VNAV not ready yet, so do nothing
} else if (vertset == 6) {
setprop("/it-autoflight/apvertmode", 6);
setprop("/it-autoflight/txtvertmode", "LAND");
setprop("/it-autoflight/txtarmmode", " ");
setprop("/it-autoflight/output/vert", 6);
setprop("/it-autoflight/mode/vert", "LAND 3");
setprop("/it-autoflight/mode/arm", " ");
flchthrust();
alandt.stop();
alandt1.start();
@ -216,32 +220,32 @@ setlistener("/it-autoflight/apvertset", func {
});
var flch_on = func {
setprop("/it-autoflight/appr-armed", 0);
setprop("/it-autoflight/apvertmode", 4);
setprop("/it-autoflight/output/appr-armed", 0);
setprop("/it-autoflight/output/vert", 4);
flchtimer.start();
}
var alt_on = func {
setprop("/it-autoflight/appr-armed", 0);
setprop("/it-autoflight/apvertmode", 0);
setprop("/it-autoflight/txtvertmode", "ALT CAP");
setprop("/it-autoflight/output/appr-armed", 0);
setprop("/it-autoflight/output/vert", 0);
setprop("/it-autoflight/mode/vert", "ALT CAP");
setprop("/it-autoflight/internal/max-pitch", 8);
setprop("/it-autoflight/internal/min-pitch", -4);
}
setlistener("/it-autoflight/apthrmode", func {
var modez = getprop("it-autoflight/apthrmode");
setlistener("/it-autoflight/input/kts-mach", func {
var modez = getprop("/it-autoflight/input/kts-mach");
if (modez == 0) {
var iasnow = int(getprop("/instrumentation/airspeed-indicator/indicated-speed-kt")+0.5);
setprop("/it-autoflight/settings/target-speed-kt", iasnow);
setprop("/it-autoflight/input/spd-kts", iasnow);
} else if (modez == 1) {
var machnow = (int(1000*getprop("/velocities/mach")))*0.001;
setprop("/it-autoflight/settings/target-mach", machnow);
setprop("/it-autoflight/input/spd-mach", machnow);
}
});
# Capture Logic
setlistener("/it-autoflight/apvertmode", func {
var vertm = getprop("/it-autoflight/apvertmode");
setlistener("/it-autoflight/output/vert", func {
var vertm = getprop("/it-autoflight/output/vert");
if (vertm == 1) {
altcaptt.start();
} else if (vertm == 4) {
@ -253,38 +257,38 @@ setlistener("/it-autoflight/apvertmode", func {
var altcapt = func {
var calt = getprop("/instrumentation/altimeter/indicated-altitude-ft");
var alt = getprop("/it-autoflight/settings/target-altitude-ft-actual");
var alt = getprop("/it-autoflight/internal/alt");
var dif = calt - alt;
if (dif < 500 and dif > -500) {
setprop("/it-autoflight/apvertset", 3);
setprop("/it-autoflight/apthrmode2", 0);
setprop("/it-autoflight/input/vert", 3);
setprop("/it-autoflight/output/thr-mode", 0);
}
var altinput = getprop("/it-autoflight/settings/target-altitude-ft");
setprop("/it-autoflight/settings/target-altitude-ft-actual", altinput);
var altinput = getprop("/it-autoflight/input/alt");
setprop("/it-autoflight/internal/alt", altinput);
}
# FLCH Thrust Mode Selector
var flchthrust = func {
var calt = getprop("/instrumentation/altimeter/indicated-altitude-ft");
var alt = getprop("/it-autoflight/settings/target-altitude-ft-actual");
var vertm = getprop("/it-autoflight/apvertmode");
var alt = getprop("/it-autoflight/internal/alt");
var vertm = getprop("/it-autoflight/output/vert");
if (vertm == 4) {
if (calt < alt) {
setprop("/it-autoflight/apthrmode2", 2);
setprop("/it-autoflight/txtthrmode", "PITCH");
setprop("/it-autoflight/txtvertmode", "CLB THR");
setprop("/it-autoflight/output/thr-mode", 2);
setprop("/it-autoflight/mode/thr", " PITCH");
setprop("/it-autoflight/mode/vert", "SPD CLB");
} else if (calt > alt) {
setprop("/it-autoflight/apthrmode2", 1);
setprop("/it-autoflight/txtthrmode", "PITCH");
setprop("/it-autoflight/txtvertmode", "IDLE DES");
setprop("/it-autoflight/output/thr-mode", 1);
setprop("/it-autoflight/mode/thr", " PITCH");
setprop("/it-autoflight/mode/vert", "SPD DES");
} else {
setprop("/it-autoflight/apthrmode2", 0);
setprop("/it-autoflight/txtthrmode", "THRUST");
setprop("/it-autoflight/apvertset", 3);
setprop("/it-autoflight/output/thr-mode", 0);
setprop("/it-autoflight/mode/thr", "THRUST");
setprop("/it-autoflight/input/vert", 3);
}
} else {
setprop("/it-autoflight/apthrmode2", 0);
setprop("/it-autoflight/txtthrmode", "THRUST");
setprop("/it-autoflight/output/thr-mode", 0);
setprop("/it-autoflight/mode/thr", "THRUST");
flchtimer.stop();
}
}
@ -292,31 +296,21 @@ var flchthrust = func {
# Min and Max Pitch Reset
var minmax = func {
var calt = getprop("/instrumentation/altimeter/indicated-altitude-ft");
var alt = getprop("/it-autoflight/settings/target-altitude-ft-actual");
var alt = getprop("/it-autoflight/internal/alt");
var dif = calt - alt;
if (dif < 100 and dif > -100) {
setprop("/it-autoflight/internal/max-pitch", 8);
setprop("/it-autoflight/internal/min-pitch", -4);
var vertmode = getprop("/it-autoflight/apvertmode");
var vertmode = getprop("/it-autoflight/output/vert");
if (vertmode == 1 or vertmode == 2 or vertmode == 4) {
# Do not change the vertical mode because we are not trying to capture altitude.
} else {
setprop("/it-autoflight/txtvertmode", "ALT HLD");
setprop("/it-autoflight/mode/vert", "ALT HLD");
}
minmaxtimer.stop();
}
}
# Autothrottle arm
setlistener("/it-autoflight/autothrarm", func {
var atarm = getprop("/it-autoflight/autothrarm");
if (atarm == 0) {
atarmt.stop();
} else if (atarm == 1) {
atarmt.start();
}
});
# Retard
setlistener("/controls/flight/flaps", func {
var flapc = getprop("/controls/flight/flaps");
@ -328,26 +322,18 @@ setlistener("/controls/flight/flaps", func {
}
});
var atarmchk = func {
var altpos = getprop("/position/altitude-agl-ft");
if (altpos >= 50) {
setprop("/it-autoflight/at_mastersw", 1);
setprop("/it-autoflight/autothrarm", 0);
}
}
var retardchk = func {
if (getprop("/it-autoflight/settings/retard-enable") == 1) {
var altpos = getprop("/position/gear-agl-ft");
var retardalt = getprop("/it-autoflight/settings/retard-ft");
var aton = getprop("/it-autoflight/at_master");
var aton = getprop("/it-autoflight/output/athr");
if (altpos < retardalt) {
if (aton == 1) {
setprop("/it-autoflight/retard", 1);
setprop("/it-autoflight/txtthrmode", "RETARD");
setprop("/it-autoflight/output/retard", 1);
setprop("/it-autoflight/mode/thr", "RETARD");
atofft.start();
} else {
setprop("/it-autoflight/retard", 0);
setprop("/it-autoflight/output/retard", 0);
flchthrust();
}
}
@ -358,7 +344,7 @@ var atoffchk = func{
var gear1 = getprop("/gear/gear[1]/wow");
var gear2 = getprop("/gear/gear[2]/wow");
if (gear1 == 1 or gear2 == 1) {
setprop("/it-autoflight/at_mastersw", 0);
setprop("/it-autoflight/input/athr", 0);
setprop("/controls/engines/engine[0]/throttle", 0);
setprop("/controls/engines/engine[1]/throttle", 0);
setprop("/controls/engines/engine[2]/throttle", 0);
@ -372,8 +358,8 @@ var atoffchk = func{
}
# For Canvas Nav Display.
setlistener("/it-autoflight/settings/heading-bug-deg", func {
setprop("/autopilot/settings/heading-bug-deg", getprop("/it-autoflight/settings/heading-bug-deg"));
setlistener("/it-autoflight/input/hdg", func {
setprop("/autopilot/settings/heading-bug-deg", getprop("/it-autoflight/input/hdg"));
});
# LOC and G/S arming
@ -385,7 +371,7 @@ var update_arms = func {
}
var update_locarmelec = func {
var loca = getprop("/it-autoflight/loc-armed");
var loca = getprop("/it-autoflight/output/loc-armed");
if (loca) {
locarmcheck();
} else {
@ -394,7 +380,7 @@ var update_locarmelec = func {
}
var update_apparmelec = func {
var appra = getprop("/it-autoflight/appr-armed");
var appra = getprop("/it-autoflight/output/appr-armed");
if (appra) {
apparmcheck();
if (getprop("/it-autoflight/settings/land-enable") == 1){
@ -408,13 +394,13 @@ var update_apparmelec = func {
var locarmcheck = func {
var locdefl = getprop("instrumentation/nav/heading-needle-deflection-norm");
if ((locdefl < 0.9233) and (getprop("instrumentation/nav/signal-quality-norm") > 0.99)) {
setprop("/it-autoflight/loc-armed", 0);
setprop("/it-autoflight/aplatmode", 2);
setprop("/it-autoflight/txtlatmode", "LOC");
if (getprop("/it-autoflight/appr-armed") == 1) {
setprop("/it-autoflight/output/loc-armed", 0);
setprop("/it-autoflight/output/lat", 2);
setprop("/it-autoflight/mode/lat", "LOC");
if (getprop("/it-autoflight/output/appr-armed") == 1) {
# Do nothing because G/S is armed
} else {
setprop("/it-autoflight/txtarmmode", " ");
setprop("/it-autoflight/mode/arm", " ");
}
} else {
return 0;
@ -424,10 +410,10 @@ var locarmcheck = func {
var apparmcheck = func {
var signal = getprop("/instrumentation/nav/gs-needle-deflection-norm");
if (signal <= -0.000000001) {
setprop("/it-autoflight/appr-armed", 0);
setprop("/it-autoflight/apvertmode", 2);
setprop("/it-autoflight/txtvertmode", "G/S");
setprop("/it-autoflight/txtarmmode", " ");
setprop("/it-autoflight/output/appr-armed", 0);
setprop("/it-autoflight/output/vert", 2);
setprop("/it-autoflight/mode/vert", "G/S");
setprop("/it-autoflight/mode/arm", " ");
flchthrust();
} else {
return 0;
@ -436,21 +422,26 @@ var apparmcheck = func {
# Autoland Stage 1 Logic (Land)
var aland = func {
if (getprop("/position/gear-agl-ft") <= 150) {
setprop("/it-autoflight/apvertset", 6);
var ap1 = getprop("/it-autoflight/output/ap1");
var ap2 = getprop("/it-autoflight/output/ap2");
if (ap1 or ap2) {
if (getprop("/position/gear-agl-ft") <= 150) {
setprop("/it-autoflight/input/vert", 6);
}
}
}
var aland1 = func {
var aglal = getprop("/position/gear-agl-ft");
if (aglal <= 20 and aglal > 5) {
setprop("/it-autoflight/txtvertmode", "FLARE");
setprop("/it-autoflight/autoland/target-vs", "-200");
var flarealt = getprop("/it-autoflight/autoland/flare-altitude");
if (aglal <= flarealt and aglal > 5) {
setprop("/it-autoflight/mode/vert", "FLARE");
setprop("/it-autoflight/autoland/target-vs", "-120");
}
var gear1 = getprop("/gear/gear[1]/wow");
var gear2 = getprop("/gear/gear[2]/wow");
if (gear1 == 1 or gear2 == 1) {
setprop("/it-autoflight/ap_mastersw", 0);
setprop("/it-autoflight/ap_mastersw2", 0);
setprop("/it-autoflight/input/ap1", 0);
setprop("/it-autoflight/input/ap2", 0);
alandt1.stop();
}
}
@ -462,7 +453,6 @@ var aland1 = func {
var altcaptt = maketimer(0.5, altcapt);
var flchtimer = maketimer(0.5, flchthrust);
var minmaxtimer = maketimer(0.5, minmax);
var atarmt = maketimer(0.5, atarmchk);
var retardt = maketimer(0.5, retardchk);
var atofft = maketimer(0.5, atoffchk);
var alandt = maketimer(0.5, aland);

View file

@ -179,10 +179,11 @@ var triggerDoor = func(door, doorName, doorDesc)
setlistener("/sim/signals/fdm-initialized", func {
itaf.ap_init();
var autopilot = gui.Dialog.new("sim/gui/dialogs/autopilot/dialog", "Aircraft/A320Family/Systems/autopilot-dlg.xml");
setprop("/it-autoflight/settings/retard-enable", 0); # Enable or disable automatic autothrottle retard.
setprop("/it-autoflight/settings/retard-ft", 50); # Add this to change the retard altitude, default is 50ft AGL.
setprop("/it-autoflight/settings/land-flap", 0.645); # Define the landing flaps here. This is needed for autoland, and retard.
setprop("/it-autoflight/settings/land-enable", 0); # Enable or disable automatic landing.
setprop("/it-autoflight/settings/retard-enable", 0); # Enable or disable automatic autothrottle retard.
setprop("/it-autoflight/settings/retard-ft", 50); # Add this to change the retard altitude.
setprop("/it-autoflight/settings/land-flap", 0.645); # Define the landing flaps here. This is needed for autoland, and retard.
setprop("/it-autoflight/settings/land-enable", 1); # Enable or disable automatic landing.
setprop("/it-autoflight/autoland/flare-altitude", 40); # Altitude when the flare mode starts in an autoland.
setprop("/controls/engines/thrust-limit", "TOGA");
setprop("/controls/engines/epr-limit", 1.379);
setprop("/controls/engines/n1-limit", 97.8);

View file

@ -1,12 +1,10 @@
# A340 Throttle Control System by Joshua Davidson (it0uchpods/411)
# A320 Throttle Control System by Joshua Davidson (it0uchpods/411)
# Set A/THR modes to Custom IT-AUTOTHRUST, and other thrust modes like MCT, TOGA and eventually TO FLEX.
# V1.8
setlistener("/sim/signals/fdm-initialized", func {
setprop("/systems/thrust/state1", "IDLE");
setprop("/systems/thrust/state2", "IDLE");
setprop("/systems/thrust/state3", "IDLE");
setprop("/systems/thrust/state4", "IDLE");
setprop("/systems/thrust/lvrclb", "0");
setprop("/systems/thrust/clbreduc-ft", "2000");
lvrclb();
@ -23,11 +21,11 @@ setlistener("/controls/engines/engine[0]/throttle", func {
} else if (thrr >= 0.60 and thrr < 0.80) {
setprop("/systems/thrust/state1", "CL");
} else if (thrr >= 0.80 and thrr < 0.95) {
setprop("/it-autoflight/at_mastersw", 1);
setprop("/it-autoflight/input/athr", 1);
setprop("/controls/engines/engine[0]/throttle-fdm", 0.94);
setprop("/systems/thrust/state1", "MCT");
} else if (thrr >= 0.95) {
setprop("/it-autoflight/at_mastersw", 1);
setprop("/it-autoflight/input/athr", 1);
setprop("/controls/engines/engine[0]/throttle-fdm", 0.98);
setprop("/systems/thrust/state1", "TOGA");
}
@ -43,64 +41,22 @@ setlistener("/controls/engines/engine[1]/throttle", func {
} else if (thrr >= 0.60 and thrr < 0.80) {
setprop("/systems/thrust/state2", "CL");
} else if (thrr >= 0.80 and thrr < 0.95) {
setprop("/it-autoflight/at_mastersw", 1);
setprop("/it-autoflight/input/athr", 1);
setprop("/controls/engines/engine[1]/throttle-fdm", 0.94);
setprop("/systems/thrust/state2", "MCT");
} else if (thrr >= 0.95) {
setprop("/it-autoflight/at_mastersw", 1);
setprop("/it-autoflight/input/athr", 1);
setprop("/controls/engines/engine[1]/throttle-fdm", 0.98);
setprop("/systems/thrust/state2", "TOGA");
}
});
setlistener("/controls/engines/engine[2]/throttle", func {
var thrr = getprop("/controls/engines/engine[2]/throttle");
if (thrr < 0.05) {
setprop("/systems/thrust/state3", "IDLE");
atoff_request();
} else if (thrr >= 0.05 and thrr < 0.60) {
setprop("/systems/thrust/state3", "MAN");
} else if (thrr >= 0.60 and thrr < 0.80) {
setprop("/systems/thrust/state3", "CL");
} else if (thrr >= 0.80 and thrr < 0.95) {
setprop("/it-autoflight/at_mastersw", 1);
setprop("/controls/engines/engine[2]/throttle-fdm", 0.94);
setprop("/systems/thrust/state3", "MCT");
} else if (thrr >= 0.95) {
setprop("/it-autoflight/at_mastersw", 1);
setprop("/controls/engines/engine[2]/throttle-fdm", 0.98);
setprop("/systems/thrust/state3", "TOGA");
}
});
setlistener("/controls/engines/engine[3]/throttle", func {
var thrr = getprop("/controls/engines/engine[3]/throttle");
if (thrr < 0.05) {
setprop("/systems/thrust/state4", "IDLE");
atoff_request();
} else if (thrr >= 0.05 and thrr < 0.60) {
setprop("/systems/thrust/state4", "MAN");
} else if (thrr >= 0.60 and thrr < 0.80) {
setprop("/systems/thrust/state4", "CL");
} else if (thrr >= 0.80 and thrr < 0.95) {
setprop("/it-autoflight/at_mastersw", 1);
setprop("/controls/engines/engine[3]/throttle-fdm", 0.94);
setprop("/systems/thrust/state4", "MCT");
} else if (thrr >= 0.95) {
setprop("/it-autoflight/at_mastersw", 1);
setprop("/controls/engines/engine[3]/throttle-fdm", 0.98);
setprop("/systems/thrust/state4", "TOGA");
}
});
# Checks if all throttles are in the IDLE position, before tuning off the A/THR.
var atoff_request = func {
var state1 = getprop("/systems/thrust/state1");
var state2 = getprop("/systems/thrust/state2");
var state3 = getprop("/systems/thrust/state3");
var state4 = getprop("/systems/thrust/state4");
if ((state1 == "IDLE") and (state2 == "IDLE") and (state3 == "IDLE") and (state4 == "IDLE")) {
setprop("/it-autoflight/at_mastersw", 0);
if ((state1 == "IDLE") and (state2 == "IDLE")) {
setprop("/it-autoflight/input/athr", 0);
setprop("/systems/thrust/at1", 0);
setprop("/systems/thrust/at2", 0);
setprop("/systems/thrust/at3", 0);
@ -111,9 +67,7 @@ var atoff_request = func {
var lvrclb = func {
var state1 = getprop("/systems/thrust/state1");
var state2 = getprop("/systems/thrust/state2");
var state3 = getprop("/systems/thrust/state3");
var state4 = getprop("/systems/thrust/state4");
if ((state1 == "CL") and (state2 == "CL") and (state3 == "CL") and (state4 == "CL")) {
if ((state1 == "CL") and (state2 == "CL")) {
setprop("/systems/thrust/lvrclb", "0");
} else {
var status = getprop("/systems/thrust/lvrclb");

View file

@ -108,7 +108,7 @@
<name>apoff</name>
<path>/Aircraft/A320Family/Sounds/apoff.wav</path>
<condition>
<property>/it-autoflight/apoffsound</property>
<property>/it-autoflight/sound/apoffsound</property>
</condition>
<volume>
<factor>40.0</factor>
@ -119,7 +119,7 @@
<name>apoff2</name>
<path>/Aircraft/A320Family/Sounds/apoff.wav</path>
<condition>
<property>/it-autoflight/apoffsound2</property>
<property>/it-autoflight/sound/apoffsound2</property>
</condition>
<volume>
<factor>40.0</factor>

View file

Before

Width:  |  Height:  |  Size: 135 KiB

After

Width:  |  Height:  |  Size: 135 KiB

View file

Before

Width:  |  Height:  |  Size: 140 KiB

After

Width:  |  Height:  |  Size: 140 KiB

View file

@ -36,7 +36,7 @@
<pref-width>35</pref-width>
<binding>
<command>property-toggle</command>
<property>/it-autoflight/at_mastersw</property>
<property>/it-autoflight/input/athr</property>
</binding>
</button>
<button>
@ -44,7 +44,7 @@
<pref-width>35</pref-width>
<binding>
<command>property-toggle</command>
<property>/it-autoflight/ap_mastersw</property>
<property>/it-autoflight/input/ap1</property>
</binding>
</button>
<button>
@ -52,7 +52,7 @@
<pref-width>35</pref-width>
<binding>
<command>property-toggle</command>
<property>/it-autoflight/ap_mastersw2</property>
<property>/it-autoflight/input/ap2</property>
</binding>
</button>
<button>
@ -61,12 +61,12 @@
<enable>
<equals>
<property>/it-autoflight/settings/CWS-allowed</property>
<value>IAMANOCTALYESIAM</value>
<value>blahblahblahblah</value>
</equals>
</enable>
<binding>
<command>property-toggle</command>
<property>/it-autoflight/unused/cws_mastersw</property>
<property>/it-autoflight/unused/input/cws</property>
</binding>
</button>
<button>
@ -74,7 +74,7 @@
<pref-width>35</pref-width>
<binding>
<command>property-toggle</command>
<property>/it-autoflight/fd_mastersw</property>
<property>/it-autoflight/input/fd1</property>
</binding>
</button>
<button>
@ -82,7 +82,7 @@
<pref-width>35</pref-width>
<binding>
<command>property-toggle</command>
<property>/it-autoflight/fd_mastersw2</property>
<property>/it-autoflight/input/fd2</property>
</binding>
</button>
</group>
@ -93,7 +93,7 @@
<label>[A/T]</label>
<visible>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>1</value>
</equals>
</visible>
@ -102,7 +102,7 @@
<label>[AP1]</label>
<visible>
<equals>
<property>/it-autoflight/ap_master</property>
<property>/it-autoflight/output/ap1</property>
<value>1</value>
</equals>
</visible>
@ -111,7 +111,7 @@
<label>[AP2]</label>
<visible>
<equals>
<property>/it-autoflight/ap_master2</property>
<property>/it-autoflight/output/ap2</property>
<value>1</value>
</equals>
</visible>
@ -120,7 +120,7 @@
<label>[CWS]</label>
<visible>
<equals>
<property>/it-autoflight/unused/cws_master</property>
<property>/it-autoflight/unused/output/cws</property>
<value>1</value>
</equals>
</visible>
@ -129,7 +129,7 @@
<label>[FD1]</label>
<visible>
<equals>
<property>/it-autoflight/fd_master</property>
<property>/it-autoflight/output/fd1</property>
<value>1</value>
</equals>
</visible>
@ -138,7 +138,7 @@
<label>[FD2]</label>
<visible>
<equals>
<property>/it-autoflight/fd_master2</property>
<property>/it-autoflight/output/fd2</property>
<value>1</value>
</equals>
</visible>
@ -168,7 +168,7 @@
<border>1</border>
<label>999999</label>
<valign>center</valign>
<property>/it-autoflight/txtthrmode</property>
<property>/it-autoflight/mode/thr</property>
<live>1</live>
</text>
<vrule/>
@ -176,7 +176,7 @@
<border>1</border>
<label>99999</label>
<valign>center</valign>
<property>/it-autoflight/txtarmmode</property>
<property>/it-autoflight/mode/arm</property>
<live>1</live>
</text>
<vrule/>
@ -184,7 +184,7 @@
<border>1</border>
<label>99999</label>
<valign>center</valign>
<property>/it-autoflight/txtlatmode</property>
<property>/it-autoflight/mode/lat</property>
<live>1</live>
</text>
<vrule/>
@ -192,7 +192,7 @@
<border>1</border>
<label>99999999</label>
<valign>center</valign>
<property>/it-autoflight/txtvertmode</property>
<property>/it-autoflight/mode/vert</property>
<live>1</live>
</text>
</group>
@ -220,7 +220,7 @@
<legend>SPD</legend>
<binding>
<command>property-assign</command>
<property>/it-autoflight/apthrmode</property>
<property>/it-autoflight/input/kts-mach</property>
<value>0</value>
</binding>
</button>
@ -231,7 +231,7 @@
<legend>Mach</legend>
<binding>
<command>property-assign</command>
<property>/it-autoflight/apthrmode</property>
<property>/it-autoflight/input/kts-mach</property>
<value>1</value>
</binding>
</button>
@ -243,7 +243,7 @@
<enable>
<equals>
<property>/it-autoflight/unused/toga</property>
<value>IAMANOCTALYESIAM</value>
<value>blahblahblahblah</value>
</equals>
</enable>
<binding>
@ -272,13 +272,13 @@
<legend>&lt;&lt;</legend>
<enable>
<equals>
<property>/it-autoflight/apthrmode</property>
<property>/it-autoflight/input/kts-mach</property>
<value>0</value>
</equals>
</enable>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/settings/target-speed-kt</property>
<property>/it-autoflight/input/spd-kts</property>
<min>0</min>
<max>380</max>
<step>-10</step>
@ -293,13 +293,13 @@
<legend>&lt;</legend>
<enable>
<equals>
<property>/it-autoflight/apthrmode</property>
<property>/it-autoflight/input/kts-mach</property>
<value>0</value>
</equals>
</enable>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/settings/target-speed-kt</property>
<property>/it-autoflight/input/spd-kts</property>
<min>0</min>
<max>380</max>
<step>-1</step>
@ -311,11 +311,11 @@
<row>0</row>
<col>3</col>
<pref-width>40</pref-width>
<property>/it-autoflight/settings/target-speed-kt</property>
<property>/it-autoflight/input/spd-kts</property>
<live type="bool">true</live>
<enable>
<equals>
<property>/it-autoflight/apthrmode</property>
<property>/it-autoflight/input/kts-mach</property>
<value>0</value>
</equals>
</enable>
@ -332,13 +332,13 @@
<legend>&gt;</legend>
<enable>
<equals>
<property>/it-autoflight/apthrmode</property>
<property>/it-autoflight/input/kts-mach</property>
<value>0</value>
</equals>
</enable>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/settings/target-speed-kt</property>
<property>/it-autoflight/input/spd-kts</property>
<min>0</min>
<max>380</max>
<step>1</step>
@ -354,13 +354,13 @@
<legend>&gt;&gt;</legend>
<enable>
<equals>
<property>/it-autoflight/apthrmode</property>
<property>/it-autoflight/input/kts-mach</property>
<value>0</value>
</equals>
</enable>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/settings/target-speed-kt</property>
<property>/it-autoflight/input/spd-kts</property>
<min>0</min>
<max>380</max>
<step>10</step>
@ -387,13 +387,13 @@
<legend>&lt;&lt;</legend>
<enable>
<equals>
<property>/it-autoflight/apthrmode</property>
<property>/it-autoflight/input/kts-mach</property>
<value>1</value>
</equals>
</enable>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/settings/target-mach</property>
<property>/it-autoflight/input/spd-mach</property>
<min>0</min>
<max>0.99</max>
<step>-0.1</step>
@ -408,13 +408,13 @@
<legend>&lt;</legend>
<enable>
<equals>
<property>/it-autoflight/apthrmode</property>
<property>/it-autoflight/input/kts-mach</property>
<value>1</value>
</equals>
</enable>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/settings/target-mach</property>
<property>/it-autoflight/input/spd-mach</property>
<min>0</min>
<max>0.99</max>
<step>-0.01</step>
@ -426,11 +426,11 @@
<row>0</row>
<col>3</col>
<pref-width>40</pref-width>
<property>/it-autoflight/settings/target-mach</property>
<property>/it-autoflight/input/spd-mach</property>
<live type="bool">true</live>
<enable>
<equals>
<property>/it-autoflight/apthrmode</property>
<property>/it-autoflight/input/kts-mach</property>
<value>1</value>
</equals>
</enable>
@ -447,13 +447,13 @@
<legend>&gt;</legend>
<enable>
<equals>
<property>/it-autoflight/apthrmode</property>
<property>/it-autoflight/input/kts-mach</property>
<value>1</value>
</equals>
</enable>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/settings/target-mach</property>
<property>/it-autoflight/input/spd-mach</property>
<min>0</min>
<max>0.99</max>
<step>0.01</step>
@ -469,13 +469,13 @@
<legend>&gt;&gt;</legend>
<enable>
<equals>
<property>/it-autoflight/apthrmode</property>
<property>/it-autoflight/input/kts-mach</property>
<value>1</value>
</equals>
</enable>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/settings/target-mach</property>
<property>/it-autoflight/input/spd-mach</property>
<min>0</min>
<max>0.99</max>
<step>0.1</step>
@ -507,7 +507,7 @@
<legend>HLD</legend>
<binding>
<command>property-assign</command>
<property>/it-autoflight/aplatset</property>
<property>/it-autoflight/input/lat</property>
<value>3</value>
</binding>
</button>
@ -517,7 +517,7 @@
<legend>SEL</legend>
<binding>
<command>property-assign</command>
<property>/it-autoflight/aplatset</property>
<property>/it-autoflight/input/lat</property>
<value>0</value>
</binding>
</button>
@ -527,7 +527,7 @@
<legend>LNAV</legend>
<binding>
<command>property-assign</command>
<property>/it-autoflight/aplatset</property>
<property>/it-autoflight/input/lat</property>
<value>1</value>
</binding>
</button>
@ -537,7 +537,7 @@
<legend>VOR/LOC</legend>
<binding>
<command>property-assign</command>
<property>/it-autoflight/aplatset</property>
<property>/it-autoflight/input/lat</property>
<value>2</value>
</binding>
</button>
@ -560,7 +560,7 @@
<legend>&lt;&lt;</legend>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/settings/heading-bug-deg</property>
<property>/it-autoflight/input/hdg</property>
<min>1</min>
<max>361</max>
<step>-10</step>
@ -575,7 +575,7 @@
<legend>&lt;</legend>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/settings/heading-bug-deg</property>
<property>/it-autoflight/input/hdg</property>
<min>1</min>
<max>361</max>
<step>-1</step>
@ -587,7 +587,7 @@
<row>0</row>
<col>3</col>
<pref-width>40</pref-width>
<property>/it-autoflight/settings/heading-bug-deg</property>
<property>/it-autoflight/input/hdg</property>
<live type="bool">true</live>
<binding>
<command>dialog-apply</command>
@ -602,7 +602,7 @@
<legend>&gt;</legend>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/settings/heading-bug-deg</property>
<property>/it-autoflight/input/hdg</property>
<min>1</min>
<max>361</max>
<step>1</step>
@ -618,7 +618,7 @@
<legend>&gt;&gt;</legend>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/settings/heading-bug-deg</property>
<property>/it-autoflight/input/hdg</property>
<min>1</min>
<max>361</max>
<step>10</step>
@ -636,16 +636,16 @@
<label>[MAG]</label>
<visible>
<equals>
<property>/it-autoflight/settings/use-true-hdg-error</property>
<property>/it-autoflight/input/trk</property>
<value>0</value>
</equals>
</visible>
</text>
<text>
<label>[TRU]</label>
<label>[TRK]</label>
<visible>
<equals>
<property>/it-autoflight/settings/use-true-hdg-error</property>
<property>/it-autoflight/input/trk</property>
<value>1</value>
</equals>
</visible>
@ -655,16 +655,16 @@
<legend>Magnetic</legend>
<binding>
<command>property-assign</command>
<property>/it-autoflight/settings/use-true-hdg-error</property>
<property>/it-autoflight/input/trk</property>
<value>0</value>
</binding>
</button>
<button>
<pref-width>45</pref-width>
<legend>True</legend>
<legend>Track</legend>
<binding>
<command>property-assign</command>
<property>/it-autoflight/settings/use-true-hdg-error</property>
<property>/it-autoflight/input/trk</property>
<value>1</value>
</binding>
</button>
@ -683,7 +683,7 @@
<col>0</col>
<halign>center</halign>
<pref-width>130</pref-width>
<property>/it-autoflight/settings/bank-limit</property>
<property>/it-autoflight/input/bank-limit</property>
<step>5</step>
<min>5</min>
<max>30</max>
@ -701,7 +701,7 @@
<legend>AUTO</legend>
<binding>
<command>property-assign</command>
<property>/it-autoflight/settings/bank-limit</property>
<property>/it-autoflight/input/bank-limit</property>
<value>30</value>
</binding>
</button>
@ -736,7 +736,7 @@
<legend>HLD</legend>
<binding>
<command>property-assign</command>
<property>/it-autoflight/apvertset</property>
<property>/it-autoflight/input/vert</property>
<value>0</value>
</binding>
</button>
@ -746,7 +746,7 @@
<legend>FLCH</legend>
<binding>
<command>property-assign</command>
<property>/it-autoflight/apvertset</property>
<property>/it-autoflight/input/vert</property>
<value>4</value>
</binding>
</button>
@ -756,7 +756,7 @@
<legend>V/S</legend>
<binding>
<command>property-assign</command>
<property>/it-autoflight/apvertset</property>
<property>/it-autoflight/input/vert</property>
<value>1</value>
</binding>
</button>
@ -767,7 +767,7 @@
<enable>
<equals>
<property>/it-autoflight/settings/disabled-button</property>
<value>IAMANOCTALYESIAM</value>
<value>blahblahblahblah</value>
</equals>
</enable>
<binding>
@ -782,7 +782,7 @@
<legend>ILS</legend>
<binding>
<command>property-assign</command>
<property>/it-autoflight/apvertset</property>
<property>/it-autoflight/input/vert</property>
<value>2</value>
</binding>
</button>
@ -805,7 +805,7 @@
<legend>&lt;&lt;</legend>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/settings/target-altitude-ft</property>
<property>/it-autoflight/input/alt</property>
<min>0</min>
<max>50000</max>
<step>-1000</step>
@ -820,7 +820,7 @@
<legend>&lt;</legend>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/settings/target-altitude-ft</property>
<property>/it-autoflight/input/alt</property>
<min>0</min>
<max>50000</max>
<step>-100</step>
@ -832,7 +832,7 @@
<row>0</row>
<col>3</col>
<pref-width>55</pref-width>
<property>/it-autoflight/settings/target-altitude-ft</property>
<property>/it-autoflight/input/alt</property>
<live type="bool">true</live>
<binding>
<command>dialog-apply</command>
@ -847,7 +847,7 @@
<legend>&gt;</legend>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/settings/target-altitude-ft</property>
<property>/it-autoflight/input/alt</property>
<min>0</min>
<max>50000</max>
<step>100</step>
@ -863,7 +863,7 @@
<legend>&gt;&gt;</legend>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/settings/target-altitude-ft</property>
<property>/it-autoflight/input/alt</property>
<min>0</min>
<max>50000</max>
<step>1000</step>
@ -889,7 +889,7 @@
<legend>&lt;&lt;</legend>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/settings/vertical-speed-fpm</property>
<property>/it-autoflight/input/vs</property>
<min>-6000</min>
<max>6000</max>
<step>-1000</step>
@ -904,7 +904,7 @@
<legend>&lt;</legend>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/settings/vertical-speed-fpm</property>
<property>/it-autoflight/input/vs</property>
<min>-6000</min>
<max>6000</max>
<step>-100</step>
@ -916,7 +916,7 @@
<row>0</row>
<col>3</col>
<pref-width>55</pref-width>
<property>/it-autoflight/settings/vertical-speed-fpm</property>
<property>/it-autoflight/input/vs</property>
<live type="bool">true</live>
<binding>
<command>dialog-apply</command>
@ -931,7 +931,7 @@
<legend>&gt;</legend>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/settings/vertical-speed-fpm</property>
<property>/it-autoflight/input/vs</property>
<min>-6000</min>
<max>6000</max>
<step>100</step>
@ -947,7 +947,7 @@
<legend>&gt;&gt;</legend>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/settings/vertical-speed-fpm</property>
<property>/it-autoflight/input/vs</property>
<min>-6000</min>
<max>6000</max>
<step>1000</step>

View file

@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!-- IT-AUTOFLIGHT: AUTOTHRUST -->
<!-- Modified for A340 Custom Thrust Lever control system. -->
<!-- Modified for A320 Custom Thrust Lever control system. -->
<PropertyList>
@ -18,15 +18,15 @@
<condition>
<and>
<equals>
<property>/it-autoflight/apthrmode</property>
<property>/it-autoflight/input/kts-mach</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/apthrmode2</property>
<property>/it-autoflight/output/thr-mode</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/retard</property>
<property>/it-autoflight/output/retard</property>
<value>0</value>
</equals>
</and>
@ -36,7 +36,7 @@
<property>/velocities/airspeed-kt</property>
</input>
<reference>
<property>/it-autoflight/settings/target-speed-kt</property>
<property>/it-autoflight/input/spd-kts</property>
</reference>
<output>
<property>/controls/engines/engine[0]/throttle-cmd</property>
@ -65,15 +65,15 @@
<condition>
<and>
<equals>
<property>/it-autoflight/apthrmode</property>
<property>/it-autoflight/input/kts-mach</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/apthrmode2</property>
<property>/it-autoflight/output/thr-mode</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/retard</property>
<property>/it-autoflight/output/retard</property>
<value>0</value>
</equals>
</and>
@ -84,7 +84,7 @@
<scale>1000.0</scale>
</input>
<reference>
<property>/it-autoflight/settings/target-mach</property>
<property>/it-autoflight/input/spd-mach</property>
<scale>1000.0</scale>
</reference>
<output>
@ -113,11 +113,11 @@
<condition>
<and>
<equals>
<property>/it-autoflight/apthrmode2</property>
<property>/it-autoflight/output/thr-mode</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/retard</property>
<property>/it-autoflight/output/retard</property>
<value>0</value>
</equals>
</and>
@ -155,11 +155,11 @@
<condition>
<and>
<equals>
<property>/it-autoflight/apthrmode2</property>
<property>/it-autoflight/output/thr-mode</property>
<value>2</value>
</equals>
<equals>
<property>/it-autoflight/retard</property>
<property>/it-autoflight/output/retard</property>
<value>0</value>
</equals>
</and>
@ -198,15 +198,15 @@
<condition>
<and>
<equals>
<property>/it-autoflight/apthrmode</property>
<property>/it-autoflight/input/kts-mach</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/apthrmode2</property>
<property>/it-autoflight/output/thr-mode</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/retard</property>
<property>/it-autoflight/output/retard</property>
<value>0</value>
</equals>
</and>
@ -216,7 +216,7 @@
<property>/velocities/airspeed-kt</property>
</input>
<reference>
<property>/it-autoflight/settings/target-speed-kt</property>
<property>/it-autoflight/input/spd-kts</property>
</reference>
<output>
<property>/controls/engines/engine[1]/throttle-cmd</property>
@ -245,15 +245,15 @@
<condition>
<and>
<equals>
<property>/it-autoflight/apthrmode</property>
<property>/it-autoflight/input/kts-mach</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/apthrmode2</property>
<property>/it-autoflight/output/thr-mode</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/retard</property>
<property>/it-autoflight/output/retard</property>
<value>0</value>
</equals>
</and>
@ -264,7 +264,7 @@
<scale>1000.0</scale>
</input>
<reference>
<property>/it-autoflight/settings/target-mach</property>
<property>/it-autoflight/input/spd-mach</property>
<scale>1000.0</scale>
</reference>
<output>
@ -293,11 +293,11 @@
<condition>
<and>
<equals>
<property>/it-autoflight/apthrmode2</property>
<property>/it-autoflight/output/thr-mode</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/retard</property>
<property>/it-autoflight/output/retard</property>
<value>0</value>
</equals>
</and>
@ -335,11 +335,11 @@
<condition>
<and>
<equals>
<property>/it-autoflight/apthrmode2</property>
<property>/it-autoflight/output/thr-mode</property>
<value>2</value>
</equals>
<equals>
<property>/it-autoflight/retard</property>
<property>/it-autoflight/output/retard</property>
<value>0</value>
</equals>
</and>
@ -368,365 +368,5 @@
</u_max>
</config>
</pid-controller>
<!-- Engine 3 -->
<!-- Auto throttle -->
<pid-controller>
<name>IAS THR</name>
<debug>false</debug>
<enable>
<condition>
<and>
<equals>
<property>/it-autoflight/apthrmode</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/apthrmode2</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/retard</property>
<value>0</value>
</equals>
</and>
</condition>
</enable>
<input>
<property>/velocities/airspeed-kt</property>
</input>
<reference>
<property>/it-autoflight/settings/target-speed-kt</property>
</reference>
<output>
<property>/controls/engines/engine[2]/throttle-cmd</property>
</output>
<config>
<Kp>0.1</Kp>
<beta>1.0</beta>
<alpha>0.1</alpha>
<gamma>0.0</gamma>
<Ti>10.0</Ti>
<Td>0.00001</Td>
<u_min>0.0</u_min>
<u_max>
<property>/controls/engines/engine[2]/throttle-man</property>
</u_max>
</config>
</pid-controller>
<!-- Auto throttle (Mach Hold)-->
<pid-controller>
<name>MACH THR</name>
<debug>false</debug>
<enable>
<condition>
<and>
<equals>
<property>/it-autoflight/apthrmode</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/apthrmode2</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/retard</property>
<value>0</value>
</equals>
</and>
</condition>
</enable>
<input>
<property>/velocities/mach</property>
<scale>1000.0</scale>
</input>
<reference>
<property>/it-autoflight/settings/target-mach</property>
<scale>1000.0</scale>
</reference>
<output>
<property>/controls/engines/engine[2]/throttle-cmd</property>
</output>
<config>
<Kp>0.1</Kp>
<beta>1.0</beta>
<alpha>0.1</alpha>
<gamma>0.0</gamma>
<Ti>10.0</Ti>
<Td>0.00001</Td>
<u_min>0.0</u_min>
<u_max>
<property>/controls/engines/engine[2]/throttle-man</property>
</u_max>
</config>
</pid-controller>
<!-- IDLE THR -->
<pid-controller>
<name>IDLE</name>
<debug>false</debug>
<enable>
<condition>
<and>
<equals>
<property>/it-autoflight/apthrmode2</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/retard</property>
<value>0</value>
</equals>
</and>
</condition>
</enable>
<input>
<property>/velocities/airspeed-kt</property>
</input>
<reference>
<value>0</value>
</reference>
<output>
<property>/controls/engines/engine[2]/throttle-cmd</property>
</output>
<config>
<Kp>0.1</Kp>
<beta>1.0</beta>
<alpha>0.1</alpha>
<gamma>0.0</gamma>
<Ti>10.0</Ti>
<Td>0.00001</Td>
<u_min>0.08</u_min>
<u_max>
<property>/controls/engines/engine[2]/throttle-man</property>
</u_max>
</config>
</pid-controller>
<!-- CLB THR -->
<pid-controller>
<name>CLB</name>
<debug>false</debug>
<enable>
<condition>
<and>
<equals>
<property>/it-autoflight/apthrmode2</property>
<value>2</value>
</equals>
<equals>
<property>/it-autoflight/retard</property>
<value>0</value>
</equals>
</and>
</condition>
</enable>
<input>
<property>/velocities/airspeed-kt</property>
</input>
<reference>
<value>900</value>
</reference>
<output>
<property>/controls/engines/engine[2]/throttle-cmd</property>
</output>
<config>
<Kp>0.1</Kp>
<beta>1.0</beta>
<alpha>0.1</alpha>
<gamma>0.0</gamma>
<Ti>10.0</Ti>
<Td>0.00001</Td>
<u_min>0.0</u_min>
<u_max>
<property>/controls/engines/engine[2]/throttle-man</property>
</u_max>
</config>
</pid-controller>
<!-- Engine 4 -->
<!-- Auto throttle -->
<pid-controller>
<name>IAS THR</name>
<debug>false</debug>
<enable>
<condition>
<and>
<equals>
<property>/it-autoflight/apthrmode</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/apthrmode2</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/retard</property>
<value>0</value>
</equals>
</and>
</condition>
</enable>
<input>
<property>/velocities/airspeed-kt</property>
</input>
<reference>
<property>/it-autoflight/settings/target-speed-kt</property>
</reference>
<output>
<property>/controls/engines/engine[3]/throttle-cmd</property>
</output>
<config>
<Kp>0.1</Kp>
<beta>1.0</beta>
<alpha>0.1</alpha>
<gamma>0.0</gamma>
<Ti>10.0</Ti>
<Td>0.00001</Td>
<u_min>0.0</u_min>
<u_max>
<property>/controls/engines/engine[3]/throttle-man</property>
</u_max>
</config>
</pid-controller>
<!-- Auto throttle (Mach Hold)-->
<pid-controller>
<name>MACH THR</name>
<debug>false</debug>
<enable>
<condition>
<and>
<equals>
<property>/it-autoflight/apthrmode</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/apthrmode2</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/retard</property>
<value>0</value>
</equals>
</and>
</condition>
</enable>
<input>
<property>/velocities/mach</property>
<scale>1000.0</scale>
</input>
<reference>
<property>/it-autoflight/settings/target-mach</property>
<scale>1000.0</scale>
</reference>
<output>
<property>/controls/engines/engine[3]/throttle-cmd</property>
</output>
<config>
<Kp>0.1</Kp>
<beta>1.0</beta>
<alpha>0.1</alpha>
<gamma>0.0</gamma>
<Ti>10.0</Ti>
<Td>0.00001</Td>
<u_min>0.0</u_min>
<u_max>
<property>/controls/engines/engine[3]/throttle-man</property>
</u_max>
</config>
</pid-controller>
<!-- IDLE THR -->
<pid-controller>
<name>IDLE</name>
<debug>false</debug>
<enable>
<condition>
<and>
<equals>
<property>/it-autoflight/apthrmode2</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/retard</property>
<value>0</value>
</equals>
</and>
</condition>
</enable>
<input>
<property>/velocities/airspeed-kt</property>
</input>
<reference>
<value>0</value>
</reference>
<output>
<property>/controls/engines/engine[3]/throttle-cmd</property>
</output>
<config>
<Kp>0.1</Kp>
<beta>1.0</beta>
<alpha>0.1</alpha>
<gamma>0.0</gamma>
<Ti>10.0</Ti>
<Td>0.00001</Td>
<u_min>0.08</u_min>
<u_max>
<property>/controls/engines/engine[3]/throttle-man</property>
</u_max>
</config>
</pid-controller>
<!-- CLB THR -->
<pid-controller>
<name>CLB</name>
<debug>false</debug>
<enable>
<condition>
<and>
<equals>
<property>/it-autoflight/apthrmode2</property>
<value>2</value>
</equals>
<equals>
<property>/it-autoflight/retard</property>
<value>0</value>
</equals>
</and>
</condition>
</enable>
<input>
<property>/velocities/airspeed-kt</property>
</input>
<reference>
<value>900</value>
</reference>
<output>
<property>/controls/engines/engine[3]/throttle-cmd</property>
</output>
<config>
<Kp>0.1</Kp>
<beta>1.0</beta>
<alpha>0.1</alpha>
<gamma>0.0</gamma>
<Ti>10.0</Ti>
<Td>0.00001</Td>
<u_min>0.0</u_min>
<u_max>
<property>/controls/engines/engine[3]/throttle-man</property>
</u_max>
</config>
</pid-controller>
</PropertyList>

View file

@ -44,7 +44,7 @@
<debug>false</debug>
<type>gain</type>
<input>
<property>/it-autoflight/settings/heading-bug-deg</property>
<property>/it-autoflight/input/hdg</property>
<offset>
<property>/orientation/heading-magnetic-deg</property>
<scale>-1.0</scale>
@ -64,7 +64,7 @@
<debug>false</debug>
<type>gain</type>
<input>
<property>/it-autoflight/settings/heading-bug-deg</property>
<property>/it-autoflight/input/hdg</property>
<offset>
<property>/orientation/heading-deg</property>
<scale>-1.0</scale>
@ -162,6 +162,15 @@
<seconds>10.0</seconds>
<filter-gain>0.0</filter-gain>
</predict-simple>
<predict-simple>
<name>MACH 10 SECOND PREDICTOR</name>
<debug>false</debug>
<input>/velocities/mach</input>
<output>/it-autoflight/internal/lookahead-10-sec-mach</output>
<seconds>10.0</seconds>
<filter-gain>0.0</filter-gain>
</predict-simple>
<filter>
<name>STATIC PRESSURE COMPUTER</name>
@ -203,11 +212,11 @@
<condition>
<or>
<equals>
<property>/it-autoflight/aplatmode</property>
<property>/it-autoflight/output/lat</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/aplatmode</property>
<property>/it-autoflight/output/lat</property>
<value>1</value>
</equals>
</or>
@ -217,11 +226,11 @@
<condition>
<and>
<equals>
<property>/it-autoflight/aplatmode</property>
<property>/it-autoflight/output/lat</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/settings/use-true-hdg-error</property>
<property>/it-autoflight/input/trk</property>
<value>0</value>
</equals>
</and>
@ -233,11 +242,11 @@
<condition>
<and>
<equals>
<property>/it-autoflight/aplatmode</property>
<property>/it-autoflight/output/lat</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/settings/use-true-hdg-error</property>
<property>/it-autoflight/input/trk</property>
<value>1</value>
</equals>
</and>
@ -248,7 +257,7 @@
<input>
<condition>
<equals>
<property>/it-autoflight/aplatmode</property>
<property>/it-autoflight/output/lat</property>
<value>1</value>
</equals>
</condition>
@ -262,17 +271,17 @@
<u_min>
<condition>
<equals>
<property>/it-autoflight/aplatmode</property>
<property>/it-autoflight/output/lat</property>
<value>0</value>
</equals>
</condition>
<property>/it-autoflight/settings/bank-limit</property>
<property>/it-autoflight/input/bank-limit</property>
<scale>-1</scale>
</u_min>
<u_min>
<condition>
<equals>
<property>/it-autoflight/aplatmode</property>
<property>/it-autoflight/output/lat</property>
<value>1</value>
</equals>
</condition>
@ -281,16 +290,16 @@
<u_max>
<condition>
<equals>
<property>/it-autoflight/aplatmode</property>
<property>/it-autoflight/output/lat</property>
<value>0</value>
</equals>
</condition>
<property>/it-autoflight/settings/bank-limit</property>
<property>/it-autoflight/input/bank-limit</property>
</u_max>
<u_max>
<condition>
<equals>
<property>/it-autoflight/aplatmode</property>
<property>/it-autoflight/output/lat</property>
<value>1</value>
</equals>
</condition>
@ -306,21 +315,21 @@
<and>
<or>
<equals>
<property>/it-autoflight/aplatmode</property>
<property>/it-autoflight/output/lat</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/aplatmode</property>
<property>/it-autoflight/output/lat</property>
<value>1</value>
</equals>
</or>
<or>
<equals>
<property>/it-autoflight/ap_master</property>
<property>/it-autoflight/output/ap1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/ap_master2</property>
<property>/it-autoflight/output/ap2</property>
<value>1</value>
</equals>
</or>
@ -334,49 +343,26 @@
<property>/it-autoflight/internal/target-roll-deg</property>
</reference>
<output>
<property>/controls/flight/aileron-cmd</property>
<property>/it-autoflight/internal/aileron-cmd</property>
</output>
<config>
<Kp>
<condition>
<property>/it-autoflight/settings/no-generics</property>
</condition>
<property>/it-autoflight/settings/roll/kp</property>
</Kp>
<Kp>
<condition>
<not><property>/it-autoflight/settings/no-generics</property></not>
</condition>
<value>0.10</value>
<property>/it-autoflight/config/roll/kp</property>
</Kp>
<beta>1.0</beta>
<alpha>0.1</alpha>
<gamma>0.0</gamma>
<Ti>10</Ti>
<Td>0.00001</Td>
<Ti>
<property>/it-autoflight/config/roll/ti</property>
</Ti>
<Td>
<property>/it-autoflight/config/roll/td</property>
</Td>
<u_min>
<condition>
<property>/it-autoflight/settings/no-generics</property>
</condition>
<property>/it-autoflight/settings/roll/umin</property>
</u_min>
<u_min>
<condition>
<not><property>/it-autoflight/settings/no-generics</property></not>
</condition>
<value>-0.50</value>
<property>/it-autoflight/config/roll/umin</property>
</u_min>
<u_max>
<condition>
<property>/it-autoflight/settings/no-generics</property>
</condition>
<property>/it-autoflight/settings/roll/umax</property>
</u_max>
<u_max>
<condition>
<not><property>/it-autoflight/settings/no-generics</property></not>
</condition>
<value>0.50</value>
<property>/it-autoflight/config/roll/umax</property>
</u_max>
</config>
</pid-controller>
@ -388,19 +374,19 @@
<enable>
<condition>
<equals>
<property>/it-autoflight/aplatmode</property>
<property>/it-autoflight/output/lat</property>
<value>2</value>
</equals>
</condition>
</enable>
<input>
<prop>/it-autoflight/internal/nav1-heading-error-deg</prop>
<property>/it-autoflight/internal/nav1-heading-error-deg</property>
</input>
<reference>
<value>0.0</value>
</reference>
<output>
<prop>/it-autoflight/internal/target-roll-deg</prop>
<property>/it-autoflight/internal/target-roll-deg</property>
</output>
<config>
<Kp>-5.0</Kp>
@ -409,8 +395,8 @@
<gamma>0.0</gamma>
<Ti>10.0</Ti>
<Td>0.00001</Td>
<u_min>-25.0</u_min>
<u_max>25.0</u_max>
<u_min>-30.0</u_min>
<u_max>30.0</u_max>
</config>
</pid-controller>
@ -421,16 +407,16 @@
<condition>
<and>
<equals>
<property>/it-autoflight/aplatmode</property>
<property>/it-autoflight/output/lat</property>
<value>2</value>
</equals>
<or>
<equals>
<property>/it-autoflight/ap_master</property>
<property>/it-autoflight/output/ap1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/ap_master2</property>
<property>/it-autoflight/output/ap2</property>
<value>1</value>
</equals>
</or>
@ -444,49 +430,26 @@
<property>/it-autoflight/internal/target-roll-deg</property>
</reference>
<output>
<property>/controls/flight/aileron-cmd</property>
<property>/it-autoflight/internal/aileron-cmd</property>
</output>
<config>
<Kp>
<condition>
<property>/it-autoflight/settings/no-generics</property>
</condition>
<property>/it-autoflight/settings/roll/kp-vorloc</property>
<property>/it-autoflight/config/vorloc/kp</property>
</Kp>
<Kp>
<condition>
<not><property>/it-autoflight/settings/no-generics</property></not>
</condition>
<value>0.10</value>
</Kp>
<beta>1.0</beta>
<alpha>0.1</alpha>
<gamma>0.0</gamma>
<Ti>10</Ti>
<Td>0.00001</Td>
<Ti>
<property>/it-autoflight/config/vorloc/ti</property>
</Ti>
<Td>
<property>/it-autoflight/config/vorloc/td</property>
</Td>
<u_min>
<condition>
<property>/it-autoflight/settings/no-generics</property>
</condition>
<property>/it-autoflight/settings/roll/umin</property>
</u_min>
<u_min>
<condition>
<not><property>/it-autoflight/settings/no-generics</property></not>
</condition>
<value>-0.50</value>
<property>/it-autoflight/config/roll/umin</property>
</u_min>
<u_max>
<condition>
<property>/it-autoflight/settings/no-generics</property>
</condition>
<property>/it-autoflight/settings/roll/umax</property>
</u_max>
<u_max>
<condition>
<not><property>/it-autoflight/settings/no-generics</property></not>
</condition>
<value>0.50</value>
<property>/it-autoflight/config/roll/umax</property>
</u_max>
</config>
</pid-controller>
@ -500,18 +463,18 @@
<condition>
<or>
<equals>
<property>/it-autoflight/ap_master</property>
<property>/it-autoflight/output/ap1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/ap_master2</property>
<property>/it-autoflight/output/ap2</property>
<value>1</value>
</equals>
</or>
</condition>
</enable>
<input>
<property>/controls/flight/aileron-cmd</property>
<property>/it-autoflight/internal/aileron-cmd</property>
</input>
<output>/controls/flight/aileron</output>
<type>noise-spike</type>
@ -528,7 +491,7 @@
<enable>
<condition>
<equals>
<property>/it-autoflight/apvertmode</property>
<property>/it-autoflight/output/vert</property>
<value>0</value>
</equals>
</condition>
@ -537,7 +500,7 @@
<property>/it-autoflight/internal/altitude-5-sec-ahead</property>
</input>
<reference>
<property>/it-autoflight/settings/target-altitude-ft-actual</property>
<property>/it-autoflight/internal/alt</property>
</reference>
<output>
<property>/it-autoflight/internal/target-pitch-deg</property>
@ -558,45 +521,42 @@
</config>
</pid-controller>
<pi-simple-controller>
<pid-controller>
<name>VERTICAL SPEED HOLD</name>
<debug>false</debug>
<enable>
<condition>
<equals>
<property>/it-autoflight/apvertmode</property>
<property>/it-autoflight/output/vert</property>
<value>1</value>
</equals>
</condition>
</enable>
<input>
<prop>/it-autoflight/internal/vert-speed-fpm</prop>
<scale>0.1</scale>
<property>/velocities/vertical-speed-fps</property>
</input>
<reference>
<prop>/it-autoflight/settings/vertical-speed-fpm</prop>
<scale>0.1</scale>
<property>/it-autoflight/input/vs</property>
<scale>0.01666666</scale>
</reference>
<output>
<property>/it-autoflight/internal/target-pitch-deg</property>
</output>
<config>
<Kp>0.025</Kp>
<Kp>0.025</Kp>
<Ki>0.010</Ki>
<beta>1.0</beta>
<alpha>0.5</alpha>
<gamma>0.0</gamma>
<Ti>10.0</Ti>
<Td>0.0001</Td>
<min>
<Kp>0.07</Kp>
<beta>1.0</beta>
<alpha>0.1</alpha>
<gamma>0.0</gamma>
<Ti>5.0</Ti>
<Td>0.00001</Td>
<u_min>
<value>-10</value>
</min>
<max>
</u_min>
<u_max>
<value>30</value>
</max>
</u_max>
</config>
</pi-simple-controller>
</pid-controller>
<pi-simple-controller>
<name>AUTOLAND VS HOLD</name>
@ -604,10 +564,9 @@
<enable>
<condition>
<equals>
<property>/it-autoflight/apvertmode</property>
<property>/it-autoflight/output/vert</property>
<value>6</value>
</equals>
</condition>
</enable>
<input>
@ -622,7 +581,9 @@
<property>/it-autoflight/internal/target-pitch-deg</property>
</output>
<config>
<Kp>0.06</Kp>
<Kp>
<property>/it-autoflight/config/autoland/kp-pitch</property>
</Kp>
<Ki>0.010</Ki>
<beta>1.0</beta>
<alpha>0.5</alpha>
@ -644,42 +605,33 @@
<enable>
<condition>
<equals>
<property>/it-autoflight/apvertmode</property>
<property>/it-autoflight/output/vert</property>
<value>2</value>
</equals>
</condition>
</enable>
<input>
<prop>/velocities/vertical-speed-fps</prop>
<property>/velocities/vertical-speed-fps</property>
</input>
<reference>
<prop>/instrumentation/nav[0]/gs-rate-of-climb</prop>
<property>/instrumentation/nav[0]/gs-rate-of-climb</property>
</reference>
<output>
<prop>/it-autoflight/internal/target-pitch-deg</prop>
<property>/it-autoflight/internal/target-pitch-deg</property>
</output>
<config>
<Kp>
<condition>
<property>/it-autoflight/settings/no-generics</property>
</condition>
<property>/it-autoflight/settings/gs/kp</property>
</Kp>
<Kp>
<condition>
<not><property>/it-autoflight/settings/no-generics</property></not>
</condition>
<value>0.10</value>
</Kp>
<property>/it-autoflight/config/gs/kp</property>
</Kp>
<beta>1.0</beta>
<alpha>0.5</alpha>
<gamma>0.0</gamma>
<gamma>0.0</gamma>
<Ti>10.0</Ti>
<Td>0.0001</Td>
<u_min>-10</u_min>
<u_max>7</u_max>
</config>
</pid-controller>
</config>
</pid-controller>
<pid-controller>
<name>FLIGHT LEVEL CHANGE</name>
@ -687,7 +639,7 @@
<enable>
<condition>
<equals>
<property>/it-autoflight/apvertmode</property>
<property>/it-autoflight/output/vert</property>
<value>4</value>
</equals>
</condition>
@ -695,43 +647,43 @@
<input>
<condition>
<equals>
<property>/it-autoflight/apthrmode</property>
<property>/it-autoflight/input/kts-mach</property>
<value>0</value>
</equals>
</condition>
<prop>/it-autoflight/internal/lookahead-10-sec-airspeed-kt</prop>
<property>/it-autoflight/internal/lookahead-10-sec-airspeed-kt</property>
</input>
<input>
<condition>
<equals>
<property>/it-autoflight/apthrmode</property>
<property>/it-autoflight/input/kts-mach</property>
<value>1</value>
</equals>
</condition>
<prop>/velocities/mach</prop>
<property>/it-autoflight/internal/lookahead-10-sec-mach</property>
<scale>1000.0</scale>
</input>
<reference>
<condition>
<equals>
<property>/it-autoflight/apthrmode</property>
<property>/it-autoflight/input/kts-mach</property>
<value>0</value>
</equals>
</condition>
<prop>/it-autoflight/settings/target-speed-kt</prop>
<property>/it-autoflight/input/spd-kts</property>
</reference>
<reference>
<condition>
<equals>
<property>/it-autoflight/apthrmode</property>
<property>/it-autoflight/input/kts-mach</property>
<value>1</value>
</equals>
</condition>
<prop>/it-autoflight/settings/target-mach</prop>
<property>/it-autoflight/input/spd-mach</property>
<scale>1000.0</scale>
</reference>
<output>
<prop>/it-autoflight/internal/target-pitch-deg</prop>
<property>/it-autoflight/internal/target-pitch-deg</property>
</output>
<config>
<Kp>-0.30</Kp>
@ -744,7 +696,7 @@
<u_min>
<condition>
<greater-than>
<property>/it-autoflight/settings/target-altitude-ft-actual</property>
<property>/it-autoflight/internal/alt</property>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
</greater-than>
</condition>
@ -753,7 +705,7 @@
<u_min>
<condition>
<less-than>
<property>/it-autoflight/settings/target-altitude-ft-actual</property>
<property>/it-autoflight/internal/alt</property>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
</less-than>
</condition>
@ -762,7 +714,7 @@
<u_max>
<condition>
<greater-than>
<property>/it-autoflight/settings/target-altitude-ft-actual</property>
<property>/it-autoflight/internal/alt</property>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
</greater-than>
</condition>
@ -771,7 +723,7 @@
<u_max>
<condition>
<less-than>
<property>/it-autoflight/settings/target-altitude-ft-actual</property>
<property>/it-autoflight/internal/alt</property>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
</less-than>
</condition>
@ -787,108 +739,16 @@
<condition>
<and>
<equals>
<property>/it-autoflight/apvertmode</property>
<property>/it-autoflight/output/vert</property>
<value>4</value>
</equals>
<or>
<equals>
<property>/it-autoflight/ap_master</property>
<property>/it-autoflight/output/ap1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/ap_master2</property>
<value>1</value>
</equals>
</or>
</and>
</condition>
</enable>
<input>
<prop>/orientation/pitch-deg</prop>
</input>
<reference>
<prop>/it-autoflight/internal/target-pitch-deg</prop>
</reference>
<output>
<prop>/controls/flight/elevator-cmd</prop>
</output>
<config>
<Kp>
<condition>
<property>/it-autoflight/settings/no-generics</property>
</condition>
<property>/it-autoflight/settings/flch/kp</property>
</Kp>
<Kp>
<condition>
<not><property>/it-autoflight/settings/no-generics</property></not>
</condition>
<value>-0.10</value>
</Kp>
<beta>1.0</beta>
<alpha>0.1</alpha>
<gamma>0.0</gamma>
<Ti>10.0</Ti>
<Td>0.00001</Td>
<u_min>
<condition>
<property>/it-autoflight/settings/no-generics</property>
</condition>
<property>/it-autoflight/settings/flch/umin</property>
</u_min>
<u_min>
<condition>
<not><property>/it-autoflight/settings/no-generics</property></not>
</condition>
<value>-0.30</value>
</u_min>
<u_max>
<condition>
<property>/it-autoflight/settings/no-generics</property>
</condition>
<property>/it-autoflight/settings/flch/umax</property>
</u_max>
<u_max>
<condition>
<not><property>/it-autoflight/settings/no-generics</property></not>
</condition>
<value>0.30</value>
</u_max>
</config>
</pid-controller>
<pid-controller>
<name>IT-CONTROLLER: PITCH</name>
<debug>false</debug>
<enable>
<condition>
<and>
<or>
<equals>
<property>/it-autoflight/apvertmode</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/apvertmode</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/apvertmode</property>
<value>2</value>
</equals>
<equals>
<property>/it-autoflight/apvertmode</property>
<value>6</value>
</equals>
</or>
<or>
<equals>
<property>/it-autoflight/ap_master</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/ap_master2</property>
<property>/it-autoflight/output/ap2</property>
<value>1</value>
</equals>
</or>
@ -902,49 +762,94 @@
<property>/it-autoflight/internal/target-pitch-deg</property>
</reference>
<output>
<property>/controls/flight/elevator-cmd</property>
<property>/it-autoflight/internal/elevator-cmd</property>
</output>
<config>
<Kp>
<condition>
<property>/it-autoflight/settings/no-generics</property>
</condition>
<property>/it-autoflight/settings/pitch/kp</property>
<property>/it-autoflight/config/flch/kp</property>
</Kp>
<Kp>
<condition>
<not><property>/it-autoflight/settings/no-generics</property></not>
</condition>
<value>-0.09</value>
</Kp>
<beta>1.0</beta>
<alpha>0.1</alpha>
<gamma>0.0</gamma>
<Ti>10.0</Ti>
<Td>0.0001</Td>
<Ti>
<property>/it-autoflight/config/flch/ti</property>
</Ti>
<Td>
<property>/it-autoflight/config/flch/td</property>
</Td>
<u_min>
<condition>
<property>/it-autoflight/settings/no-generics</property>
</condition>
<property>/it-autoflight/settings/pitch/umin</property>
</u_min>
<u_min>
<condition>
<not><property>/it-autoflight/settings/no-generics</property></not>
</condition>
<value>-0.30</value>
<property>/it-autoflight/config/flch/umin</property>
</u_min>
<u_max>
<condition>
<property>/it-autoflight/settings/no-generics</property>
</condition>
<property>/it-autoflight/settings/pitch/umax</property>
<property>/it-autoflight/config/flch/umax</property>
</u_max>
</config>
</pid-controller>
<pid-controller>
<name>IT-CONTROLLER: PITCH</name>
<debug>false</debug>
<enable>
<condition>
<and>
<or>
<equals>
<property>/it-autoflight/output/vert</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/output/vert</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/output/vert</property>
<value>2</value>
</equals>
<equals>
<property>/it-autoflight/output/vert</property>
<value>6</value>
</equals>
</or>
<or>
<equals>
<property>/it-autoflight/output/ap1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/output/ap2</property>
<value>1</value>
</equals>
</or>
</and>
</condition>
</enable>
<input>
<property>/orientation/pitch-deg</property>
</input>
<reference>
<property>/it-autoflight/internal/target-pitch-deg</property>
</reference>
<output>
<property>/it-autoflight/internal/elevator-cmd</property>
</output>
<config>
<Kp>
<property>/it-autoflight/config/pitch/kp</property>
</Kp>
<beta>1.0</beta>
<alpha>0.1</alpha>
<gamma>0.0</gamma>
<Ti>
<property>/it-autoflight/config/pitch/ti</property>
</Ti>
<Td>
<property>/it-autoflight/config/pitch/td</property>
</Td>
<u_min>
<property>/it-autoflight/config/pitch/umin</property>
</u_min>
<u_max>
<condition>
<not><property>/it-autoflight/settings/no-generics</property></not>
</condition>
<value>0.30</value>
<property>/it-autoflight/config/pitch/umax</property>
</u_max>
</config>
</pid-controller>
@ -958,18 +863,18 @@
<condition>
<or>
<equals>
<property>/it-autoflight/ap_master</property>
<property>/it-autoflight/output/ap1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/ap_master2</property>
<property>/it-autoflight/output/ap2</property>
<value>1</value>
</equals>
</or>
</condition>
</enable>
<input>
<property>/controls/flight/elevator-cmd</property>
<property>/it-autoflight/internal/elevator-cmd</property>
</input>
<output>/controls/flight/elevator</output>
<type>noise-spike</type>
@ -983,16 +888,16 @@
<condition>
<and>
<greater-than>
<property>/controls/flight/elevator-cmd</property>
<property>/it-autoflight/internal/elevator-cmd</property>
<value>0.05</value>
</greater-than>
<or>
<equals>
<property>/it-autoflight/ap_master</property>
<property>/it-autoflight/output/ap1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/ap_master2</property>
<property>/it-autoflight/output/ap2</property>
<value>1</value>
</equals>
</or>
@ -1006,7 +911,7 @@
<value>1</value>
</reference>
<output>
<property>/controls/flight/elevator-trim-cmd</property>
<property>/it-autoflight/internal/elevator-trim-cmd</property>
</output>
<config>
<Kp>0.08</Kp>
@ -1027,16 +932,16 @@
<condition>
<and>
<less-than>
<property>/controls/flight/elevator-cmd</property>
<property>/it-autoflight/internal/elevator-cmd</property>
<value>-0.05</value>
</less-than>
<or>
<equals>
<property>/it-autoflight/ap_master</property>
<property>/it-autoflight/output/ap1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/ap_master2</property>
<property>/it-autoflight/output/ap2</property>
<value>1</value>
</equals>
</or>
@ -1050,7 +955,7 @@
<value>1</value>
</reference>
<output>
<property>/controls/flight/elevator-trim-cmd</property>
<property>/it-autoflight/internal/elevator-trim-cmd</property>
</output>
<config>
<Kp>-0.08</Kp>
@ -1074,21 +979,21 @@
<and>
<or>
<equals>
<property>/it-autoflight/ap_master</property>
<property>/it-autoflight/output/ap1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/ap_master2</property>
<property>/it-autoflight/output/ap2</property>
<value>1</value>
</equals>
</or>
<or>
<greater-than>
<property>/controls/flight/elevator-cmd</property>
<property>/it-autoflight/internal/elevator-cmd</property>
<value>0.05</value>
</greater-than>
<less-than>
<property>/controls/flight/elevator-cmd</property>
<property>/it-autoflight/internal/elevator-cmd</property>
<value>-0.05</value>
</less-than>
</or>
@ -1096,7 +1001,7 @@
</condition>
</enable>
<input>
<property>/controls/flight/elevator-trim-cmd</property>
<property>/it-autoflight/internal/elevator-trim-cmd</property>
</input>
<output>/controls/flight/elevator-trim</output>
<type>noise-spike</type>
@ -1114,11 +1019,11 @@
<condition>
<or>
<equals>
<property>/it-autoflight/ap_master</property>
<property>/it-autoflight/output/ap1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/ap_master2</property>
<property>/it-autoflight/output/ap2</property>
<value>1</value>
</equals>
</or>

View file

@ -16,19 +16,19 @@
<condition>
<and>
<equals>
<property>/it-autoflight/apthrmode</property>
<property>/it-autoflight/input/kts-mach</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/apthrmode2</property>
<property>/it-autoflight/output/thr-mode</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/retard</property>
<property>/it-autoflight/output/retard</property>
<value>0</value>
</equals>
</and>
@ -38,7 +38,7 @@
<property>/velocities/airspeed-kt</property>
</input>
<reference>
<property>/it-autoflight/settings/target-speed-kt</property>
<property>/it-autoflight/input/spd-kts</property>
</reference>
<output>
<property>/controls/flight/throttle-cmd</property>
@ -48,7 +48,6 @@
<beta>1.0</beta>
<alpha>0.1</alpha>
<gamma>0.0</gamma>
<Ti>10.0</Ti>
<Td>0.00001</Td>
<u_min>0.0</u_min>
@ -65,19 +64,19 @@
<condition>
<and>
<equals>
<property>/it-autoflight/apthrmode</property>
<property>/it-autoflight/input/kts-mach</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/apthrmode2</property>
<property>/it-autoflight/output/thr-mode</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/retard</property>
<property>/it-autoflight/output/retard</property>
<value>0</value>
</equals>
</and>
@ -88,7 +87,7 @@
<scale>1000.0</scale>
</input>
<reference>
<property>/it-autoflight/settings/target-mach</property>
<property>/it-autoflight/input/spd-mach</property>
<scale>1000.0</scale>
</reference>
<output>
@ -99,7 +98,6 @@
<beta>1.0</beta>
<alpha>0.1</alpha>
<gamma>0.0</gamma>
<Ti>10.0</Ti>
<Td>0.00001</Td>
<u_min>0.0</u_min>
@ -115,15 +113,15 @@
<condition>
<and>
<equals>
<property>/it-autoflight/apthrmode2</property>
<property>/it-autoflight/output/thr-mode</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/retard</property>
<property>/it-autoflight/output/retard</property>
<value>0</value>
</equals>
</and>
@ -143,7 +141,6 @@
<beta>1.0</beta>
<alpha>0.1</alpha>
<gamma>0.0</gamma>
<Ti>10.0</Ti>
<Td>0.00001</Td>
<u_min>0.08</u_min>
@ -159,15 +156,15 @@
<condition>
<and>
<equals>
<property>/it-autoflight/apthrmode2</property>
<property>/it-autoflight/output/thr-mode</property>
<value>2</value>
</equals>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/retard</property>
<property>/it-autoflight/output/retard</property>
<value>0</value>
</equals>
</and>
@ -187,7 +184,6 @@
<beta>1.0</beta>
<alpha>0.1</alpha>
<gamma>0.0</gamma>
<Ti>10.0</Ti>
<Td>0.00001</Td>
<u_min>0.0</u_min>
@ -203,11 +199,11 @@
<condition>
<and>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/retard</property>
<property>/it-autoflight/output/retard</property>
<value>1</value>
</equals>
</and>
@ -227,7 +223,6 @@
<beta>1.0</beta>
<alpha>0.1</alpha>
<gamma>0.0</gamma>
<Ti>10.0</Ti>
<Td>0.00001</Td>
<u_min>0.005</u_min>
@ -243,7 +238,7 @@
<enable>
<condition>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>1</value>
</equals>
</condition>
@ -266,11 +261,11 @@
<condition>
<and>
<equals>
<property>/it-autoflight/apthrmode2</property>
<property>/it-autoflight/output/thr-mode</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/retard</property>
<property>/it-autoflight/output/retard</property>
<value>0</value>
</equals>
</and>
@ -281,11 +276,11 @@
<condition>
<and>
<not-equals>
<property>/it-autoflight/apthrmode2</property>
<property>/it-autoflight/output/thr-mode</property>
<value>0</value>
</not-equals>
<equals>
<property>/it-autoflight/retard</property>
<property>/it-autoflight/output/retard</property>
<value>0</value>
</equals>
</and>
@ -295,7 +290,7 @@
<max-rate-of-change>
<condition>
<equals>
<property>/it-autoflight/retard</property>
<property>/it-autoflight/output/retard</property>
<value>1</value>
</equals>
</condition>

View file

@ -39,40 +39,6 @@
<output>/controls/engines/engine[1]/throttle-man</output>
</filter>
<filter>
<name>MAN Three</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<table>
<property>/controls/engines/engine[2]/throttle</property>
<entry><ind>0.0</ind><dep>0.00</dep></entry>
<entry><ind>0.6</ind><dep>0.90</dep></entry>
</table>
</expression>
</input>
<output>/controls/engines/engine[2]/throttle-man</output>
</filter>
<filter>
<name>MAN Four</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<table>
<property>/controls/engines/engine[3]/throttle</property>
<entry><ind>0.0</ind><dep>0.00</dep></entry>
<entry><ind>0.6</ind><dep>0.90</dep></entry>
</table>
</expression>
</input>
<output>/controls/engines/engine[3]/throttle-man</output>
</filter>
<filter>
<name>Throttle 1</name>
<debug>false</debug>
@ -100,7 +66,7 @@
<condition>
<and>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>0</value>
</equals>
<or>
@ -125,7 +91,7 @@
<condition>
<and>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>1</value>
</equals>
<or>
@ -160,15 +126,15 @@
</equals>
</or>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/apthrmode2</property>
<property>/it-autoflight/output/thr-mode</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/retard</property>
<property>/it-autoflight/output/retard</property>
<value>0</value>
</equals>
</and>
@ -189,15 +155,15 @@
</equals>
</or>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>1</value>
</equals>
<not-equals>
<property>/it-autoflight/apthrmode2</property>
<property>/it-autoflight/output/thr-mode</property>
<value>0</value>
</not-equals>
<equals>
<property>/it-autoflight/retard</property>
<property>/it-autoflight/output/retard</property>
<value>0</value>
</equals>
</and>
@ -207,7 +173,7 @@
<max-rate-of-change>
<condition>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>0</value>
</equals>
</condition>
@ -242,7 +208,7 @@
<condition>
<and>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>0</value>
</equals>
<or>
@ -267,7 +233,7 @@
<condition>
<and>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>1</value>
</equals>
<or>
@ -302,15 +268,15 @@
</equals>
</or>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/apthrmode2</property>
<property>/it-autoflight/output/thr-mode</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/retard</property>
<property>/it-autoflight/output/retard</property>
<value>0</value>
</equals>
</and>
@ -331,15 +297,15 @@
</equals>
</or>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>1</value>
</equals>
<not-equals>
<property>/it-autoflight/apthrmode2</property>
<property>/it-autoflight/output/thr-mode</property>
<value>0</value>
</not-equals>
<equals>
<property>/it-autoflight/retard</property>
<property>/it-autoflight/output/retard</property>
<value>0</value>
</equals>
</and>
@ -349,291 +315,7 @@
<max-rate-of-change>
<condition>
<equals>
<property>/it-autoflight/at_master</property>
<value>0</value>
</equals>
</condition>
<value>1</value>
</max-rate-of-change>
</filter>
<filter>
<name>Throttle 3</name>
<debug>false</debug>
<feedback-if-disabled>true</feedback-if-disabled>
<initialize-to>output</initialize-to>
<enable>
<condition>
<or>
<equals>
<property>/systems/thrust/state3</property>
<value>CL</value>
</equals>
<equals>
<property>/systems/thrust/state3</property>
<value>MAN</value>
</equals>
<equals>
<property>/systems/thrust/state3</property>
<value>IDLE</value>
</equals>
</or>
</condition>
</enable>
<input>
<condition>
<and>
<equals>
<property>/it-autoflight/at_master</property>
<value>0</value>
</equals>
<or>
<equals>
<property>/systems/thrust/state3</property>
<value>CL</value>
</equals>
<equals>
<property>/systems/thrust/state3</property>
<value>MAN</value>
</equals>
<equals>
<property>/systems/thrust/state3</property>
<value>IDLE</value>
</equals>
</or>
</and>
</condition>
<property>/controls/engines/engine[2]/throttle-man</property>
</input>
<input>
<condition>
<and>
<equals>
<property>/it-autoflight/at_master</property>
<value>1</value>
</equals>
<or>
<equals>
<property>/systems/thrust/state3</property>
<value>CL</value>
</equals>
<equals>
<property>/systems/thrust/state3</property>
<value>MAN</value>
</equals>
</or>
</and>
</condition>
<property>/controls/engines/engine[2]/throttle-cmd</property>
</input>
<output>
<property>/controls/engines/engine[2]/throttle-fdm</property>
</output>
<type>noise-spike</type>
<max-rate-of-change>
<condition>
<and>
<or>
<equals>
<property>/systems/thrust/state3</property>
<value>CL</value>
</equals>
<equals>
<property>/systems/thrust/state3</property>
<value>MAN</value>
</equals>
</or>
<equals>
<property>/it-autoflight/at_master</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/apthrmode2</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/retard</property>
<value>0</value>
</equals>
</and>
</condition>
<value>0.40</value>
</max-rate-of-change>
<max-rate-of-change>
<condition>
<and>
<or>
<equals>
<property>/systems/thrust/state3</property>
<value>CL</value>
</equals>
<equals>
<property>/systems/thrust/state3</property>
<value>MAN</value>
</equals>
</or>
<equals>
<property>/it-autoflight/at_master</property>
<value>1</value>
</equals>
<not-equals>
<property>/it-autoflight/apthrmode2</property>
<value>0</value>
</not-equals>
<equals>
<property>/it-autoflight/retard</property>
<value>0</value>
</equals>
</and>
</condition>
<value>0.05</value>
</max-rate-of-change>
<max-rate-of-change>
<condition>
<equals>
<property>/it-autoflight/at_master</property>
<value>0</value>
</equals>
</condition>
<value>1</value>
</max-rate-of-change>
</filter>
<filter>
<name>Throttle 4</name>
<debug>false</debug>
<feedback-if-disabled>true</feedback-if-disabled>
<initialize-to>output</initialize-to>
<enable>
<condition>
<or>
<equals>
<property>/systems/thrust/state4</property>
<value>CL</value>
</equals>
<equals>
<property>/systems/thrust/state4</property>
<value>MAN</value>
</equals>
<equals>
<property>/systems/thrust/state4</property>
<value>IDLE</value>
</equals>
</or>
</condition>
</enable>
<input>
<condition>
<and>
<equals>
<property>/it-autoflight/at_master</property>
<value>0</value>
</equals>
<or>
<equals>
<property>/systems/thrust/state4</property>
<value>CL</value>
</equals>
<equals>
<property>/systems/thrust/state4</property>
<value>MAN</value>
</equals>
<equals>
<property>/systems/thrust/state4</property>
<value>IDLE</value>
</equals>
</or>
</and>
</condition>
<property>/controls/engines/engine[3]/throttle-man</property>
</input>
<input>
<condition>
<and>
<equals>
<property>/it-autoflight/at_master</property>
<value>1</value>
</equals>
<or>
<equals>
<property>/systems/thrust/state4</property>
<value>CL</value>
</equals>
<equals>
<property>/systems/thrust/state4</property>
<value>MAN</value>
</equals>
</or>
</and>
</condition>
<property>/controls/engines/engine[3]/throttle-cmd</property>
</input>
<output>
<property>/controls/engines/engine[3]/throttle-fdm</property>
</output>
<type>noise-spike</type>
<max-rate-of-change>
<condition>
<and>
<or>
<equals>
<property>/systems/thrust/state4</property>
<value>CL</value>
</equals>
<equals>
<property>/systems/thrust/state4</property>
<value>MAN</value>
</equals>
</or>
<equals>
<property>/it-autoflight/at_master</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/apthrmode2</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/retard</property>
<value>0</value>
</equals>
</and>
</condition>
<value>0.40</value>
</max-rate-of-change>
<max-rate-of-change>
<condition>
<and>
<or>
<equals>
<property>/systems/thrust/state4</property>
<value>CL</value>
</equals>
<equals>
<property>/systems/thrust/state4</property>
<value>MAN</value>
</equals>
</or>
<equals>
<property>/it-autoflight/at_master</property>
<value>1</value>
</equals>
<not-equals>
<property>/it-autoflight/apthrmode2</property>
<value>0</value>
</not-equals>
<equals>
<property>/it-autoflight/retard</property>
<value>0</value>
</equals>
</and>
</condition>
<value>0.05</value>
</max-rate-of-change>
<max-rate-of-change>
<condition>
<equals>
<property>/it-autoflight/at_master</property>
<property>/it-autoflight/output/athr</property>
<value>0</value>
</equals>
</condition>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 KiB