fix autospoiler, bugfixes, Upper-ECAM finished, except warnings and flap/slat indicator

This commit is contained in:
it0uchpods 2016-11-06 00:38:16 -04:00
parent 286f84d31f
commit 65be59ce1a
23 changed files with 2029 additions and 12177 deletions

View file

@ -1,6 +1,6 @@
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="http://jsbsim.sourceforge.net/JSBSim.xsl"?>
<fdm_config name="A320-neo" version="2.0" release="BETA"
<fdm_config name="A320family" version="2.0" release="BETA"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">

View file

@ -438,6 +438,11 @@
<key n="2">
<name>Ctrl-b</name>
<desc>Cycle speedbrake setting</desc>
<binding>
<command>property-assign</command>
<property>controls/flight/speedbrake-arm</property>
<value>0</value>
</binding>
<binding>
<command>property-cycle</command>
<property>controls/flight/speedbrake-lever</property>

View file

@ -133,7 +133,7 @@
<!-- Engine Indications and Crew Alerting System (Upper ECAM) -->
<model>
<path>Aircraft/A320Family/Models/Instruments/Upper-ECAM/Upper-ECAM.xml</path>
<path>Aircraft/A320Family/Models/Instruments/Upper-ECAM/Upper-ECAM-IAE.xml</path>
<offsets>
<x-m>-0.5807</x-m>
<y-m>0</y-m>
@ -1785,8 +1785,6 @@
<property>controls/engines/engine[0]/throttle</property>
<interpolation>
<entry><ind>0.00000</ind><dep>10</dep></entry>
<entry><ind>0.04900</ind><dep>10</dep></entry>
<entry><ind>0.05000</ind><dep>12</dep></entry>
<entry><ind>0.59999</ind><dep>33</dep></entry>
<entry><ind>0.60000</ind><dep>35</dep></entry>
<entry><ind>0.79999</ind><dep>35</dep></entry>
@ -1840,8 +1838,6 @@
<property>controls/engines/engine[1]/throttle</property>
<interpolation>
<entry><ind>0.00000</ind><dep>10</dep></entry>
<entry><ind>0.04900</ind><dep>10</dep></entry>
<entry><ind>0.05000</ind><dep>12</dep></entry>
<entry><ind>0.59999</ind><dep>33</dep></entry>
<entry><ind>0.60000</ind><dep>35</dep></entry>
<entry><ind>0.79999</ind><dep>35</dep></entry>

View file

@ -1,405 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Airbus A320 for FlightGear -->
<!-- Electronic Indication and Crew Alert System -->
<PropertyList>
<path>../../../Models/Instruments/EICAS/EICAS.ac</path>
<!-- 3D TEXT -->
<text>
<name>Engine 1 N1</name>
<offsets>
<x-m>0.0002</x-m>
<y-m>-0.029</y-m>
<z-m>0.053</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%3.1f</format>
<property>engines/engine[0]/n1</property>
<font>lcd.txf</font>
<character-size>0.007</character-size>
<character-aspect-ratio type="double">1.5</character-aspect-ratio>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>Engine 2 N1</name>
<offsets>
<x-m>0.0002</x-m>
<y-m>0.032</y-m>
<z-m>0.053</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%3.1f</format>
<property>engines/engine[1]/n1</property>
<font>lcd.txf</font>
<character-size>0.007</character-size>
<character-aspect-ratio type="double">1.5</character-aspect-ratio>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>Engine 1 EGT</name>
<offsets>
<x-m>0.0002</x-m>
<y-m>-0.029</y-m>
<z-m>0.024</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%3.1f</format>
<property>engines/engine[0]/egt-degc</property>
<font>lcd.txf</font>
<character-size>0.007</character-size>
<character-aspect-ratio type="double">1.5</character-aspect-ratio>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>Engine 2 EGT</name>
<offsets>
<x-m>0.0002</x-m>
<y-m>0.032</y-m>
<z-m>0.024</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%3.1f</format>
<property>engines/engine[1]/egt-degc</property>
<font>lcd.txf</font>
<character-size>0.007</character-size>
<character-aspect-ratio type="double">1.5</character-aspect-ratio>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>Engine 1 N2</name>
<offsets>
<x-m>0.0001</x-m>
<y-m>-0.015</y-m>
<z-m>0.01</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%3.1f</format>
<property>engines/engine[0]/n2</property>
<font>lcd.txf</font>
<character-size>0.006</character-size>
<character-aspect-ratio type="double">1.5</character-aspect-ratio>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>Engine 2 N2</name>
<offsets>
<x-m>0.0001</x-m>
<y-m>0.019</y-m>
<z-m>0.01</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%3.1f</format>
<property>engines/engine[1]/n2</property>
<font>lcd.txf</font>
<character-size>0.006</character-size>
<character-aspect-ratio type="double">1.5</character-aspect-ratio>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>Engine 1 FF</name>
<offsets>
<x-m>0.0001</x-m>
<y-m>-0.015</y-m>
<z-m>-0.003</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%4.1f</format>
<property>engines/engine[0]/fuel-flow_pph</property>
<font>lcd.txf</font>
<character-size>0.006</character-size>
<character-aspect-ratio type="double">1.5</character-aspect-ratio>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>Engine 2 FF</name>
<offsets>
<x-m>0.0001</x-m>
<y-m>0.019</y-m>
<z-m>-0.003</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%4.1f</format>
<property>engines/engine[1]/fuel-flow_pph</property>
<font>lcd.txf</font>
<character-size>0.006</character-size>
<character-aspect-ratio type="double">1.5</character-aspect-ratio>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>Fuel on board</name>
<offsets>
<x-m>0.0001</x-m>
<y-m>-0.057</y-m>
<z-m>-0.015</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%5.1f</format>
<property>fdm/jsbsim/propulsion/total-fuel-lbs</property>
<font>lcd.txf</font>
<character-size>0.007</character-size>
<character-aspect-ratio type="double">1.5</character-aspect-ratio>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>Flaps degrees</name>
<offsets>
<x-m>0.0001</x-m>
<y-m>0.052</y-m>
<z-m>-0.015</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%2.0f</format>
<property>controls/flight/flaps</property>
<scale>40</scale>
<font>lcd.txf</font>
<character-size>0.007</character-size>
<character-aspect-ratio type="double">1.5</character-aspect-ratio>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<!-- Emission animations -->
<animation>
<name>White text</name>
<type>material</type>
<object-name>Flaps degrees</object-name>
<emission>
<red>1</red>
<green>1</green>
<blue>1</blue>
</emission>
</animation>
<animation>
<name>Green text</name>
<type>material</type>
<object-name>Engine 1 N1</object-name>
<object-name>Engine 2 N1</object-name>
<object-name>Engine 1 EGT</object-name>
<object-name>Engine 2 EGT</object-name>
<object-name>Engine 1 N2</object-name>
<object-name>Engine 2 N2</object-name>
<object-name>Engine 1 FF</object-name>
<object-name>Engine 2 FF</object-name>
<object-name>Fuel on board</object-name>
<emission>
<red>0.28</red>
<green>0.81</green>
<blue>0.21</blue>
</emission>
</animation>
<!-- ANIMATIONS -->
<!-- Lighting -->
<animation>
<name>Dome illumination</name>
<type>material</type>
<object-name>Border</object-name>
<object-name>Off</object-name>
<emission>
<red>0.5</red>
<green>0.5</green>
<blue>0.5</blue>
<factor-prop>controls/lighting/dome-norm</factor-prop>
</emission>
</animation>
<!-- Power on/off -->
<animation>
<name>Power on/off</name>
<type>select</type>
<object-name>Off</object-name>
<condition>
<less-than>
<property>systems/electrical/outputs/efis</property>
<value>15</value>
</less-than>
</condition>
</animation>
<!-- N1 -->
<animation>
<name>Left N1 pointer</name>
<type>rotate</type>
<object-name>N1LPtr</object-name>
<property>engines/engine[0]/n1</property>
<interpolation>
<entry><ind>0</ind><dep>43</dep></entry>
<entry><ind>100</ind><dep>-146</dep></entry>
</interpolation>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0</x-m>
<y-m>-0.0293</y-m>
<z-m>0.05745</z-m>
</center>
</animation>
<animation>
<name>Right N1 pointer</name>
<type>rotate</type>
<object-name>N1RPtr</object-name>
<property>engines/engine[1]/n1</property>
<interpolation>
<entry><ind>0</ind><dep>43</dep></entry>
<entry><ind>100</ind><dep>-146</dep></entry>
</interpolation>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0</x-m>
<y-m>0.03195</y-m>
<z-m>0.05745</z-m>
</center>
</animation>
<!-- EGT -->
<animation>
<name>Left EGT pointer</name>
<type>rotate</type>
<object-name>EGTLPtr</object-name>
<property>engines/engine[0]/egt-degf</property>
<interpolation>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>1350</ind><dep>-180</dep></entry>
</interpolation>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0</x-m>
<y-m>-0.0293</y-m>
<z-m>0.02727</z-m>
</center>
</animation>
<animation>
<name>Right EGT pointer</name>
<type>rotate</type>
<object-name>EGTRPtr</object-name>
<property>engines/engine[1]/egt-degf</property>
<interpolation>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>1350</ind><dep>-180</dep></entry>
</interpolation>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0</x-m>
<y-m>0.03195</y-m>
<z-m>0.02727</z-m>
</center>
</animation>
<!-- Alerts -->
<animation>
<name>Speedbrake alert</name>
<type>select</type>
<object-name>SpeedbrakeAlert</object-name>
<condition>
<greater-than>
<property>controls/flight/speedbrake</property>
<value>0</value>
</greater-than>
</condition>
</animation>
<animation>
<name>Ground spoilers armed alert</name>
<type>select</type>
<object-name>SpoilerArmedAlert</object-name>
<condition>
<property>controls/flight/ground-spoilers-armed</property>
</condition>
</animation>
<animation>
<name>APU starting alert</name>
<type>select</type>
<object-name>APUStartAlert</object-name>
<condition>
<and>
<property>controls/APU/starter</property>
<greater-than>
<property>engines/apu/rpm</property>
<value>0</value>
</greater-than>
<not>
<property>engines/apu/running</property>
</not>
</and>
</condition>
</animation>
<animation>
<name>APU running alert</name>
<type>select</type>
<object-name>APURunAlert</object-name>
<condition>
<property>engines/apu/running</property>
</condition>
</animation>
</PropertyList>

View file

@ -1,405 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Airbus A320 for FlightGear -->
<!-- Electronic Indication and Crew Alert System -->
<PropertyList>
<path>res/EICAS_Airbus2.ac</path>
<!-- 3D TEXT -->
<text>
<name>Engine 1 N1</name>
<offsets>
<x-m>0.001</x-m>
<y-m>-0.045</y-m>
<z-m>0.0718</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%3.1f</format>
<property>engines/engine[0]/n1</property>
<font>lcd.txf</font>
<character-size>0.007</character-size>
<character-aspect-ratio type="double">1.5</character-aspect-ratio>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>Engine 2 N1</name>
<offsets>
<x-m>0.001</x-m>
<y-m>0.021</y-m>
<z-m>0.0718</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%3.1f</format>
<property>engines/engine[1]/n1</property>
<font>lcd.txf</font>
<character-size>0.007</character-size>
<character-aspect-ratio type="double">1.5</character-aspect-ratio>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>Engine 1 EGT</name>
<offsets>
<x-m>0.001</x-m>
<y-m>-0.045</y-m>
<z-m>0.0245</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%3.1f</format>
<property>engines/engine[0]/egt-degc</property>
<font>lcd.txf</font>
<character-size>0.007</character-size>
<character-aspect-ratio type="double">1.5</character-aspect-ratio>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>Engine 2 EGT</name>
<offsets>
<x-m>0.001</x-m>
<y-m>0.0201</y-m>
<z-m>0.0245</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%3.1f</format>
<property>engines/engine[1]/egt-degc</property>
<font>lcd.txf</font>
<character-size>0.007</character-size>
<character-aspect-ratio type="double">1.5</character-aspect-ratio>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>Engine 1 N2</name>
<offsets>
<x-m>0.001</x-m>
<y-m>-0.0602</y-m>
<z-m>0.01</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%3.1f</format>
<property>engines/engine[0]/n2</property>
<font>lcd.txf</font>
<character-size>0.006</character-size>
<character-aspect-ratio type="double">1.5</character-aspect-ratio>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>Engine 2 N2</name>
<offsets>
<x-m>0.001</x-m>
<y-m>-0.0075</y-m>
<z-m>0.01</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%3.1f</format>
<property>engines/engine[1]/n2</property>
<font>lcd.txf</font>
<character-size>0.006</character-size>
<character-aspect-ratio type="double">1.5</character-aspect-ratio>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>Engine 1 FF</name>
<offsets>
<x-m>0.001</x-m>
<y-m>-0.0602</y-m>
<z-m>-0.005</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%4.1f</format>
<property>engines/engine[0]/fuel-flow_pph</property>
<font>lcd.txf</font>
<character-size>0.006</character-size>
<character-aspect-ratio type="double">1.5</character-aspect-ratio>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>Engine 2 FF</name>
<offsets>
<x-m>0.001</x-m>
<y-m>-0.0075</y-m>
<z-m>-0.005</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%4.1f</format>
<property>engines/engine[1]/fuel-flow_pph</property>
<font>lcd.txf</font>
<character-size>0.006</character-size>
<character-aspect-ratio type="double">1.5</character-aspect-ratio>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>Fuel on board</name>
<offsets>
<x-m>0.001</x-m>
<y-m>0.075</y-m>
<z-m>0.045</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%5.1f</format>
<property>fdm/jsbsim/propulsion/total-fuel-lbs</property>
<font>lcd.txf</font>
<character-size>0.007</character-size>
<character-aspect-ratio type="double">1.5</character-aspect-ratio>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>Flaps degrees</name>
<offsets>
<x-m>0.001</x-m>
<y-m>0.071</y-m>
<z-m>0.0216</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%2.0f</format>
<property>controls/flight/flaps</property>
<scale>40</scale>
<font>lcd.txf</font>
<character-size>0.007</character-size>
<character-aspect-ratio type="double">1.5</character-aspect-ratio>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<!-- Emission animations -->
<animation>
<name>White text</name>
<type>material</type>
<object-name>Flaps degrees</object-name>
<emission>
<red>1</red>
<green>1</green>
<blue>1</blue>
</emission>
</animation>
<animation>
<name>Green text</name>
<type>material</type>
<object-name>Engine 1 N1</object-name>
<object-name>Engine 2 N1</object-name>
<object-name>Engine 1 EGT</object-name>
<object-name>Engine 2 EGT</object-name>
<object-name>Engine 1 N2</object-name>
<object-name>Engine 2 N2</object-name>
<object-name>Engine 1 FF</object-name>
<object-name>Engine 2 FF</object-name>
<object-name>Fuel on board</object-name>
<emission>
<red>0.28</red>
<green>1.00</green>
<blue>0.21</blue>
</emission>
</animation>
<!-- ANIMATIONS -->
<!-- Lighting -->
<animation>
<name>Dome illumination</name>
<type>material</type>
<object-name>Border</object-name>
<object-name>Off</object-name>
<emission>
<red>0.5</red>
<green>0.5</green>
<blue>0.5</blue>
<factor-prop>controls/lighting/dome-norm</factor-prop>
</emission>
</animation>
<!-- Power on/off -->
<animation>
<name>Power on/off</name>
<type>select</type>
<object-name>Off</object-name>
<condition>
<less-than>
<property>systems/electrical/outputs/efis</property>
<value>15</value>
</less-than>
</condition>
</animation>
<!-- N1 -->
<animation>
<name>Left N1 pointer</name>
<type>rotate</type>
<object-name>N1LPtr</object-name>
<property>engines/engine[0]/n1</property>
<interpolation>
<entry><ind>0</ind><dep>43</dep></entry>
<entry><ind>100</ind><dep>-146</dep></entry>
</interpolation>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0</x-m>
<y-m>-0.0659</y-m>
<z-m>0.07612</z-m>
</center>
</animation>
<animation>
<name>Right N1 pointer</name>
<type>rotate</type>
<object-name>N1RPtr</object-name>
<property>engines/engine[1]/n1</property>
<interpolation>
<entry><ind>0</ind><dep>43</dep></entry>
<entry><ind>100</ind><dep>-146</dep></entry>
</interpolation>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0</x-m>
<y-m>0.00077</y-m>
<z-m>0.07612</z-m>
</center>
</animation>
<!-- EGT -->
<animation>
<name>Left EGT pointer</name>
<type>rotate</type>
<object-name>EGTLPtr</object-name>
<property>engines/engine[0]/egt-degf</property>
<interpolation>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>1350</ind><dep>-180</dep></entry>
</interpolation>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0</x-m>
<y-m>-0.06582</y-m>
<z-m>0.02928</z-m>
</center>
</animation>
<animation>
<name>Right EGT pointer</name>
<type>rotate</type>
<object-name>EGTRPtr</object-name>
<property>engines/engine[1]/egt-degf</property>
<interpolation>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>1350</ind><dep>-180</dep></entry>
</interpolation>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0</x-m>
<y-m>0.0282</y-m>
<z-m>0.02965</z-m>
</center>
</animation>
<!-- Alerts -->
<animation>
<name>Speedbrake alert</name>
<type>select</type>
<object-name>SpeedbrakeAlert</object-name>
<condition>
<greater-than>
<property>controls/flight/speedbrake</property>
<value>0</value>
</greater-than>
</condition>
</animation>
<animation>
<name>Ground spoilers armed alert</name>
<type>select</type>
<object-name>SpoilerArmedAlert</object-name>
<condition>
<property>controls/flight/ground-spoilers-armed</property>
</condition>
</animation>
<animation>
<name>APU starting alert</name>
<type>select</type>
<object-name>APUStartAlert</object-name>
<condition>
<and>
<property>controls/APU/starter</property>
<greater-than>
<property>engines/apu/rpm</property>
<value>0</value>
</greater-than>
<not>
<property>engines/apu/running</property>
</not>
</and>
</condition>
</animation>
<animation>
<name>APU running alert</name>
<type>select</type>
<object-name>APURunAlert</object-name>
<condition>
<property>engines/apu/running</property>
</condition>
</animation>
</PropertyList>

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

View file

@ -161,7 +161,6 @@
<binding>
<command>nasal</command>
<script>
utils.clickSound(4);
var gs = getprop('velocities/groundspeed-kt');
var on_ground = getprop('gear/gear[2]/wow');
var dlg = gui.Dialog.new("sim/gui/dialogs/ground-call/dialog",
@ -184,7 +183,6 @@
<binding>
<command>nasal</command>
<script>
utils.clickSound(4);
var dlg = gui.Dialog.new("sim/gui/dialogs/cabin-call/dialog",
"Aircraft/A320Family/Systems/call-cabin.xml");
dlg.open();
@ -206,10 +204,6 @@
<command>property-toggle</command>
<property>instrumentation/mk-viii/inputs/discretes/gpws-inhibit</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
<animation>
@ -250,10 +244,6 @@
<command>property-toggle</command>
<property>instrumentation/mk-viii/inputs/discretes/glideslope-cancel</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
<animation>
@ -280,10 +270,6 @@
<command>property-toggle</command>
<property>instrumentation/mk-viii/inputs/discretes/momentary-flap-override</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
<animation>
@ -310,10 +296,6 @@
<command>property-toggle</command>
<property>instrumentation/mk-viii/inputs/discretes/momentary-flap3-override</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
<animation>
@ -340,10 +322,6 @@
<command>property-toggle</command>
<property>controls/engines/engine[0]/fire-bottle-discharge</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(7)</script>
</binding>
</action>
</animation>
<animation>
@ -369,10 +347,6 @@
<command>property-toggle</command>
<property>controls/APU/fire-switch</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(7)</script>
</binding>
</action>
</animation>
<animation>
@ -398,10 +372,6 @@
<command>property-toggle</command>
<property>controls/engines/engine[1]/fire-bottle-discharge</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(7)</script>
</binding>
</action>
</animation>
<animation>
@ -430,10 +400,6 @@
<!-- property>consumables/fuel/tank[0]/selected</property -->
<property>controls/fuel/tank[2]/boost-pump[0]</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(7)</script>
</binding>
</action>
</animation>
<animation>
@ -464,10 +430,6 @@
<!--property>consumables/fuel/tank[1]/selected</property-->
<property>controls/fuel/tank[2]/boost-pump[1]</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(7)</script>
</binding>
</action>
</animation>
<animation>
@ -499,10 +461,6 @@
<!--property>consumables/fuel/tank[3]/selected</property-->
<property>controls/fuel/tank[3]/boost-pump[0]</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
<animation>
@ -533,10 +491,7 @@
<!--property>consumables/fuel/tank[3]/selected</property-->
<property>controls/fuel/tank[3]/boost-pump[1]</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
<animation>
@ -567,10 +522,7 @@
<command>property-toggle</command>
<property>controls/fuel/x-feed</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
<animation>
@ -603,10 +555,7 @@
<!--property>consumables/fuel/tank[4]/selected</property-->
<property>controls/fuel/tank[4]/boost-pump[0]</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
<animation>
@ -637,10 +586,7 @@
<!--property>consumables/fuel/tank[5]/selected</property-->
<property>controls/fuel/tank[4]/boost-pump[1]</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
<animation>
@ -673,10 +619,7 @@
<command>property-toggle</command>
<property>controls/fuel-dump/arm</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
<animation>
@ -703,10 +646,7 @@
<command>property-toggle</command>
<property>controls/fuel-dump/active</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
<animation>
@ -734,10 +674,7 @@
<command>property-toggle</command>
<property>controls/electric/battery-switch</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
<animation>
@ -767,10 +704,7 @@
<command>property-toggle</command>
<property>controls/electric/engine[0]/generator</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
<animation>
@ -800,10 +734,7 @@
<command>property-toggle</command>
<property>controls/electric/APU-generator</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
<animation>
@ -833,10 +764,7 @@
<command>property-toggle</command>
<property>controls/electric/external-power</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
<animation>
@ -863,10 +791,7 @@
<command>property-toggle</command>
<property>controls/electric/engine[1]/generator</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
<animation>
@ -898,10 +823,7 @@
<step>0.5</step>
<max>1</max>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
<action>
<button>1</button>
@ -948,10 +870,7 @@
<command>property-toggle</command>
<property>controls/pressurization/pack[0]/pack-on</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
<animation>
@ -978,10 +897,7 @@
<command>property-toggle</command>
<property>controls/pneumatic/engine[0]/bleed</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
<animation>
@ -1008,10 +924,7 @@
<command>property-toggle</command>
<property>controls/pneumatic/APU-bleed</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
<animation>
@ -1038,10 +951,7 @@
<command>property-toggle</command>
<property>controls/pneumatic/engine[1]/bleed</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
<animation>
@ -1068,10 +978,7 @@
<command>property-toggle</command>
<property>controls/pressurization/pack[1]/pack-on</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
<animation>
@ -1099,10 +1006,7 @@
<command>property-toggle</command>
<property>controls/anti-ice/wing-heat</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
<animation>
@ -1129,10 +1033,7 @@
<command>property-toggle</command>
<property>controls/anti-ice/engine[0]/inlet-heat</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
<animation>
@ -1159,10 +1060,7 @@
<command>property-toggle</command>
<property>controls/anti-ice/engine[1]/inlet-heat</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
<animation>
@ -1194,10 +1092,7 @@
<property>controls/anti-ice/window-heat</property>
<property>controls/anti-ice/pitot-heat</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
<animation>
@ -1224,14 +1119,7 @@
<command>property-toggle</command>
<property>controls/lighting/strobe</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(7)</script>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</binding>
</action>
</animation>
<animation>
@ -1266,10 +1154,7 @@
<command>property-toggle</command>
<property>controls/lighting/beacon</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(7)</script>
</binding>
</action>
</animation>
<animation>
@ -1304,10 +1189,7 @@
<command>property-toggle</command>
<property>controls/lighting/wing-lights</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(7)</script>
</binding>
</action>
</animation>
<animation>
@ -1345,10 +1227,7 @@
<value type="int">1</value>
<value type="int">2</value>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(8)</script>
</binding>
</action>
</animation>
<animation>
@ -1384,10 +1263,7 @@
<command>property-toggle</command>
<property>controls/lighting/landing-lights[0]</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(7)</script>
</binding>
</action>
</animation>
<animation>
@ -1422,10 +1298,7 @@
<command>property-toggle</command>
<property>controls/lighting/landing-lights[2]</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(7)</script>
</binding>
</action>
</animation>
<animation>
@ -1460,10 +1333,7 @@
<command>property-toggle</command>
<property>controls/lighting/landing-lights[1]</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(7)</script>
</binding>
</action>
</animation>
<animation>
@ -1500,10 +1370,7 @@
<command>property-toggle</command>
<property>controls/APU/master-switch</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
<animation>
@ -1544,10 +1411,7 @@
<command>property-toggle</command>
<property>controls/APU/starter</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
<animation>
@ -1661,10 +1525,7 @@
<command>property-toggle</command>
<property>controls/switches/seatbelt-sign</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
<animation>
@ -1699,10 +1560,7 @@
<command>property-toggle</command>
<property>controls/switches/no-smoking-sign</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
<animation>
@ -1739,10 +1597,7 @@
<command>property-toggle</command>
<property>controls/engines/engine[0]/starter-switch</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
<animation>
@ -1769,10 +1624,7 @@
<command>property-toggle</command>
<property>controls/engines/engine[1]/starter-switch</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
<animation>
@ -1801,10 +1653,7 @@
<command>property-toggle</command>
<property>hydraulics/control/eng1-pump</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
@ -1820,10 +1669,7 @@
<command>property-toggle</command>
<property>hydraulics/control/eng2-pump</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
@ -1839,10 +1685,7 @@
<command>property-toggle</command>
<property>hydraulics/control/elec-pump</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
@ -1858,10 +1701,7 @@
<command>property-toggle</command>
<property>hydraulics/control/y-elec-pump</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
@ -1878,10 +1718,7 @@
<property>hydraulics/control/rat-unlck</property>
<value>1</value>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>
@ -1896,10 +1733,7 @@
<command>property-toggle</command>
<property>hydraulics/control/ptu</property>
</binding>
<binding>
<command>nasal</command>
<script>utils.clickSound(6)</script>
</binding>
</action>
</animation>

View file

@ -6,7 +6,7 @@
<animation>
<type>select</type>
<object-name>XX.1</object-name>'
<object-name>XX.1</object-name>
<object-name>XX1</object-name>
<condition>
<and>
@ -93,6 +93,7 @@
<object-name>osgtext-green1</object-name>
<object-name>epr1</object-name>
<object-name>egt1</object-name>
<object-name>thrpos1</object-name>
<condition>
<or>
<equals>
@ -112,6 +113,7 @@
<object-name>osgtext-green2</object-name>
<object-name>epr2</object-name>
<object-name>egt2</object-name>
<object-name>thrpos2</object-name>
<condition>
<or>
<equals>
@ -266,6 +268,31 @@
<blue>0</blue>
</emission>
</animation>
<animation>
<type>material</type> <!-- Blue -->
<object-name>osgtext-blue</object-name>
<diffuse>
<red>0.06</red>
<green>0.55</green>
<blue>1</blue>
</diffuse>
<ambient>
<red>0</red>
<green>0</green>
<blue>0</blue>
</ambient>
<specular>
<red>0</red>
<green>0</green>
<blue>0</blue>
</specular>
<emission>
<red>0.06</red>
<green>0.55</green>
<blue>1</blue>
</emission>
</animation>
<!-- OSGText -->
@ -275,13 +302,13 @@
<name>osgtext-green1</name>
<offsets>
<x-m>0.0004</x-m>
<y-m>-0.0516</y-m>
<z-m>0.0572</z-m>
<y-m>-0.0580</y-m>
<z-m>0.0562</z-m>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%1.2f</format>
<format type="string">%1.3f</format>
<property>engines/engine/epr-actual</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
@ -299,13 +326,13 @@
<name>osgtext-green2</name>
<offsets>
<x-m>0.0004</x-m>
<y-m>0.004</y-m>
<z-m>0.0572</z-m>
<y-m>-0.0025</y-m>
<z-m>0.0562</z-m>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%1.2f</format>
<format type="string">%1.3f</format>
<property>engines/engine[1]/epr-actual</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
@ -323,8 +350,8 @@
<name>XX.1</name>
<offsets>
<x-m>0.0004</x-m>
<y-m>-0.0516</y-m>
<z-m>0.0572</z-m>
<y-m>-0.0580</y-m>
<z-m>0.0562</z-m>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
@ -347,8 +374,8 @@
<name>XX.2</name>
<offsets>
<x-m>0.0004</x-m>
<y-m>0.004</y-m>
<z-m>0.0572</z-m>
<y-m>-0.0025</y-m>
<z-m>0.0562</z-m>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
@ -615,8 +642,8 @@
<name>osgtext-green3</name>
<offsets>
<x-m>0.0004</x-m>
<y-m>-0.0510</y-m>
<z-m>0.00</z-m>
<y-m>-0.0580</y-m>
<z-m>-0.001</z-m>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
@ -639,8 +666,8 @@
<name>osgtext-green4</name>
<offsets>
<x-m>0.0004</x-m>
<y-m>0.005</y-m>
<z-m>0.00</z-m>
<y-m>-0.0025</y-m>
<z-m>-0.001</z-m>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
@ -663,13 +690,13 @@
<name>XX.3</name>
<offsets>
<x-m>0.0004</x-m>
<y-m>-0.0510</y-m>
<z-m>0.00</z-m>
<y-m>-0.0580</y-m>
<z-m>-0.001</z-m>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string"> XX</format>
<format type="string">XX </format>
<property>autopilot/serviceable</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
@ -687,13 +714,13 @@
<name>XX.4</name>
<offsets>
<x-m>0.0004</x-m>
<y-m>0.005</y-m>
<z-m>0.00</z-m>
<y-m>-0.0025</y-m>
<z-m>-0.001</z-m>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string"> XX</format>
<format type="string">XX </format>
<property>autopilot/serviceable</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
@ -805,20 +832,70 @@
</font-resolution>
</text>
<!-- Thrust Limit -->
<text>
<name>osgtext-blue</name>
<offsets>
<x-m>0.0004</x-m>
<y-m>0.0265</y-m>
<z-m>0.0618</z-m>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">%s</format>
<property>controls/engines/thrust-limit</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.005</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>osgtext-green</name>
<offsets>
<x-m>0.0004</x-m>
<y-m>0.0485</y-m>
<z-m>0.0618</z-m>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%1.3f</format>
<property>controls/engines/epr-limit</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.005</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<!-- FF -->
<!--text>
<text>
<name>osgtext-green1</name>
<offsets>
<x-m>0.0004</x-m>
<y-m>-0.0345</y-m>
<z-m>-0.0147</z-m>
<y-m>0.0395</y-m>
<z-m>0.0412</z-m>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%4.0f</format>
<property>engines/engine/fuel-flow-kgph</property>
<property>engines/engine/fuel-flow_actual</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
<draw-text type="bool">true</draw-text>
@ -835,14 +912,14 @@
<name>osgtext-green2</name>
<offsets>
<x-m>0.0004</x-m>
<y-m>0.0345</y-m>
<z-m>-0.0147</z-m>
<y-m>0.0605</y-m>
<z-m>0.0412</z-m>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%4.0f</format>
<property>engines/engine[1]/fuel-flow-kgph</property>
<property>engines/engine[1]/fuel-flow_actual</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
<draw-text type="bool">true</draw-text>
@ -853,16 +930,64 @@
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text-->
</text>
<text>
<name>XX.1</name>
<offsets>
<x-m>0.0004</x-m>
<y-m>0.0395</y-m>
<z-m>0.0412</z-m>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">XX </format>
<property>autopilot/serviceable</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.005</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>XX.2</name>
<offsets>
<x-m>0.0004</x-m>
<y-m>0.0605</y-m>
<z-m>0.0412</z-m>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">XX </format>
<property>autopilot/serviceable</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.005</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<!-- FOB -->
<!--text>
<text>
<name>osgtext-green</name>
<offsets>
<x-m>0.0004</x-m>
<y-m>-0.0447</y-m>
<z-m>-0.0312</z-m>
<y-m>0.0525</y-m>
<z-m>0.0316</z-m>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
@ -879,7 +1004,7 @@
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text-->
</text>
<!-- Analog Displays -->
@ -891,7 +1016,8 @@
<property>engines/engine/epr-actual</property>
<interpolation>
<entry><ind>0.8</ind><dep> 0</dep></entry>
<entry><ind>1.0</ind><dep> 18</dep></entry>
<entry><ind>1.0</ind><dep> 05</dep></entry>
<entry><ind>1.1</ind><dep> 33</dep></entry>
<entry><ind>1.2</ind><dep> 64</dep></entry>
<entry><ind>1.4</ind><dep>117</dep></entry>
<entry><ind>1.6</ind><dep>165</dep></entry>
@ -914,7 +1040,8 @@
<property>engines/engine[1]/epr-actual</property>
<interpolation>
<entry><ind>0.8</ind><dep> 0</dep></entry>
<entry><ind>1.0</ind><dep> 18</dep></entry>
<entry><ind>1.0</ind><dep> 05</dep></entry>
<entry><ind>1.1</ind><dep> 33</dep></entry>
<entry><ind>1.2</ind><dep> 64</dep></entry>
<entry><ind>1.4</ind><dep>117</dep></entry>
<entry><ind>1.6</ind><dep>165</dep></entry>
@ -930,6 +1057,60 @@
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>thrpos1</object-name>
<property>controls/engines/engine[0]/throttle</property>
<interpolation>
<entry><ind>0.00000</ind><dep> 05</dep></entry>
<entry><ind>0.34198</ind><dep> 64</dep></entry>
<entry><ind>0.59999</ind><dep>102</dep></entry>
<entry><ind>0.60000</ind><dep>103</dep></entry>
<entry><ind>0.79999</ind><dep>103</dep></entry>
<entry><ind>0.80000</ind><dep>107</dep></entry>
<entry><ind>0.94999</ind><dep>107</dep></entry>
<entry><ind>0.95000</ind><dep>111</dep></entry>
<entry><ind>1.00000</ind><dep>111</dep></entry>
</interpolation>
<center>
<x-m>0</x-m>
<y-m>-0.0598</y-m>
<z-m>0.0588</z-m>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>thrpos2</object-name>
<property>controls/engines/engine[1]/throttle</property>
<interpolation>
<entry><ind>0.00000</ind><dep> 05</dep></entry>
<entry><ind>0.34198</ind><dep> 64</dep></entry>
<entry><ind>0.59999</ind><dep>102</dep></entry>
<entry><ind>0.60000</ind><dep>103</dep></entry>
<entry><ind>0.79999</ind><dep>103</dep></entry>
<entry><ind>0.80000</ind><dep>107</dep></entry>
<entry><ind>0.94999</ind><dep>107</dep></entry>
<entry><ind>0.95000</ind><dep>111</dep></entry>
<entry><ind>1.00000</ind><dep>111</dep></entry>
</interpolation>
<center>
<x-m>0</x-m>
<y-m>-0.0042</y-m>
<z-m>0.0588</z-m>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- EGT -->

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 16 KiB

File diff suppressed because it is too large Load diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 38 KiB

View file

@ -1,241 +0,0 @@
# IT AUTOFLIGHT Logic by Joshua Davidson (it0uchpods/411).
# V2.10
var ap_logic_init = func {
setprop("/controls/it2/ap_master", 0);
setprop("/controls/it2/at_master", 0);
setprop("/controls/it2/hdg", 1);
setprop("/controls/it2/nav", 0);
setprop("/controls/it2/loc", 0);
setprop("/controls/it2/loc1", 0);
setprop("/controls/it2/alt", 0);
setprop("/controls/it2/vs", 0);
setprop("/controls/it2/app", 0);
setprop("/controls/it2/app1", 0);
setprop("/controls/it2/altc", 0);
setprop("/controls/it2/flch", 1);
setprop("/controls/it2/aplatmode", 0);
setprop("/controls/it2/aphldtrk", 0);
setprop("/controls/it2/apvertmode", 3);
setprop("/controls/it2/aphldtrk2", 0);
setprop("/controls/it2/apoffsound", 1);
setprop("/controls/it2/thr", 1);
setprop("/controls/it2/idle", 0);
setprop("/controls/it2/clb", 0);
setprop("/controls/it2/apthrmode", 0);
setprop("/controls/it2/apthrmode2", 0);
print("AUTOFLIGHT LOGIC ... FINE!");
}
# AP Master System
setlistener("/controls/it2/ap_mastersw", func {
var apmas = getprop("/controls/it2/ap_mastersw");
if (apmas == 0) {
setprop("/controls/it2/ap_master", 0);
ap_off();
} else if (apmas == 1) {
setprop("/controls/it2/ap_master", 1);
setprop("/controls/it2/apoffsound", 0);
ap_refresh();
}
});
# AT Master System
setlistener("/controls/it2/at_mastersw", func {
var atmas = getprop("/controls/it2/at_mastersw");
if (atmas == 0) {
setprop("/controls/it2/at_master", 0);
at_off();
} else if (atmas == 1) {
setprop("/controls/it2/at_master", 1);
at_refresh();
}
});
# Flight Director Master System
setlistener("/controls/it2/fd_mastersw", func {
var fdmas = getprop("/controls/it2/fd_mastersw");
if (fdmas == 0) {
setprop("/controls/it2/fd_master", 0);
} else if (fdmas == 1) {
setprop("/controls/it2/fd_master", 1);
}
});
# Master Lateral
setlistener("/controls/it2/aplatset", func {
var latset = getprop("/controls/it2/aplatset");
if (latset == 0) {
setprop("/controls/it2/hdg", 1);
setprop("/controls/it2/nav", 0);
setprop("/controls/it2/loc", 0);
setprop("/controls/it2/loc1", 0);
setprop("/controls/it2/app", 0);
setprop("/controls/it2/app1", 0);
setprop("/controls/it2/aplatmode", 0);
setprop("/controls/it2/aphldtrk", 0);
hdg_master();
} else if (latset == 1) {
setprop("/controls/it2/hdg", 0);
setprop("/controls/it2/nav", 1);
setprop("/controls/it2/loc", 0);
setprop("/controls/it2/loc1", 0);
setprop("/controls/it2/app", 0);
setprop("/controls/it2/app1", 0);
setprop("/controls/it2/aplatmode", 1);
setprop("/controls/it2/aphldtrk", 1);
nav_master();
} else if (latset == 2) {
setprop("/instrumentation/nav/signal-quality-norm", 0);
setprop("/controls/it2/hdg", 0);
setprop("/controls/it2/nav", 0);
setprop("/controls/it2/loc", 1);
setprop("/controls/it2/loc1", 1);
setprop("/controls/it2/apilsmode", 0);
} else if (latset == 3) {
setprop("/controls/it2/hdg", 1);
setprop("/controls/it2/nav", 0);
setprop("/controls/it2/loc", 0);
setprop("/controls/it2/loc1", 0);
setprop("/controls/it2/app", 0);
setprop("/controls/it2/app1", 0);
setprop("/controls/it2/aplatmode", 0);
setprop("/controls/it2/aphldtrk", 0);
var hdgnow = int(getprop("/orientation/heading-magnetic-deg")+0.5);
setprop("/autopilot/settings/heading-bug-deg", hdgnow);
hdg_master();
}
});
# Master Vertical
setlistener("/controls/it2/apvertset", func {
var vertset = getprop("/controls/it2/apvertset");
if (vertset == 0) {
setprop("/controls/it2/alt", 1);
setprop("/controls/it2/vs", 0);
setprop("/controls/it2/app", 0);
setprop("/controls/it2/app1", 0);
setprop("/controls/it2/altc", 0);
setprop("/controls/it2/flch", 0);
setprop("/controls/it2/apvertmode", 0);
setprop("/controls/it2/aphldtrk2", 0);
setprop("/controls/it2/apilsmode", 0);
var altnow = int((getprop("/instrumentation/altimeter/indicated-altitude-ft")+50)/100)*100;
setprop("/autopilot/settings/target-altitude-ft", altnow);
flchthrust();
alt_master();
} else if (vertset == 1) {
setprop("/controls/it2/alt", 0);
setprop("/controls/it2/vs", 1);
setprop("/controls/it2/app", 0);
setprop("/controls/it2/app1", 0);
setprop("/controls/it2/altc", 0);
setprop("/controls/it2/flch", 0);
setprop("/controls/it2/apvertmode", 1);
setprop("/controls/it2/aphldtrk2", 0);
setprop("/controls/it2/apilsmode", 0);
flchthrust();
vs_master();
} else if (vertset == 2) {
setprop("/instrumentation/nav/signal-quality-norm", 0);
setprop("/controls/it2/hdg", 0);
setprop("/controls/it2/nav", 0);
setprop("/controls/it2/loc", 1);
setprop("/controls/it2/loc1", 1);
setprop("/instrumentation/nav/gs-rate-of-climb", 0);
setprop("/controls/it2/alt", 0);
setprop("/controls/it2/vs", 0);
setprop("/controls/it2/app", 1);
setprop("/controls/it2/app1", 1);
setprop("/controls/it2/altc", 0);
setprop("/controls/it2/flch", 0);
setprop("/controls/it2/apilsmode", 1);
} else if (vertset == 3) {
setprop("/controls/it2/alt", 0);
setprop("/controls/it2/vs", 0);
setprop("/controls/it2/altc", 1);
setprop("/controls/it2/flch", 0);
setprop("/controls/it2/apvertmode", 0);
setprop("/controls/it2/aphldtrk2", 0);
altcap_master();
} else if (vertset == 4) {
setprop("/controls/it2/alt", 0);
setprop("/controls/it2/vs", 0);
setprop("/controls/it2/app", 0);
setprop("/controls/it2/app1", 0);
setprop("/controls/it2/altc", 0);
setprop("/controls/it2/flch", 1);
setprop("/controls/it2/apvertmode", 4);
setprop("/controls/it2/aphldtrk2", 2);
setprop("/controls/it2/apilsmode", 0);
flchtimer.start();
flch_master();
}
});
# Capture Logic
setlistener("/controls/it2/apvertmode", func {
var vertm = getprop("/controls/it2/apvertmode");
if (vertm == 1) {
altcaptt.start();
} else if (vertm == 4) {
altcaptt.start();
} else {
altcaptt.stop();
}
});
var altcapt = func {
var calt = getprop("/instrumentation/altimeter/indicated-altitude-ft");
var alt = getprop("/autopilot/settings/target-altitude-ft");
var dif = calt - alt;
if (dif < 400 and dif > -400) {
setprop("/controls/it2/apvertset", 3);
setprop("/controls/it2/apthrmode2", 0);
}
}
# FLCH Thrust Mode Selector
var flchthrust = func {
var calt = getprop("/instrumentation/altimeter/indicated-altitude-ft");
var alt = getprop("/autopilot/settings/target-altitude-ft");
var vertm = getprop("/controls/it2/apvertmode");
if (vertm == 4) {
if (calt < alt) {
setprop("/controls/it2/apthrmode2", 2);
} else if (calt > alt) {
setprop("/controls/it2/apthrmode2", 1);
} else {
setprop("/controls/it2/apthrmode2", 0);
setprop("/controls/it2/apvertset", 3);
}
} else {
setprop("/controls/it2/apthrmode2", 0);
flchtimer.stop();
}
}
# Thrust Modes
setlistener("/controls/it2/apthrmode2", func {
var thrmode2 = getprop("/controls/it2/apthrmode2");
if (thrmode2 == 0) {
setprop("/controls/it2/thr", 1);
setprop("/controls/it2/idle", 0);
setprop("/controls/it2/clb", 0);
thr_master();
} else if (thrmode2 == 1) {
setprop("/controls/it2/thr", 0);
setprop("/controls/it2/idle", 1);
setprop("/controls/it2/clb", 0);
idle_master();
} else if (thrmode2 == 2) {
setprop("/controls/it2/thr", 0);
setprop("/controls/it2/idle", 0);
setprop("/controls/it2/clb", 1);
clb_master();
}
});
# Timers
var altcaptt = maketimer(0.5, altcapt);
var flchtimer = maketimer(0.5, flchthrust);

View file

@ -1,201 +0,0 @@
# IT AUTOFLIGHT Subsystem by Joshua Davidson (it0uchpods/411).
# V2.10
var ap_init = func {
ap_logic_init();
setprop("/controls/it2/aplatset", 0);
setprop("/controls/it2/apvertset", 0);
setprop("/controls/it2/apthrset", 0);
setprop("/autopilot/settings/target-speed-kt", 200);
setprop("/autopilot/settings/target-mach", 0.68);
setprop("/autopilot/settings/idlethr", 0);
setprop("/autopilot/settings/clbthr", 900);
setprop("/autopilot/settings/heading-bug-deg", 360);
setprop("/autopilot/settings/target-altitude-ft", 10000);
setprop("/autopilot/settings/vertical-speed-fpm", 0);
update_arms();
ap_refresh();
at_refresh();
print("AUTOFLIGHT ... FINE!");
}
var update_arms = func {
update_locarmelec();
update_apparmelec();
settimer(update_arms, 0.5);
}
var update_locarmelec = func {
var ap = getprop("/controls/it2/ap_master");
var loc1 = getprop("/controls/it2/loc1");
if (loc1 & ap) {
locarmcheck();
} else {
return 0;
}
}
var update_apparmelec = func {
var ap = getprop("/controls/it2/ap_master");
var app1 = getprop("/controls/it2/app1");
if (app1 & ap) {
apparmcheck();
} else {
return 0;
}
}
var hdg_master = func {
var ap = getprop("/controls/it2/ap_master");
var hdg = getprop("/controls/it2/hdg");
if (hdg & ap) {
setprop("/autopilot/locks/heading", "dg-heading-hold");
setprop("/controls/it2/loc1", 0);
} else {
return 0;
}
}
var nav_master = func {
var ap = getprop("/controls/it2/ap_master");
var nav = getprop("/controls/it2/nav");
if (nav & ap) {
setprop("/autopilot/locks/heading", "true-heading-hold");
setprop("/controls/it2/loc1", 0);
} else {
return 0;
}
}
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("/autopilot/locks/heading", "nav1-hold");
setprop("/controls/it2/loc1", 0);
setprop("/controls/it2/aplatmode", 2);
setprop("/controls/it2/aphldtrk", 1);
} else {
return 0;
}
}
var alt_master = func {
var ap = getprop("/controls/it2/ap_master");
var alt = getprop("/controls/it2/alt");
if (alt & ap) {
setprop("/autopilot/locks/altitude", "altitude-hold");
setprop("/controls/it2/app1", 0);
} else {
return 0;
}
}
var vs_master = func {
var ap = getprop("/controls/it2/ap_master");
var vs = getprop("/controls/it2/vs");
if (vs & ap) {
setprop("/autopilot/locks/altitude", "vertical-speed-hold");
setprop("/controls/it2/app1", 0);
} else {
return 0;
}
}
var apparmcheck = func {
var signal = getprop("/instrumentation/nav/gs-needle-deflection-norm");
if (signal <= -0.000000001) {
setprop("/autopilot/locks/altitude", "gs1-hold");
setprop("/controls/it2/app1", 0);
setprop("/controls/it2/apvertmode", 2);
setprop("/controls/it2/aphldtrk2", 1);
} else {
return 0;
}
}
var altcap_master = func {
var ap = getprop("/controls/it2/ap_master");
var altc = getprop("/controls/it2/altc");
if (altc & ap) {
setprop("/autopilot/locks/altitude", "altitude-hold");
} else {
return 0;
}
}
var flch_master = func {
var ap = getprop("/controls/it2/ap_master");
var flch = getprop("/controls/it2/flch");
if (flch & ap) {
setprop("/autopilot/locks/altitude", "flch");
} else {
return 0;
}
}
var thr_master = func {
var at = getprop("/controls/it2/at_master");
var thr = getprop("/controls/it2/thr");
if (thr & at) {
setprop("/autopilot/locks/speed", "thr");
} else {
return 0;
}
}
var idle_master = func {
var at = getprop("/controls/it2/at_master");
var idle = getprop("/controls/it2/idle");
if (idle & at) {
setprop("/autopilot/locks/speed", "idle");
} else {
return 0;
}
}
var clb_master = func {
var at = getprop("/controls/it2/at_master");
var clb = getprop("/controls/it2/clb");
if (clb & at) {
setprop("/autopilot/locks/speed", "clb");
} else {
return 0;
}
}
var ap_refresh = func {
hdg_master();
nav_master();
alt_master();
vs_master();
altcap_master();
flch_master();
}
var at_refresh = func {
thr_master();
idle_master();
clb_master();
}
var ap_off = func {
setprop("/controls/it2/ap_master", 0);
setprop("/autopilot/locks/heading", 0);
setprop("/autopilot/locks/altitude", 0);
setprop("/controls/it2/apoffsound", 1);
hdg_master();
nav_master();
alt_master();
vs_master();
altcap_master();
flch_master();
}
var at_off = func {
setprop("/controls/it2/at_master", 0);
setprop("/autopilot/locks/speed", 0);
thr_master();
idle_master();
clb_master();
}

View file

@ -206,6 +206,7 @@ var startup = func
{
setprop("controls/APU/master-switch", 0);
setprop("controls/APU/starter", 0);
setprop("controls/engines/engine-start-switch", 1);
setprop("controls/electric/battery-switch", 0);
}, 2);
removelistener(listener2);

View file

@ -52,13 +52,6 @@ setlistener("sim/signals/reinit", func(reinit)
}
}, 0, 0);
setlistener("sim/model/livery/texture", func
{
var base = getprop("sim/model/livery/texture");
setprop("sim/model/livery/texture-path[0]", "../Models/" ~ base);
setprop("sim/model/livery/texture-path[1]", "../../Models/" ~ base);
}, 1, 1);
## LIGHTS
#########
@ -190,6 +183,9 @@ setlistener("/sim/signals/fdm-initialized", func {
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("/controls/engines/thrust-limit", "TOGA");
setprop("/controls/engines/epr-limit", 1.379);
setprop("/controls/engines/n1-limit", 97.8);
});
var aglgears = func {

View file

@ -1,687 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Airbus A320 Autopilot Configuration -->
<PropertyList>
<!-- PREDICTION FILTERS -->
<predict-simple>
<input>/autopilot/internal/nav1-track-error-deg</input>
<output>/autopilot/internal/nav1-track-error-lookahead-deg</output>
<seconds>8</seconds>
<filter-gain>0</filter-gain>
</predict-simple>
<!-- AUTOTHROTTLE -->
<!-- IAS hold -->
<logic>
<name>IAS hold logic</name>
<input>
<and>
<property>/autopilot/settings/autothrottle</property>
<equals>
<property>/autopilot/settings/speed-mode</property>
<value>0</value>
</equals>
<not>
<property>/autopilot/settings/speed</property>
</not>
</and>
</input>
<output>/autopilot/internal/speed-hold-kt</output>
</logic>
<pid-controller>
<name>IAS hold</name>
<debug type="bool">false</debug>
<enable>
<prop>/autopilot/internal/speed-hold-kt</prop>
<value type="bool">true</value>
</enable>
<input>
<prop>/autopilot/internal/lookahead-5-sec-airspeed-kt</prop>
</input>
<reference>
<prop>/autopilot/settings/target-speed-kt</prop>
</reference>
<output>
<prop>/controls/engines/engine[0]/throttle</prop>
<prop>/controls/engines/engine[1]/throttle</prop>
</output>
<config>
<Kp>0.05</Kp>
<beta>1</beta>
<alpha>0.1</alpha>
<gamma>0</gamma>
<Ti>10</Ti>
<Td>0.00001</Td>
<u_min>0</u_min>
<u_max>1</u_max>
</config>
</pid-controller>
<!-- Mach hold -->
<logic>
<name>Mach hold logic</name>
<input>
<and>
<property>/autopilot/settings/autothrottle</property>
<equals>
<property>/autopilot/settings/speed-mode</property>
<value>1</value>
</equals>
<not>
<property>/autopilot/settings/speed</property>
</not>
</and>
</input>
<output>/autopilot/internal/speed-hold-mach</output>
</logic>
<pid-controller>
<name>Mach hold</name>
<debug type="bool">false</debug>
<enable>
<prop>/autopilot/internal/speed-hold-mach</prop>
<value type="bool">true</value>
</enable>
<input>
<prop>/velocities/mach</prop>
</input>
<reference>
<prop>/autopilot/settings/target-speed-mach</prop>
</reference>
<output>
<prop>/controls/engines/engine[0]/throttle</prop>
<prop>/controls/engines/engine[1]/throttle</prop>
</output>
<config>
<Kp>20</Kp>
<beta>1</beta>
<alpha>0.1</alpha>
<gamma>0</gamma>
<Ti>10</Ti>
<Td>0.00001</Td>
<u_min>0</u_min>
<u_max>1</u_max>
</config>
</pid-controller>
<!-- AUTOPILOT -->
<!-- Heading hold -->
<!-- Magnetic heading -->
<logic>
<name>Magnetic heading hold stage 1 logic</name>
<input>
<and>
<equals>
<property>/autopilot/settings/heading</property>
<value>dg-heading-hold</value>
</equals>
<equals>
<property>/autopilot/settings/heading-mode</property>
<value>0</value>
</equals>
</and>
</input>
<output>/autopilot/internal/heading-hold-deg-stage1</output>
</logic>
<logic>
<name>Magnetic heading hold stage 2 logic</name>
<input>
<and>
<property>/autopilot/settings/engaged</property>
<equals>
<property>/autopilot/settings/heading</property>
<value>dg-heading-hold</value>
</equals>
<equals>
<property>/autopilot/settings/heading-mode</property>
<value>0</value>
</equals>
</and>
</input>
<output>/autopilot/internal/heading-hold-deg</output>
</logic>
<pid-controller>
<name>Magnetic heading hold stage 1</name>
<debug type="bool">false</debug>
<enable>
<prop>/autopilot/internal/heading-hold-deg-stage1</prop>
<value type="bool">true</value>
</enable>
<input>
<prop>/autopilot/internal/fdm-heading-bug-error-deg</prop>
</input>
<reference>
<value>0</value>
</reference>
<output>
<prop>/autopilot/internal/target-roll-deg</prop>
</output>
<config>
<Kp>-2</Kp>
<beta>1</beta>
<alpha>0.1</alpha>
<gamma>0</gamma>
<Ti>6</Ti>
<Td>0.00001</Td>
<u_min>-25</u_min>
<u_max>25</u_max>
</config>
</pid-controller>
<pid-controller>
<name>Magnetic heading hold stage 2</name>
<debug type="bool">false</debug>
<enable>
<prop>/autopilot/internal/heading-hold-deg</prop>
<value type="bool">true</value>
</enable>
<input>
<prop>/orientation/roll-deg</prop>
</input>
<reference>
<prop>/autopilot/internal/target-roll-deg</prop>
</reference>
<output>
<prop>/controls/flight/aileron</prop>
</output>
<config>
<Kp>0.01</Kp>
<beta>1</beta>
<alpha>0.1</alpha>
<gamma>0</gamma>
<Ti>6</Ti>
<Td>0.00001</Td>
<u_min>-1</u_min>
<u_max>1</u_max>
</config>
</pid-controller>
<!-- Ground track hold -->
<logic>
<name>Ground track heading hold stage 1 logic</name>
<input>
<and>
<equals>
<property>/autopilot/settings/heading</property>
<value>dg-heading-hold</value>
</equals>
<equals>
<property>/autopilot/settings/heading-mode</property>
<value>1</value>
</equals>
</and>
</input>
<output>/autopilot/internal/heading-hold-deg-stage1</output>
</logic>
<logic>
<name>Ground track heading hold stage 2 logic</name>
<input>
<and>
<property>/autopilot/settings/engaged</property>
<equals>
<property>/autopilot/settings/heading</property>
<value>dg-heading-hold</value>
</equals>
<equals>
<property>/autopilot/settings/heading-mode</property>
<value>1</value>
</equals>
</and>
</input>
<output>/autopilot/internal/heading-hold-deg</output>
</logic>
<filter>
<name>Ground track error computer/normalizer</name>
<debug type="bool">false</debug>
<type>gain</type>
<gain>1.0</gain>
<input>
<property>/autopilot/settings/heading-bug-deg</property>
<offset>
<property>/orientation/track-magnetic-deg</property>
<scale>-1</scale>
</offset>
</input>
<output>/autopilot/internal/fdm-track-bug-error-deg</output>
<period>
<min>-180</min>
<max>180</max>
</period>
</filter>
<pid-controller>
<name>Ground track hold stage 1</name>
<debug type="bool">false</debug>
<enable>
<prop>/autopilot/internal/heading-hold-track-stage1</prop>
<value type="bool">true</value>
</enable>
<input>
<prop>/autopilot/internal/fdm-track-bug-error-deg</prop>
</input>
<reference>
<value>0</value>
</reference>
<output>
<prop>/autopilot/internal/target-roll-deg</prop>
</output>
<config>
<Kp>-1.5</Kp>
<beta>1</beta>
<alpha>0.1</alpha>
<gamma>0</gamma>
<Ti>15</Ti>
<Td>0.000000001</Td>
<u_min>-25</u_min>
<u_max>25</u_max>
</config>
</pid-controller>
<pid-controller>
<name>Ground track hold stage 2</name>
<debug type="bool">false</debug>
<enable>
<prop>/autopilot/internal/heading-hold-track</prop>
<value type="bool">true</value>
</enable>
<input>
<prop>/orientation/roll-deg</prop>
</input>
<reference>
<prop>/autopilot/internal/target-roll-deg</prop>
</reference>
<output>
<prop>/controls/flight/aileron</prop>
</output>
<config>
<Kp>0.01</Kp>
<beta>1</beta>
<alpha>0.1</alpha>
<gamma>0</gamma>
<Ti>10</Ti>
<Td>0.000000001</Td>
<u_min>-1</u_min>
<u_max>1</u_max>
</config>
</pid-controller>
<!-- NAV hold -->
<logic>
<name>NAV hold logic</name>
<input>
<and>
<property>/autopilot/settings/engaged</property>
<equals>
<property>/autopilot/settings/heading</property>
<value>nav1-hold</value>
</equals>
</and>
</input>
<output>/autopilot/internal/heading-hold-nav</output>
</logic>
<pid-controller>
<name>NAV hold stage 1</name>
<debug type="bool">false</debug>
<enable>
<prop>/autopilot/settings/heading</prop>
<value>nav1-hold</value>
</enable>
<input>
<prop>/autopilot/internal/nav1-track-error-deg</prop>
</input>
<reference>
<value>0</value>
</reference>
<output>
<prop>/autopilot/internal/target-roll-deg</prop>
</output>
<config>
<Kp>-1.5</Kp>
<beta>1</beta>
<alpha>0.1</alpha>
<gamma>0</gamma>
<Ti>15</Ti>
<Td>0.000000001</Td>
<u_min>-25</u_min>
<u_max>25</u_max>
</config>
</pid-controller>
<pid-controller>
<name>NAV hold stage 2</name>
<debug type="bool">false</debug>
<enable>
<prop>/autopilot/internal/heading-hold-nav</prop>
<value type="bool">true</value>
</enable>
<input>
<prop>/orientation/roll-deg</prop>
</input>
<reference>
<prop>/autopilot/internal/target-roll-deg</prop>
</reference>
<output>
<prop>/controls/flight/aileron</prop>
</output>
<config>
<Kp>0.01</Kp>
<beta>1</beta>
<alpha>0.1</alpha>
<gamma>0</gamma>
<Ti>10</Ti>
<Td>0.000000001</Td>
<u_min>-1</u_min>
<u_max>1</u_max>
</config>
</pid-controller>
<!-- True heading [LNAV] -->
<logic>
<name>True heading hold logic</name>
<input>
<and>
<property>/autopilot/settings/engaged</property>
<equals>
<property>/autopilot/settings/heading</property>
<value>true-heading-hold</value>
</equals>
</and>
</input>
<output>/autopilot/internal/heading-hold-true</output>
</logic>
<pid-controller>
<name>True heading hold stage 1</name>
<debug type="bool">false</debug>
<enable>
<prop>/autopilot/settings/heading</prop>
<value>true-heading-hold</value>
</enable>
<input>
<prop>/autopilot/internal/true-heading-error-deg</prop>
</input>
<reference>
<value>0</value>
</reference>
<output>
<prop>/autopilot/internal/target-roll-deg</prop>
</output>
<config>
<Kp>-5</Kp>
<beta>1</beta>
<alpha>0.1</alpha>
<gamma>0</gamma>
<Ti>10</Ti>
<Td>0.00001</Td>
<u_min>-25</u_min>
<u_max>25</u_max>
</config>
</pid-controller>
<pid-controller>
<name>True heading hold stage 2</name>
<debug type="bool">false</debug>
<enable>
<prop>/autopilot/internal/heading-hold-true</prop>
<value type="bool">true</value>
</enable>
<input>
<prop>/orientation/roll-deg</prop>
</input>
<reference>
<prop>/autopilot/internal/target-roll-deg</prop>
</reference>
<output>
<prop>/controls/flight/aileron</prop>
</output>
<config>
<Kp>0.01</Kp>
<beta>1</beta>
<alpha>0.1</alpha>
<gamma>0</gamma>
<Ti>10</Ti>
<Td>0.00001</Td>
<u_min>-1</u_min>
<u_max>1</u_max>
</config>
</pid-controller>
<!-- PITCH -->
<!-- Glideslope hold -->
<logic>
<name>Glideslope hold logic</name>
<input>
<and>
<property>/autopilot/settings/engaged</property>
<equals>
<property>/autopilot/settings/altitude</property>
<value>gs1-hold</value>
</equals>
</and>
</input>
<output>/autopilot/internal/glideslope-hold</output>
</logic>
<pid-controller>
<name>Glideslope hold</name>
<debug type="bool">false</debug>
<enable>
<prop>/autopilot/internal/glideslope-hold</prop>
<value type="bool">true</value>
</enable>
<input>
<prop>/velocities/vertical-speed-fps</prop>
</input>
<reference>
<prop>/instrumentation/nav[0]/gs-rate-of-climb</prop>
</reference>
<output>
<prop>/controls/flight/elevator-trim</prop>
</output>
<config>
<Kp>-0.0075</Kp>
<beta>1</beta>
<alpha>0.1</alpha>
<gamma>0</gamma>
<Ti>10</Ti>
<Td>0.00001</Td>
<u_min>-1</u_min>
<u_max>1</u_max>
</config>
</pid-controller>
<!-- Altitude hold -->
<logic>
<name>Altitude hold</name>
<input>
<and>
<property>/autopilot/settings/engaged</property>
<equals>
<property>/autopilot/settings/altitude</property>
<value>altitude-hold</value>
</equals>
</and>
</input>
<output>/autopilot/internal/altitude-hold</output>
</logic>
<logic>
<name>Altitude hold climb</name>
<input>
<greater-than-equals>
<property>/autopilot/settings/vertical-speed-fpm</property>
<value>0</value>
</greater-than-equals>
</input>
<output>/autopilot/internal/altitude-hold-climb</output>
</logic>
<logic>
<name>Altitude hold descend</name>
<input>
<less-than>
<property>/autopilot/settings/vertical-speed-fpm</property>
<value>0</value>
</less-than>
</input>
<output>/autopilot/internal/altitude-hold-descend</output>
</logic>
<pi-simple-controller>
<name>Altitude hold climb stage 1</name>
<debug type="bool">false</debug>
<enable>
<prop>/autopilot/internal/altitude-hold-climb</prop>
<value type="bool">true</value>
</enable>
<input>
<prop>/instrumentation/altimeter/indicated-altitude-ft</prop>
</input>
<reference>
<prop>/autopilot/settings/target-altitude-ft</prop>
</reference>
<output>
<prop>/autopilot/internal/target-climb-rate-fps</prop>
</output>
<config>
<Kp>0.3</Kp>
<Ki>0</Ki>
<u_min>-1.667</u_min>
<u_max>
<prop>/autopilot/settings/vertical-speed-fpm</prop>
<scale>0.01667</scale>
</u_max>
</config>
</pi-simple-controller>
<pi-simple-controller>
<name>Altitude hold descend stage 1</name>
<debug type="bool">false</debug>
<enable>
<prop>/autopilot/internal/altitude-hold-descend</prop>
<value type="bool">true</value>
</enable>
<input>
<prop>/instrumentation/altimeter/indicated-altitude-ft</prop>
</input>
<reference>
<prop>/autopilot/settings/target-altitude-ft</prop>
</reference>
<output>
<prop>/autopilot/internal/target-climb-rate-fps</prop>
</output>
<config>
<Kp>0.3</Kp>
<Ki>0</Ki>
<u_min>
<prop>/autopilot/settings/vertical-speed-fpm</prop>
<scale>0.01667</scale>
</u_min>
<u_max>1.667</u_max>
</config>
</pi-simple-controller>
<pid-controller>
<name>Altitude hold stage 2</name>
<debug type="bool">false</debug>
<enable>
<prop>/autopilot/internal/altitude-hold</prop>
<value type="bool">true</value>
</enable>
<input>
<prop>/velocities/vertical-speed-fps</prop>
</input>
<reference>
<prop>/autopilot/internal/target-climb-rate-fps</prop>
</reference>
<output>
<prop>/controls/flight/elevator-trim</prop>
</output>
<config>
<Kp>-0.001</Kp>
<beta>1</beta>
<alpha>0.1</alpha>
<gamma>0</gamma>
<Ti>5</Ti>
<Td>0.00001</Td>
<u_min>-1</u_min>
<u_max>1</u_max>
</config>
</pid-controller>
<!-- Flight director controllers -->
<pid-controller>
<name>Glideslope hold flight director</name>
<debug type="bool">false</debug>
<enable>
<prop>/autopilot/settings/altitude</prop>
<value>gs1-hold</value>
</enable>
<input>
<prop>/velocities/vertical-speed-fps</prop>
</input>
<reference>
<prop>/instrumentation/nav[0]/gs-rate-of-climb</prop>
</reference>
<output>
<prop>/autopilot/internal/target-pitch-deg</prop>
</output>
<config>
<Kp>0.1875</Kp>
<beta>1</beta>
<alpha>0.1</alpha>
<gamma>0</gamma>
<Ti>10</Ti>
<Td>0.00001</Td>
<u_min>-25</u_min>
<u_max>25</u_max>
</config>
</pid-controller>
<pid-controller>
<name>Altitude hold stage 2 flight director</name>
<debug type="bool">false</debug>
<enable>
<prop>/autopilot/settings/altitude</prop>
<value>altitude-hold</value>
</enable>
<input>
<prop>/velocities/vertical-speed-fps</prop>
</input>
<reference>
<prop>/autopilot/internal/target-climb-rate-fps</prop>
</reference>
<output>
<prop>/autopilot/internal/target-pitch-deg</prop>
</output>
<config>
<Kp>0.25</Kp>
<beta>1</beta>
<alpha>0.1</alpha>
<gamma>0</gamma>
<Ti>10</Ti>
<Td>0.00001</Td>
<u_min>-25</u_min>
<u_max>25</u_max>
</config>
</pid-controller>
<filter>
<name>Flight director pitch computer</name>
<debug type="bool">false</debug>
<type>gain</type>
<gain>1.0</gain>
<input>
<expression>
<dif>
<property>/autopilot/internal/target-pitch-deg</property>
<property>/orientation/pitch-deg</property>
</dif>
</expression>
</input>
<output>/autopilot/internal/flight-director-pitch-deg</output>
</filter>
<filter>
<name>Flight director roll computer</name>
<debug type="bool">false</debug>
<type>gain</type>
<gain>1.0</gain>
<input>
<expression>
<dif>
<property>/autopilot/internal/target-roll-deg</property>
<property>/orientation/roll-deg</property>
</dif>
</expression>
</input>
<output>/autopilot/internal/flight-director-roll-deg</output>
</filter>
</PropertyList>

View file

@ -16,19 +16,11 @@
<value>1</value>
</equals>
<less-than>
<property>/surface-positions/reverser-norm</property>
<property>/engines/engine[0]/reverser-pos-norm</property>
<value>0.01</value>
</less-than>
<less-than>
<property>/surface-positions/reverser-norm[1]</property>
<value>0.01</value>
</less-than>
<less-than>
<property>/surface-positions/reverser-norm[2]</property>
<value>0.01</value>
</less-than>
<less-than>
<property>/surface-positions/reverser-norm[3]</property>
<property>/engines/engine[1]/reverser-pos-norm</property>
<value>0.01</value>
</less-than>
</and>
@ -44,14 +36,6 @@
<property>/controls/engines/engine[1]/throttle</property>
<value>0.15</value>
</less-than>
<less-than>
<property>/controls/engines/engine[2]/throttle</property>
<value>0.15</value>
</less-than>
<less-than>
<property>/controls/engines/engine[3]/throttle</property>
<value>0.15</value>
</less-than>
<property>/gear/gear[1]/wow</property>
<property>/gear/gear[2]/wow</property>
<greater-than>
@ -69,18 +53,10 @@
<greater-than>
<property>/controls/engines/engine[1]/throttle</property>
<value>0.16</value>
</greater-than>
<greater-than>
<property>/controls/engines/engine[2]/throttle</property>
<value>0.16</value>
</greater-than>
<greater-than>
<property>/controls/engines/engine[3]/throttle</property>
<value>0.16</value>
</greater-than>
</or>
</R>
<output>/controls/flight/ground-spoilers</output>
<output>/controls/flight/speedbrake-lever</output>
</flipflop>
<filter>

View file

@ -11,10 +11,10 @@
<expression>
<table>
<property>/engines/engine[0]/n1</property>
<entry><ind> 18</ind><dep>1.00</dep></entry>
<entry><ind> 23</ind><dep>1.01</dep></entry>
<entry><ind> 35</ind><dep>1.06</dep></entry>
<entry><ind>105.0</ind><dep>1.38</dep></entry>
<entry><ind> 18</ind><dep>0.988</dep></entry>
<entry><ind> 23</ind><dep>1.000</dep></entry>
<entry><ind> 35</ind><dep>1.060</dep></entry>
<entry><ind>105.0</ind><dep>1.380</dep></entry>
</table>
</expression>
</input>
@ -30,10 +30,10 @@
<expression>
<table>
<property>/engines/engine[1]/n1</property>
<entry><ind> 18</ind><dep>1.00</dep></entry>
<entry><ind> 23</ind><dep>1.01</dep></entry>
<entry><ind> 35</ind><dep>1.06</dep></entry>
<entry><ind>105.0</ind><dep>1.38</dep></entry>
<entry><ind> 18</ind><dep>0.988</dep></entry>
<entry><ind> 23</ind><dep>1.000</dep></entry>
<entry><ind> 35</ind><dep>1.060</dep></entry>
<entry><ind>105.0</ind><dep>1.380</dep></entry>
</table>
</expression>
</input>
@ -77,5 +77,41 @@
</input>
<output>/engines/engine[1]/egt-actual</output>
</filter>
<filter>
<name>FF 1</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<table>
<property>/engines/engine[0]/fuel-flow_pph</property>
<entry><ind> 0</ind><dep> 0</dep></entry>
<entry><ind>2000</ind><dep> 865</dep></entry>
<entry><ind>8000</ind><dep>2450</dep></entry>
</table>
</expression>
</input>
<output>/engines/engine[0]/fuel-flow_actual</output>
</filter>
<filter>
<name>FF 2</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<table>
<property>/engines/engine[1]/fuel-flow_pph</property>
<entry><ind> 0</ind><dep> 0</dep></entry>
<entry><ind>2000</ind><dep> 865</dep></entry>
<entry><ind>8000</ind><dep>2450</dep></entry>
</table>
</expression>
</input>
<output>/engines/engine[1]/fuel-flow_actual</output>
</filter>
</PropertyList>