This commit is contained in:
commit
8c30422c4b
19 changed files with 1016 additions and 367 deletions
|
@ -55,11 +55,9 @@
|
|||
</flaps>
|
||||
|
||||
<systems n="0">
|
||||
<!-- Disable the generic electrical system and use the Nasal system -->
|
||||
<electrical>
|
||||
<path></path>
|
||||
</electrical>
|
||||
<!-- Custom FBW/Flight Controls System -->
|
||||
<autopilot n="1">
|
||||
<path>Aircraft/A320Family/Systems/hydraulics.xml</path>
|
||||
</autopilot>
|
||||
|
@ -67,16 +65,18 @@
|
|||
<path>Aircraft/A320Family/Systems/it-fbw-b.xml</path>
|
||||
</autopilot>
|
||||
<autopilot n="3">
|
||||
<path>Aircraft/A320Family/Systems/fmgc-autofight.xml</path>
|
||||
<path>Aircraft/A320Family/Systems/fmgc-b.xml</path>
|
||||
</autopilot>
|
||||
<autopilot n="4">
|
||||
<path>Aircraft/A320Family/Systems/custom-autothrust.xml</path>
|
||||
</autopilot>
|
||||
<autopilot n="5">
|
||||
<name>Custom engine values system</name>
|
||||
<path>Aircraft/A320Family/Systems/engine-timing.xml</path>
|
||||
</autopilot>
|
||||
<autopilot n="8">
|
||||
<autopilot n="6">
|
||||
<path>Aircraft/A320Family/Systems/fmgc-c.xml</path>
|
||||
</autopilot>
|
||||
<autopilot n="7">
|
||||
<path>Systems/fl2070_sound.xml</path>
|
||||
</autopilot>
|
||||
<property-rule n="100">
|
||||
|
@ -310,15 +310,6 @@
|
|||
<kp-rudder>-0.25</kp-rudder>
|
||||
</autoland>
|
||||
</config>
|
||||
<settings>
|
||||
<land-enable>1</land-enable> <!-- Enable/Disable Autoland -->
|
||||
<land-flap>0.645</land-flap> <!-- Minimum Flap used for Landing -->
|
||||
<retard-ft>40</retard-ft> <!-- Enable Thrust Retard -->
|
||||
<retard-enable>0</retard-enable> <!-- AGL to Thrust Retard -->
|
||||
<togaspd>157</togaspd> <!-- V2 + 10kts -->
|
||||
<lat-agl-ft>20</lat-agl-ft> <!-- Set to 999999 if you do not want T/O to change automatically to HDG, or LNAV -->
|
||||
<reduc-agl-ft>3000</reduc-agl-ft> <!-- Set to 999999 if you do not want TOGA to change automatically to FLCH -->
|
||||
</settings>
|
||||
<output>
|
||||
<ap1>0</ap1>
|
||||
<ap2>0</ap2>
|
||||
|
|
|
@ -395,12 +395,12 @@
|
|||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/flight-management/control/spd-ctrl</property>
|
||||
<value>man-set</value>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/flight-management/control/spd-mode</property>
|
||||
<value>ias</value>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
|
@ -412,29 +412,12 @@
|
|||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/flight-management/control/spd-ctrl</property>
|
||||
<value>man-set</value>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/flight-management/control/spd-mode</property>
|
||||
<value>mach</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>spd.ind</object-name>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/flight-management/control/spd-ctrl</property>
|
||||
<value>man-set</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/flight-management/control/spd-mode</property>
|
||||
<value>ias</value>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
|
@ -444,10 +427,10 @@
|
|||
<type>select</type>
|
||||
<object-name>spd.fmgc</object-name>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/flight-management/control/spd-ctrl</property>
|
||||
<value>fmgc</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
|
@ -456,8 +439,8 @@
|
|||
<object-name>spd.dash</object-name>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/it-autoflight/unused</property>
|
||||
<value>999</value>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</condition>
|
||||
</animation>
|
||||
|
@ -534,6 +517,20 @@
|
|||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>spd-sel</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
libraries.mcpSPDKnbPush();
|
||||
</script>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>setprop("/sim/sounde/btn1", 1);</script>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<repeatable>true</repeatable>
|
||||
|
@ -553,10 +550,16 @@
|
|||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
<command>property-adjust</command>
|
||||
<property>/it-autoflight/input/spd-kts</property>
|
||||
|
@ -566,14 +569,20 @@
|
|||
</binding>
|
||||
<binding>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
<command>property-adjust</command>
|
||||
<property>/it-autoflight/input/spd-mach</property>
|
||||
<step>0.01</step>
|
||||
<step>0.001</step>
|
||||
<min>0.50</min>
|
||||
<max>0.95</max>
|
||||
</binding>
|
||||
|
@ -583,10 +592,16 @@
|
|||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
<command>property-adjust</command>
|
||||
<property>/it-autoflight/input/spd-kts</property>
|
||||
|
@ -596,14 +611,20 @@
|
|||
</binding>
|
||||
<binding>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
<command>property-adjust</command>
|
||||
<property>/it-autoflight/input/spd-mach</property>
|
||||
<step>-0.01</step>
|
||||
<step>-0.001</step>
|
||||
<min>0.50</min>
|
||||
<max>0.95</max>
|
||||
</binding>
|
||||
|
@ -1130,10 +1151,16 @@
|
|||
<type>select</type>
|
||||
<object-name>spd-text</object-name>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
|
@ -1141,10 +1168,16 @@
|
|||
<type>select</type>
|
||||
<object-name>mach-text</object-name>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 205 KiB After Width: | Height: | Size: 26 KiB |
|
@ -1016,6 +1016,54 @@
|
|||
</font-resolution>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<name>mng-spd</name>
|
||||
<offsets>
|
||||
<x-m>0.0010</x-m>
|
||||
<y-m>-0.042</y-m>
|
||||
<z-m>0.0462</z-m>
|
||||
</offsets>
|
||||
<alignment>right-center</alignment>
|
||||
<axis-alignment>yz-plane</axis-alignment>
|
||||
<type type="string">number-value</type>
|
||||
<format type="string">%3.0f</format>
|
||||
<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>
|
||||
<draw-alignment type="bool">false</draw-alignment>
|
||||
<draw-boundingbox type="bool">false</draw-boundingbox>
|
||||
<character-size>0.006</character-size>
|
||||
<font-resolution>
|
||||
<width type="int">32</width>
|
||||
<height type="int">32</height>
|
||||
</font-resolution>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<name>mng-spd-lower</name>
|
||||
<offsets>
|
||||
<x-m>0.0010</x-m>
|
||||
<y-m>-0.042</y-m>
|
||||
<z-m>-0.0462</z-m>
|
||||
</offsets>
|
||||
<alignment>right-center</alignment>
|
||||
<axis-alignment>yz-plane</axis-alignment>
|
||||
<type type="string">number-value</type>
|
||||
<format type="string">%5.0f</format>
|
||||
<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>
|
||||
<draw-alignment type="bool">false</draw-alignment>
|
||||
<draw-boundingbox type="bool">false</draw-boundingbox>
|
||||
<character-size>0.006</character-size>
|
||||
<font-resolution>
|
||||
<width type="int">32</width>
|
||||
<height type="int">32</height>
|
||||
</font-resolution>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<name>man-mach</name>
|
||||
<offsets>
|
||||
|
@ -1064,12 +1112,61 @@
|
|||
</font-resolution>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<name>mng-mach</name>
|
||||
<offsets>
|
||||
<x-m>0.0010</x-m>
|
||||
<y-m>-0.042</y-m>
|
||||
<z-m>0.0462</z-m>
|
||||
</offsets>
|
||||
<alignment>right-center</alignment>
|
||||
<axis-alignment>yz-plane</axis-alignment>
|
||||
<type type="string">number-value</type>
|
||||
<format type="string">%1.2f</format>
|
||||
<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>
|
||||
<draw-alignment type="bool">false</draw-alignment>
|
||||
<draw-boundingbox type="bool">false</draw-boundingbox>
|
||||
<character-size>0.006</character-size>
|
||||
<font-resolution>
|
||||
<width type="int">32</width>
|
||||
<height type="int">32</height>
|
||||
</font-resolution>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<name>mng-mach-lower</name>
|
||||
<offsets>
|
||||
<x-m>0.0010</x-m>
|
||||
<y-m>-0.042</y-m>
|
||||
<z-m>-0.0462</z-m>
|
||||
</offsets>
|
||||
<alignment>right-center</alignment>
|
||||
<axis-alignment>yz-plane</axis-alignment>
|
||||
<type type="string">number-value</type>
|
||||
<format type="string">%1.2f</format>
|
||||
<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>
|
||||
<draw-alignment type="bool">false</draw-alignment>
|
||||
<draw-boundingbox type="bool">false</draw-boundingbox>
|
||||
<character-size>0.006</character-size>
|
||||
<font-resolution>
|
||||
<width type="int">32</width>
|
||||
<height type="int">32</height>
|
||||
</font-resolution>
|
||||
</text>
|
||||
|
||||
<animation>
|
||||
<type>texmultiple</type>
|
||||
<object-name>trgt-spd-man</object-name>
|
||||
<object-name>trgt-spd-mng</object-name>
|
||||
<transform>
|
||||
<subtype>textranslate</subtype>
|
||||
<property>/it-autoflight/input/spd-kts</property>
|
||||
<property>/FMGC/internal/target-ias-pfd</property>
|
||||
<factor>0.002001953</factor>
|
||||
<axis>
|
||||
<y>-1</y>
|
||||
|
@ -1089,6 +1186,28 @@
|
|||
</transform>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>trgt-spd-man</object-name>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>trgt-spd-mng</object-name>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>man-spd</object-name>
|
||||
|
@ -1107,6 +1226,36 @@
|
|||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>mng-spd</object-name>
|
||||
<condition>
|
||||
<and>
|
||||
<greater-than-equals>
|
||||
<expression>
|
||||
<dif>
|
||||
<property>/it-autoflight/input/spd-kts</property>
|
||||
<property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
|
||||
</dif>
|
||||
</expression>
|
||||
<value>70</value>
|
||||
</greater-than-equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
|
@ -1129,6 +1278,36 @@
|
|||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>mng-spd-lower</object-name>
|
||||
<condition>
|
||||
<and>
|
||||
<less-than-equals>
|
||||
<expression>
|
||||
<dif>
|
||||
<property>/it-autoflight/input/spd-kts</property>
|
||||
<property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
|
||||
</dif>
|
||||
</expression>
|
||||
<value>-70</value>
|
||||
</less-than-equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
|
@ -1151,6 +1330,36 @@
|
|||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>mng-mach</object-name>
|
||||
<condition>
|
||||
<and>
|
||||
<greater-than-equals>
|
||||
<expression>
|
||||
<dif>
|
||||
<property>/it-autoflight/input/spd-kts</property>
|
||||
<property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
|
||||
</dif>
|
||||
</expression>
|
||||
<value>70</value>
|
||||
</greater-than-equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
|
@ -1173,6 +1382,36 @@
|
|||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>mng-mach-lower</object-name>
|
||||
<condition>
|
||||
<and>
|
||||
<less-than-equals>
|
||||
<expression>
|
||||
<dif>
|
||||
<property>/it-autoflight/input/spd-kts</property>
|
||||
<property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
|
||||
</dif>
|
||||
</expression>
|
||||
<value>-70</value>
|
||||
</less-than-equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
|
@ -2436,6 +2675,7 @@
|
|||
</animation>
|
||||
|
||||
<!-- Colors -->
|
||||
<!-- White -->
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>qnh-indicator</object-name>
|
||||
|
@ -2474,6 +2714,7 @@
|
|||
</emission>
|
||||
</animation>
|
||||
|
||||
<!-- Cyan -->
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>osgtext-cyan</object-name>
|
||||
|
@ -2505,6 +2746,7 @@
|
|||
</emission>
|
||||
</animation>
|
||||
|
||||
<!-- Green -->
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>osgtext-green</object-name>
|
||||
|
@ -2535,6 +2777,7 @@
|
|||
</emission>
|
||||
</animation>
|
||||
|
||||
<!-- Green 2 -->
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>radio-alt</object-name>
|
||||
|
@ -2560,6 +2803,7 @@
|
|||
</emission>
|
||||
</animation>
|
||||
|
||||
<!-- Cyan 2 -->
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>man-alt</object-name>
|
||||
|
@ -2590,6 +2834,7 @@
|
|||
</emission>
|
||||
</animation>
|
||||
|
||||
<!-- Unknown -->
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>decision-height</object-name>
|
||||
|
@ -2616,6 +2861,7 @@
|
|||
</emission>
|
||||
</animation>
|
||||
|
||||
<!-- Dark Yellow -->
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>radio-alt-land</object-name>
|
||||
|
@ -2641,6 +2887,7 @@
|
|||
</emission>
|
||||
</animation>
|
||||
|
||||
<!-- Amber -->
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>athr-afloor-fma</object-name>
|
||||
|
@ -2667,6 +2914,7 @@
|
|||
</emission>
|
||||
</animation>
|
||||
|
||||
<!-- Amber 2 -->
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>athr-box-b-fma</object-name>
|
||||
|
@ -2692,4 +2940,33 @@
|
|||
</emission>
|
||||
</animation>
|
||||
|
||||
<!-- Magenta -->
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>mng-spd</object-name>
|
||||
<object-name>mng-spd-lower</object-name>
|
||||
<object-name>mng-mach</object-name>
|
||||
<object-name>mng-mach-lower</object-name>
|
||||
<diffuse>
|
||||
<red>1</red>
|
||||
<green>0</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>1</red>
|
||||
<green>0</green>
|
||||
<blue>1</blue>
|
||||
</emission>
|
||||
</animation>
|
||||
|
||||
</PropertyList>
|
||||
|
|
|
@ -1016,6 +1016,54 @@
|
|||
</font-resolution>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<name>mng-spd</name>
|
||||
<offsets>
|
||||
<x-m>0.0010</x-m>
|
||||
<y-m>-0.042</y-m>
|
||||
<z-m>0.0462</z-m>
|
||||
</offsets>
|
||||
<alignment>right-center</alignment>
|
||||
<axis-alignment>yz-plane</axis-alignment>
|
||||
<type type="string">number-value</type>
|
||||
<format type="string">%3.0f</format>
|
||||
<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>
|
||||
<draw-alignment type="bool">false</draw-alignment>
|
||||
<draw-boundingbox type="bool">false</draw-boundingbox>
|
||||
<character-size>0.006</character-size>
|
||||
<font-resolution>
|
||||
<width type="int">32</width>
|
||||
<height type="int">32</height>
|
||||
</font-resolution>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<name>mng-spd-lower</name>
|
||||
<offsets>
|
||||
<x-m>0.0010</x-m>
|
||||
<y-m>-0.042</y-m>
|
||||
<z-m>-0.0462</z-m>
|
||||
</offsets>
|
||||
<alignment>right-center</alignment>
|
||||
<axis-alignment>yz-plane</axis-alignment>
|
||||
<type type="string">number-value</type>
|
||||
<format type="string">%5.0f</format>
|
||||
<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>
|
||||
<draw-alignment type="bool">false</draw-alignment>
|
||||
<draw-boundingbox type="bool">false</draw-boundingbox>
|
||||
<character-size>0.006</character-size>
|
||||
<font-resolution>
|
||||
<width type="int">32</width>
|
||||
<height type="int">32</height>
|
||||
</font-resolution>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<name>man-mach</name>
|
||||
<offsets>
|
||||
|
@ -1064,12 +1112,61 @@
|
|||
</font-resolution>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<name>mng-mach</name>
|
||||
<offsets>
|
||||
<x-m>0.0010</x-m>
|
||||
<y-m>-0.042</y-m>
|
||||
<z-m>0.0462</z-m>
|
||||
</offsets>
|
||||
<alignment>right-center</alignment>
|
||||
<axis-alignment>yz-plane</axis-alignment>
|
||||
<type type="string">number-value</type>
|
||||
<format type="string">%1.2f</format>
|
||||
<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>
|
||||
<draw-alignment type="bool">false</draw-alignment>
|
||||
<draw-boundingbox type="bool">false</draw-boundingbox>
|
||||
<character-size>0.006</character-size>
|
||||
<font-resolution>
|
||||
<width type="int">32</width>
|
||||
<height type="int">32</height>
|
||||
</font-resolution>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<name>mng-mach-lower</name>
|
||||
<offsets>
|
||||
<x-m>0.0010</x-m>
|
||||
<y-m>-0.042</y-m>
|
||||
<z-m>-0.0462</z-m>
|
||||
</offsets>
|
||||
<alignment>right-center</alignment>
|
||||
<axis-alignment>yz-plane</axis-alignment>
|
||||
<type type="string">number-value</type>
|
||||
<format type="string">%1.2f</format>
|
||||
<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>
|
||||
<draw-alignment type="bool">false</draw-alignment>
|
||||
<draw-boundingbox type="bool">false</draw-boundingbox>
|
||||
<character-size>0.006</character-size>
|
||||
<font-resolution>
|
||||
<width type="int">32</width>
|
||||
<height type="int">32</height>
|
||||
</font-resolution>
|
||||
</text>
|
||||
|
||||
<animation>
|
||||
<type>texmultiple</type>
|
||||
<object-name>trgt-spd-man</object-name>
|
||||
<object-name>trgt-spd-mng</object-name>
|
||||
<transform>
|
||||
<subtype>textranslate</subtype>
|
||||
<property>/it-autoflight/input/spd-kts</property>
|
||||
<property>/FMGC/internal/target-ias-pfd</property>
|
||||
<factor>0.002001953</factor>
|
||||
<axis>
|
||||
<y>-1</y>
|
||||
|
@ -1089,6 +1186,28 @@
|
|||
</transform>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>trgt-spd-man</object-name>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>trgt-spd-mng</object-name>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>man-spd</object-name>
|
||||
|
@ -1107,6 +1226,36 @@
|
|||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>mng-spd</object-name>
|
||||
<condition>
|
||||
<and>
|
||||
<greater-than-equals>
|
||||
<expression>
|
||||
<dif>
|
||||
<property>/it-autoflight/input/spd-kts</property>
|
||||
<property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
|
||||
</dif>
|
||||
</expression>
|
||||
<value>70</value>
|
||||
</greater-than-equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
|
@ -1129,6 +1278,36 @@
|
|||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>mng-spd-lower</object-name>
|
||||
<condition>
|
||||
<and>
|
||||
<less-than-equals>
|
||||
<expression>
|
||||
<dif>
|
||||
<property>/it-autoflight/input/spd-kts</property>
|
||||
<property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
|
||||
</dif>
|
||||
</expression>
|
||||
<value>-70</value>
|
||||
</less-than-equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
|
@ -1151,6 +1330,36 @@
|
|||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>mng-mach</object-name>
|
||||
<condition>
|
||||
<and>
|
||||
<greater-than-equals>
|
||||
<expression>
|
||||
<dif>
|
||||
<property>/it-autoflight/input/spd-kts</property>
|
||||
<property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
|
||||
</dif>
|
||||
</expression>
|
||||
<value>70</value>
|
||||
</greater-than-equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
|
@ -1173,6 +1382,36 @@
|
|||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>mng-mach-lower</object-name>
|
||||
<condition>
|
||||
<and>
|
||||
<less-than-equals>
|
||||
<expression>
|
||||
<dif>
|
||||
<property>/it-autoflight/input/spd-kts</property>
|
||||
<property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
|
||||
</dif>
|
||||
</expression>
|
||||
<value>-70</value>
|
||||
</less-than-equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
|
@ -2436,6 +2675,7 @@
|
|||
</animation>
|
||||
|
||||
<!-- Colors -->
|
||||
<!-- White -->
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>qnh-indicator</object-name>
|
||||
|
@ -2474,6 +2714,7 @@
|
|||
</emission>
|
||||
</animation>
|
||||
|
||||
<!-- Cyan -->
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>osgtext-cyan</object-name>
|
||||
|
@ -2505,6 +2746,7 @@
|
|||
</emission>
|
||||
</animation>
|
||||
|
||||
<!-- Green -->
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>osgtext-green</object-name>
|
||||
|
@ -2535,6 +2777,7 @@
|
|||
</emission>
|
||||
</animation>
|
||||
|
||||
<!-- Green 2 -->
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>radio-alt</object-name>
|
||||
|
@ -2560,6 +2803,7 @@
|
|||
</emission>
|
||||
</animation>
|
||||
|
||||
<!-- Cyan 2 -->
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>man-alt</object-name>
|
||||
|
@ -2590,6 +2834,7 @@
|
|||
</emission>
|
||||
</animation>
|
||||
|
||||
<!-- Unknown -->
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>decision-height</object-name>
|
||||
|
@ -2616,6 +2861,7 @@
|
|||
</emission>
|
||||
</animation>
|
||||
|
||||
<!-- Dark Yellow -->
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>radio-alt-land</object-name>
|
||||
|
@ -2641,6 +2887,7 @@
|
|||
</emission>
|
||||
</animation>
|
||||
|
||||
<!-- Amber -->
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>athr-afloor-fma</object-name>
|
||||
|
@ -2667,6 +2914,7 @@
|
|||
</emission>
|
||||
</animation>
|
||||
|
||||
<!-- Amber 2 -->
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>athr-box-b-fma</object-name>
|
||||
|
@ -2692,4 +2940,33 @@
|
|||
</emission>
|
||||
</animation>
|
||||
|
||||
<!-- Magenta -->
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>mng-spd</object-name>
|
||||
<object-name>mng-spd-lower</object-name>
|
||||
<object-name>mng-mach</object-name>
|
||||
<object-name>mng-mach-lower</object-name>
|
||||
<diffuse>
|
||||
<red>1</red>
|
||||
<green>0</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>1</red>
|
||||
<green>0</green>
|
||||
<blue>1</blue>
|
||||
</emission>
|
||||
</animation>
|
||||
|
||||
</PropertyList>
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
|
@ -1,7 +1,26 @@
|
|||
AC3Db
|
||||
MATERIAL "ac3dmat1" rgb 1 1 1 amb 0 0 0 emis 0.658824 0.670588 0.67451 spec 0 0 0 shi 128 trans 0
|
||||
OBJECT world
|
||||
kids 34
|
||||
kids 35
|
||||
OBJECT poly
|
||||
name "trgt-spd-mng"
|
||||
loc 0.00121828 0.000747255 0.0473924
|
||||
texture "trgt-spd-mng.png"
|
||||
crease 45.000000
|
||||
numvert 4
|
||||
0 -0.0424935 -0.00258292
|
||||
0 -0.0424935 0.00258288
|
||||
0 0.0424935 0.00258288
|
||||
0 0.0424935 -0.00258292
|
||||
numsurf 1
|
||||
SURF 0x30
|
||||
mat 0
|
||||
refs 4
|
||||
3 0.998074 0.321737
|
||||
2 0.800781 0.321737
|
||||
1 0.800781 0.0447528
|
||||
0 0.998074 0.0447528
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "ground"
|
||||
loc -0.000632844 0.000620101 0.00496066
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
198
Nasal/FMGC.nas
198
Nasal/FMGC.nas
|
@ -5,13 +5,25 @@
|
|||
# Init Functions #
|
||||
##################
|
||||
|
||||
setprop("/FMGC/internal/overspeed", 338);
|
||||
setprop("/position/gear-agl-ft", 0);
|
||||
setprop("/FMGC/internal/mng-spd", 157);
|
||||
setprop("/FMGC/internal/mng-spd-cmd", 157);
|
||||
setprop("/FMGC/internal/mng-kts-mach", 0);
|
||||
setprop("/FMGC/internal/mach-switchover", 0);
|
||||
setprop("/it-autoflight/settings/reduc-agl-ft", 3000);
|
||||
setprop("/it-autoflight/internal/vert-speed-fpm", 0);
|
||||
|
||||
var FMGCinit = func {
|
||||
setprop("/FMGC/status/to-state", 0);
|
||||
setprop("/FMGC/status/phase", "0"); # 0 is preflight 1 takeoff 2 climb 3 cruise 4 descent 5 approach 6 go around 7 done
|
||||
setprop("/FMGC/internal/tropo", 36090);
|
||||
setprop("/FMGC/internal/overspeed", 338);
|
||||
setprop("/FMGC/internal/mng-spd", 157);
|
||||
setprop("/FMGC/internal/mng-spd-cmd", 157);
|
||||
setprop("/FMGC/internal/mng-kts-mach", 0);
|
||||
setprop("/FMGC/internal/mach-switchover", 0);
|
||||
setprop("/it-autoflight/settings/reduc-agl-ft", 3000);
|
||||
phasecheck.start();
|
||||
various.start();
|
||||
}
|
||||
|
@ -71,7 +83,9 @@ var phasecheck = maketimer(0.2, func {
|
|||
var mode = getprop("/modes/pfd/fma/pitch-mode");
|
||||
var gs = getprop("/velocities/groundspeed-kt");
|
||||
var alt = getprop("/instrumentation/altimeter/indicated-altitude-ft");
|
||||
var cruisefl = getprop("/FMGC/internal/cruise-ft");
|
||||
var aglalt = getprop("/position/gear-agl-ft");
|
||||
var cruiseft = getprop("/FMGC/internal/cruise-ft");
|
||||
var cruiseft_b = getprop("/FMGC/internal/cruise-ft") - 50;
|
||||
var newcruise = getprop("/it-autoflight/internal/alt");
|
||||
var phase = getprop("/FMGC/status/phase");
|
||||
var state1 = getprop("/systems/thrust/state1");
|
||||
|
@ -82,21 +96,21 @@ var phasecheck = maketimer(0.2, func {
|
|||
var targetvs = getprop("/it-autoflight/input/vs");
|
||||
var targetfpa = getprop("/it-autoflight/input/fpa");
|
||||
var vertmode = getprop("/modes/pfd/fma/pitch-mode");
|
||||
var reduc_agl_ft = getprop("/it-autoflight/settings/reduc-agl-ft");
|
||||
if ((((n1_left >= 85) and (n1_right >= 85)) or (gs > 90 )) and flaps < 4 and (mode == "SRS")) {
|
||||
setprop("/FMGC/status/phase", "1");
|
||||
setprop("/systems/pressurization/mode", "TO");
|
||||
}
|
||||
if ((alt >= 3000) and (alt <= cruisefl) and (phase == "1") and (phase != "4") and (mode != "SRS")) {
|
||||
if ((aglalt >= reduc_agl_ft) and (alt <= cruiseft) and (phase == "1") and (phase != "4") and (mode != "SRS")) {
|
||||
setprop("/FMGC/status/phase", "2");
|
||||
}
|
||||
if ((alt >= cruisefl) and (phase == "2") and (mode != "SRS")) {
|
||||
if (alt >= cruiseft_b and phase == "2" and (mode == "ALT" or mode == "ALT CRZ")) {
|
||||
setprop("/FMGC/status/phase", "3");
|
||||
setprop("/systems/pressurization/mode", "CR");
|
||||
}
|
||||
if ((alt <= cruisefl) and (phase == "3")) { # for now it will have to be when we begin descent.
|
||||
if (alt <= cruiseft and (mode == "DES" or mode == "OP DES") and phase == "3") {
|
||||
setprop("/FMGC/status/phase", "4");
|
||||
setprop("/systems/pressurization/mode", "DE");
|
||||
|
||||
}
|
||||
if (getprop("/FMGC/status/to-state") == 0 and flaps >= 4 and ((phase == "4") or (phase == "2"))) { # add man activation of approach phase in MCDU or DECEL when those things are simulated
|
||||
setprop("/FMGC/status/phase", "5");
|
||||
|
@ -131,6 +145,115 @@ var various = maketimer(1, func {
|
|||
} else {
|
||||
setprop("/it-autoflight/settings/reduc-agl-ft", getprop("/FMGC/internal/reduc-agl-ft"));
|
||||
}
|
||||
|
||||
var flap = getprop("/controls/flight/flap-pos");
|
||||
if (flap == 0) {
|
||||
setprop("/FMGC/internal/overspeed", 338);
|
||||
} else if (flap == 1) {
|
||||
setprop("/FMGC/internal/overspeed", 216);
|
||||
} else if (flap == 2) {
|
||||
setprop("/FMGC/internal/overspeed", 207);
|
||||
} else if (flap == 3) {
|
||||
setprop("/FMGC/internal/overspeed", 189);
|
||||
} else if (flap == 4) {
|
||||
setprop("/FMGC/internal/overspeed", 174);
|
||||
} else if (flap == 5) {
|
||||
setprop("/FMGC/internal/overspeed", 163);
|
||||
}
|
||||
});
|
||||
|
||||
#################
|
||||
# Managed Speed #
|
||||
#################
|
||||
|
||||
var ManagedSPD = maketimer(0.25, func {
|
||||
if (getprop("/FMGC/internal/cruise-lvl-set") == 1 and getprop("/FMGC/internal/cost-index-set") == 1) {
|
||||
if (getprop("/it-autoflight/input/spd-managed") == 1) {
|
||||
var alt = getprop("/instrumentation/altimeter/indicated-altitude-ft");
|
||||
var mode = getprop("/modes/pfd/fma/pitch-mode");
|
||||
var mach = getprop("/instrumentation/airspeed-indicator/indicated-mach");
|
||||
var ktsmach = getprop("/it-autoflight/input/kts-mach");
|
||||
var mngktsmach = getprop("/FMGC/internal/mng-kts-mach");
|
||||
var mng_spd = getprop("/FMGC/internal/mng-spd");
|
||||
var mng_spd_cmd = getprop("/FMGC/internal/mng-spd-cmd");
|
||||
var kts_sel = getprop("/it-autoflight/input/spd-kts");
|
||||
var mach_sel = getprop("/it-autoflight/input/spd-mach");
|
||||
var srsSPD = getprop("/it-autoflight/settings/togaspd");
|
||||
var phase = getprop("/FMGC/status/phase"); # 0 is preflight 1 takeoff 2 climb 3 cruise 4 descent 5 approach 6 go around 7 done
|
||||
var flap = getprop("/controls/flight/flap-pos");
|
||||
var overspeed = getprop("/FMGC/internal/overspeed");
|
||||
var mach_switchover = getprop("/FMGC/internal/mach-switchover");
|
||||
|
||||
var mng_alt_spd_cmd = getprop("/FMGC/internal/mng-alt-spd");
|
||||
var mng_alt_spd = math.round(mng_alt_spd_cmd, 1);
|
||||
|
||||
var mng_alt_mach_cmd = getprop("/FMGC/internal/mng-alt-mach");
|
||||
var mng_alt_mach = math.round(mng_alt_mach_cmd, 0.001);
|
||||
|
||||
if (mode == "SRS" and phase == 0 or phase == 1) {
|
||||
if (mngktsmach) {
|
||||
setprop("/FMGC/internal/mng-kts-mach", 0);
|
||||
}
|
||||
if (mng_spd_cmd != srsSPD) {
|
||||
setprop("/FMGC/internal/mng-spd-cmd", srsSPD);
|
||||
}
|
||||
} else if (phase == 2 and alt <= 10050) {
|
||||
if (mngktsmach) {
|
||||
setprop("/FMGC/internal/mng-kts-mach", 0);
|
||||
}
|
||||
if (mng_spd_cmd != 250) {
|
||||
setprop("/FMGC/internal/mng-spd-cmd", 250);
|
||||
}
|
||||
} else if ((phase == 2 or phase == 3) and alt > 10100 and !mach_switchover) {
|
||||
if (mngktsmach) {
|
||||
setprop("/FMGC/internal/mng-kts-mach", 0);
|
||||
}
|
||||
if (mng_spd_cmd != mng_alt_spd) {
|
||||
setprop("/FMGC/internal/mng-spd-cmd", mng_alt_spd);
|
||||
}
|
||||
} else if ((phase == 2 or phase == 3) and alt > 10100 and mach_switchover) {
|
||||
if (!mngktsmach) {
|
||||
setprop("/FMGC/internal/mng-kts-mach", 1);
|
||||
}
|
||||
if (mng_spd_cmd != mng_alt_mach) {
|
||||
setprop("/FMGC/internal/mng-spd-cmd", mng_alt_mach);
|
||||
}
|
||||
} else if (phase == 4 or phase == 5 or phase == 6 or phase == 7) {
|
||||
libraries.mcpSPDKnbPull();
|
||||
}
|
||||
|
||||
var mng_spd_cmd = getprop("/FMGC/internal/mng-spd-cmd");
|
||||
|
||||
if (mng_spd_cmd > overspeed) {
|
||||
setprop("/FMGC/internal/mng-spd", overspeed);
|
||||
} else {
|
||||
setprop("/FMGC/internal/mng-spd", mng_spd_cmd);
|
||||
}
|
||||
|
||||
if (ktsmach and !mngktsmach) {
|
||||
setprop("/it-autoflight/input/kts-mach", 0);
|
||||
} else if (!ktsmach and mngktsmach) {
|
||||
setprop("/it-autoflight/input/kts-mach", 1);
|
||||
}
|
||||
|
||||
var mng_spd = getprop("/FMGC/internal/mng-spd");
|
||||
|
||||
if (kts_sel != mng_spd and !ktsmach) {
|
||||
setprop("/it-autoflight/input/spd-kts", mng_spd);
|
||||
} else if (mach_sel != mng_spd and ktsmach) {
|
||||
setprop("/it-autoflight/input/spd-mach", mng_spd);
|
||||
}
|
||||
|
||||
if (mach >= mng_alt_mach and phase == 2) {
|
||||
setprop("/FMGC/internal/mach-switchover", 1);
|
||||
}
|
||||
} else {
|
||||
ManagedSPD.stop();
|
||||
}
|
||||
} else {
|
||||
ManagedSPD.stop();
|
||||
libraries.mcpSPDKnbPull();
|
||||
}
|
||||
});
|
||||
|
||||
#################################
|
||||
|
@ -154,6 +277,7 @@ var APinit = func {
|
|||
setprop("/it-autoflight/input/bank-limit", 25);
|
||||
setprop("/it-autoflight/input/trk", 0);
|
||||
setprop("/it-autoflight/input/toga", 0);
|
||||
setprop("/it-autoflight/input/spd-managed", 0);
|
||||
setprop("/it-autoflight/output/ap1", 0);
|
||||
setprop("/it-autoflight/output/ap2", 0);
|
||||
setprop("/it-autoflight/output/athr", 0);
|
||||
|
@ -162,7 +286,6 @@ var APinit = func {
|
|||
setprop("/it-autoflight/output/loc-armed", 0);
|
||||
setprop("/it-autoflight/output/appr-armed", 0);
|
||||
setprop("/it-autoflight/output/thr-mode", 2);
|
||||
setprop("/it-autoflight/output/retard", 0);
|
||||
setprop("/it-autoflight/output/lat", 5);
|
||||
setprop("/it-autoflight/output/vert", 7);
|
||||
setprop("/it-autoflight/settings/use-nav2-radio", 0);
|
||||
|
@ -177,8 +300,8 @@ var APinit = func {
|
|||
setprop("/it-autoflight/mode/arm", "HDG");
|
||||
setprop("/it-autoflight/mode/lat", "T/O");
|
||||
setprop("/it-autoflight/mode/vert", "T/O CLB");
|
||||
setprop("/it-autoflight/input/spd-kts", 250);
|
||||
setprop("/it-autoflight/input/spd-mach", 0.68);
|
||||
setprop("/it-autoflight/input/spd-kts", 100);
|
||||
setprop("/it-autoflight/input/spd-mach", 0.50);
|
||||
update_armst.start();
|
||||
thrustmode();
|
||||
}
|
||||
|
@ -225,7 +348,6 @@ setlistener("/it-autoflight/input/athr", func {
|
|||
if (atmas == 0) {
|
||||
setprop("/it-autoflight/output/athr", 0);
|
||||
} else if (atmas == 1) {
|
||||
setprop("/it-autoflight/output/retard", 0);
|
||||
thrustmode();
|
||||
setprop("/it-autoflight/output/athr", 1);
|
||||
}
|
||||
|
@ -534,8 +656,10 @@ setlistener("/it-autoflight/input/kts-mach", func {
|
|||
# Takeoff Modes
|
||||
# Lat Active
|
||||
var latarms = func {
|
||||
if (getprop("/position/gear-agl-ft") >= getprop("/it-autoflight/settings/lat-agl-ft")) {
|
||||
setprop("/it-autoflight/input/lat", getprop("/it-autoflight/input/lat-arm"));
|
||||
if (getprop("/position/gear-agl-ft") >= 20) {
|
||||
if (getprop("/it-autoflight/input/lat-arm") == 1) {
|
||||
setprop("/it-autoflight/input/lat", getprop("/it-autoflight/input/lat-arm"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -705,52 +829,6 @@ var thrustmode = func {
|
|||
}
|
||||
|
||||
# ILS and Autoland
|
||||
# Retard
|
||||
setlistener("/controls/flight/flaps", func {
|
||||
var flapc = getprop("/controls/flight/flaps");
|
||||
var flapl = getprop("/it-autoflight/settings/land-flap");
|
||||
if (flapc >= flapl) {
|
||||
retardt.start();
|
||||
} else {
|
||||
retardt.stop();
|
||||
}
|
||||
});
|
||||
|
||||
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/output/athr");
|
||||
if (altpos < retardalt) {
|
||||
if (aton == 1) {
|
||||
setprop("/it-autoflight/output/retard", 1);
|
||||
setprop("/it-autoflight/mode/thr", "RETARD");
|
||||
atofft.start();
|
||||
} else {
|
||||
setprop("/it-autoflight/output/retard", 0);
|
||||
thrustmode();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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/input/athr", 0);
|
||||
setprop("/controls/engines/engine[0]/throttle", 0);
|
||||
setprop("/controls/engines/engine[1]/throttle", 0);
|
||||
setprop("/controls/engines/engine[2]/throttle", 0);
|
||||
setprop("/controls/engines/engine[3]/throttle", 0);
|
||||
setprop("/controls/engines/engine[4]/throttle", 0);
|
||||
setprop("/controls/engines/engine[5]/throttle", 0);
|
||||
setprop("/controls/engines/engine[6]/throttle", 0);
|
||||
setprop("/controls/engines/engine[7]/throttle", 0);
|
||||
atofft.stop();
|
||||
}
|
||||
}
|
||||
|
||||
# LOC and G/S arming
|
||||
var update_arms = func {
|
||||
update_locarmelec();
|
||||
|
@ -815,9 +893,7 @@ var make_appr_active = func {
|
|||
setprop("/it-autoflight/output/vert", 2);
|
||||
setprop("/it-autoflight/mode/vert", "G/S");
|
||||
setprop("/it-autoflight/mode/arm", " ");
|
||||
if (getprop("/it-autoflight/settings/land-enable") == 1){
|
||||
alandt.start();
|
||||
}
|
||||
alandt.start();
|
||||
thrustmode();
|
||||
}
|
||||
|
||||
|
@ -864,8 +940,6 @@ var update_armst = maketimer(0.5, update_arms);
|
|||
var altcaptt = maketimer(0.5, altcapt);
|
||||
var thrustmodet = maketimer(0.5, thrustmode);
|
||||
var minmaxtimer = maketimer(0.5, minmax);
|
||||
var retardt = maketimer(0.5, retardchk);
|
||||
var atofft = maketimer(0.5, atoffchk);
|
||||
var alandt = maketimer(0.5, aland);
|
||||
var alandt1 = maketimer(0.5, aland1);
|
||||
var reduct = maketimer(0.5, toga_reduc);
|
||||
|
|
|
@ -314,7 +314,7 @@ var PerfTOInput = func(key) {
|
|||
if (scratchpad >= 100 and scratchpad <= 200) {
|
||||
setprop("/FMGC/internal/v2", scratchpad);
|
||||
setprop("/FMGC/internal/v2-set", 1);
|
||||
setprop("/it-autoflight/settings/togaspd", scratchpad + 15);
|
||||
setprop("/it-autoflight/settings/togaspd", scratchpad + 10);
|
||||
setprop("/MCDU[0]/scratchpad", "");
|
||||
} else {
|
||||
setprop("/MCDU[0]/scratchpad-msg", "1");
|
||||
|
|
|
@ -314,7 +314,7 @@ var PerfTOInput = func(key) {
|
|||
if (scratchpad >= 100 and scratchpad <= 200) {
|
||||
setprop("/FMGC/internal/v2", scratchpad);
|
||||
setprop("/FMGC/internal/v2-set", 1);
|
||||
setprop("/it-autoflight/settings/togaspd", scratchpad + 15);
|
||||
setprop("/it-autoflight/settings/togaspd", scratchpad + 10);
|
||||
setprop("/MCDU[1]/scratchpad", "");
|
||||
} else {
|
||||
setprop("/MCDU[1]/scratchpad-msg", "1");
|
||||
|
|
|
@ -194,6 +194,8 @@ var externalconnections = maketimer(0.1, func {
|
|||
});
|
||||
|
||||
var mcpSPDKnbPull = func {
|
||||
setprop("/it-autoflight/input/spd-managed", 0);
|
||||
fmgc.ManagedSPD.stop();
|
||||
var ias = getprop("/instrumentation/airspeed-indicator/indicated-speed-kt");
|
||||
var mach = getprop("/instrumentation/airspeed-indicator/indicated-mach");
|
||||
if (getprop("/it-autoflight/input/kts-mach") == 0) {
|
||||
|
@ -215,6 +217,15 @@ var mcpSPDKnbPull = func {
|
|||
}
|
||||
}
|
||||
|
||||
var mcpSPDKnbPush = func {
|
||||
if (getprop("/FMGC/internal/cruise-lvl-set") == 1 and getprop("/FMGC/internal/cost-index-set") == 1) {
|
||||
setprop("/it-autoflight/input/spd-managed", 1);
|
||||
fmgc.ManagedSPD.start();
|
||||
} else {
|
||||
gui.popupTip("Please make sure you have set a cruise altitude and cost index in the MCDU.");
|
||||
}
|
||||
}
|
||||
|
||||
# In air, flaps 1 is slats only. On ground, it is slats and flaps.
|
||||
|
||||
setprop("/controls/flight/flap-lever", 0);
|
||||
|
|
|
@ -174,13 +174,11 @@
|
|||
<button>
|
||||
<legend>Push</legend>
|
||||
<pref-width>65</pref-width>
|
||||
<enable>
|
||||
<property>/systems/unused/unused-button</property>
|
||||
</enable>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/systems/unused/unused-button</property>
|
||||
<value>0</value>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
libraries.mcpSPDKnbPush();
|
||||
</script>
|
||||
</binding>
|
||||
</button>
|
||||
|
||||
|
@ -223,10 +221,16 @@
|
|||
<pref-height>25</pref-height>
|
||||
<legend><<</legend>
|
||||
<enable>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</enable>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
|
@ -244,10 +248,16 @@
|
|||
<pref-height>25</pref-height>
|
||||
<legend><</legend>
|
||||
<enable>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</enable>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
|
@ -266,10 +276,16 @@
|
|||
<property>/it-autoflight/input/spd-kts</property>
|
||||
<live type="bool">true</live>
|
||||
<enable>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</enable>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
|
@ -283,10 +299,16 @@
|
|||
<pref-height>25</pref-height>
|
||||
<legend>></legend>
|
||||
<enable>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</enable>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
|
@ -305,10 +327,16 @@
|
|||
<pref-height>25</pref-height>
|
||||
<legend>>></legend>
|
||||
<enable>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</enable>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
|
@ -338,10 +366,16 @@
|
|||
<pref-height>25</pref-height>
|
||||
<legend><<</legend>
|
||||
<enable>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</enable>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
|
@ -359,10 +393,16 @@
|
|||
<pref-height>25</pref-height>
|
||||
<legend><</legend>
|
||||
<enable>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</enable>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
|
@ -381,10 +421,16 @@
|
|||
<property>/it-autoflight/input/spd-mach</property>
|
||||
<live type="bool">true</live>
|
||||
<enable>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</enable>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
|
@ -398,10 +444,16 @@
|
|||
<pref-height>25</pref-height>
|
||||
<legend>></legend>
|
||||
<enable>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</enable>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
|
@ -420,10 +472,16 @@
|
|||
<pref-height>25</pref-height>
|
||||
<legend>>></legend>
|
||||
<enable>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/spd-managed</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</enable>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
|
|
|
@ -145,10 +145,6 @@
|
|||
<value>0</value>
|
||||
</equals>
|
||||
</or>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/retard</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</enable>
|
||||
|
@ -211,10 +207,6 @@
|
|||
<value>0</value>
|
||||
</equals>
|
||||
</or>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/retard</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</enable>
|
||||
|
@ -272,10 +264,6 @@
|
|||
<property>/it-autoflight/output/thr-mode</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/retard</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</enable>
|
||||
|
@ -331,10 +319,6 @@
|
|||
<property>/it-autoflight/output/thr-mode</property>
|
||||
<value>2</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/retard</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</enable>
|
||||
|
@ -418,10 +402,6 @@
|
|||
<value>0</value>
|
||||
</equals>
|
||||
</or>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/retard</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</enable>
|
||||
|
@ -484,10 +464,6 @@
|
|||
<value>0</value>
|
||||
</equals>
|
||||
</or>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/retard</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</enable>
|
||||
|
@ -545,10 +521,6 @@
|
|||
<property>/it-autoflight/output/thr-mode</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/retard</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</enable>
|
||||
|
@ -604,10 +576,6 @@
|
|||
<property>/it-autoflight/output/thr-mode</property>
|
||||
<value>2</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/retard</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</enable>
|
||||
|
|
|
@ -203,10 +203,6 @@
|
|||
<property>/it-autoflight/output/thr-mode</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/retard</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
<value>0.40</value>
|
||||
|
@ -232,10 +228,6 @@
|
|||
<property>/it-autoflight/output/thr-mode</property>
|
||||
<value>0</value>
|
||||
</not-equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/retard</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
<value>0.2</value>
|
||||
|
@ -374,10 +366,6 @@
|
|||
<property>/it-autoflight/output/thr-mode</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/retard</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
<value>0.40</value>
|
||||
|
@ -403,10 +391,6 @@
|
|||
<property>/it-autoflight/output/thr-mode</property>
|
||||
<value>0</value>
|
||||
</not-equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/retard</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
<value>0.2</value>
|
||||
|
|
|
@ -346,10 +346,6 @@
|
|||
<property>/it-autoflight/output/thr-mode</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/retard</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
<value>0.40</value>
|
||||
|
@ -375,10 +371,6 @@
|
|||
<property>/it-autoflight/output/thr-mode</property>
|
||||
<value>0</value>
|
||||
</not-equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/retard</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
<value>0.2</value>
|
||||
|
@ -517,10 +509,6 @@
|
|||
<property>/it-autoflight/output/thr-mode</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/retard</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
<value>0.40</value>
|
||||
|
@ -546,10 +534,6 @@
|
|||
<property>/it-autoflight/output/thr-mode</property>
|
||||
<value>0</value>
|
||||
</not-equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/retard</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
<value>0.2</value>
|
||||
|
|
|
@ -1117,7 +1117,7 @@
|
|||
</input>
|
||||
<output>/it-autoflight/internal/target-pitch</output>
|
||||
<type>noise-spike</type>
|
||||
<max-rate-of-change>3</max-rate-of-change>
|
||||
<max-rate-of-change>3.5</max-rate-of-change>
|
||||
</filter>
|
||||
|
||||
<pid-controller>
|
||||
|
@ -1192,7 +1192,7 @@
|
|||
</input>
|
||||
<output>/controls/flight/elevator</output>
|
||||
<type>noise-spike</type>
|
||||
<max-rate-of-change>0.2</max-rate-of-change>
|
||||
<max-rate-of-change>0.3</max-rate-of-change>
|
||||
</filter>
|
||||
|
||||
<!-- =============================================================== -->
|
89
Systems/fmgc-c.xml
Normal file
89
Systems/fmgc-c.xml
Normal file
|
@ -0,0 +1,89 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<filter>
|
||||
<name>FMGC MNG SPD</name>
|
||||
<type>gain</type>
|
||||
<gain>1</gain>
|
||||
<update-interval-secs type="double">0.05</update-interval-secs>
|
||||
<input>
|
||||
<expression>
|
||||
<product>
|
||||
<table>
|
||||
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
|
||||
<entry><ind>10000</ind><dep>286</dep></entry>
|
||||
<entry><ind>42000</ind><dep>249</dep></entry>
|
||||
</table>
|
||||
<table>
|
||||
<property>/FMGC/internal/cost-index</property>
|
||||
<entry><ind> 0</ind><dep>1.0</dep></entry>
|
||||
<entry><ind>120</ind><dep>1.1</dep></entry>
|
||||
</table>
|
||||
</product>
|
||||
</expression>
|
||||
</input>
|
||||
<output>/FMGC/internal/mng-alt-spd</output>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>FMGC MNG MACH</name>
|
||||
<type>gain</type>
|
||||
<gain>1</gain>
|
||||
<update-interval-secs type="double">0.05</update-interval-secs>
|
||||
<input>
|
||||
<expression>
|
||||
<product>
|
||||
<table>
|
||||
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
|
||||
<entry><ind>26000</ind><dep>0.705</dep></entry>
|
||||
<entry><ind>42000</ind><dep>0.815</dep></entry>
|
||||
</table>
|
||||
<table>
|
||||
<property>/FMGC/internal/cost-index</property>
|
||||
<entry><ind> 0</ind><dep>0.97</dep></entry>
|
||||
<entry><ind>120</ind><dep>1.03</dep></entry>
|
||||
</table>
|
||||
</product>
|
||||
</expression>
|
||||
</input>
|
||||
<output>/FMGC/internal/mng-alt-mach</output>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>FMGC Target IAS PFD</name>
|
||||
<type>gain</type>
|
||||
<gain>1</gain>
|
||||
<update-interval-secs type="double">0.1</update-interval-secs>
|
||||
<input>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<property>/it-autoflight/input/spd-kts</property>
|
||||
</input>
|
||||
<input>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/it-autoflight/input/kts-mach</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<expression>
|
||||
<floor>
|
||||
<product>
|
||||
<div>
|
||||
<property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
|
||||
<property>/instrumentation/airspeed-indicator/indicated-mach</property>
|
||||
</div>
|
||||
<property>/it-autoflight/input/spd-mach</property>
|
||||
</product>
|
||||
</floor>
|
||||
</expression>
|
||||
</input>
|
||||
<output>/FMGC/internal/target-ias-pfd</output>
|
||||
</filter>
|
||||
|
||||
</PropertyList>
|
118
Systems/pfd.xml
118
Systems/pfd.xml
|
@ -15,84 +15,6 @@
|
|||
<output>instrumentation/pfd/ground-level-diff</output>
|
||||
</filter>
|
||||
|
||||
<!--filter>
|
||||
<name>Target speed diff (selected)</name>
|
||||
<type>gain</type>
|
||||
<update-interval-secs type="double">0.05</update-interval-secs>
|
||||
<gain>1.0</gain>
|
||||
<input>
|
||||
<property>/flight-management/fcu-values/ias</property>
|
||||
</input>
|
||||
<reference>
|
||||
<property>instrumentation/airspeed-indicator/indicated-speed-kt</property>
|
||||
</reference>
|
||||
<output>instrumentation/pfd/sel-speed-diff</output>
|
||||
<enable>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/flight-management/control/spd-mode</property>
|
||||
<value>ias</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/flight-management/control/spd-ctrl</property>
|
||||
<value>man-set</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</enable>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>Target speed diff (managed)</name>
|
||||
<type>gain</type>
|
||||
<update-interval-secs type="double">0.05</update-interval-secs>
|
||||
<gain>1.0</gain>
|
||||
<input>
|
||||
<property>instrumentation/pfd/target-spd</property>
|
||||
</input>
|
||||
<reference>
|
||||
<property>instrumentation/airspeed-indicator/indicated-speed-kt</property>
|
||||
</reference>
|
||||
<output>instrumentation/pfd/fmgc-speed-diff</output>
|
||||
<enable>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/flight-management/control/spd-mode</property>
|
||||
<value>ias</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/flight-management/control/spd-ctrl</property>
|
||||
<value>fmgc</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</enable>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>V1 speed diff</name>
|
||||
<type>gain</type>
|
||||
<update-interval-secs type="double">0.05</update-interval-secs>
|
||||
<gain>1.0</gain>
|
||||
<input>
|
||||
<property>instrumentation/fmc/vspeeds/V1</property>
|
||||
</input>
|
||||
<reference>
|
||||
<property>instrumentation/airspeed-indicator/indicated-speed-kt</property>
|
||||
</reference>
|
||||
<output>instrumentation/pfd/v1-speed-diff</output>
|
||||
<enable>
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>instrumentation/fmc/vspeeds/V1</property>
|
||||
<value>0</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
</enable>
|
||||
</filter-->
|
||||
|
||||
<filter>
|
||||
<name>Target alt diff (selected)</name>
|
||||
<type>gain</type>
|
||||
|
@ -105,46 +27,8 @@
|
|||
<property>instrumentation/altimeter/indicated-altitude-ft</property>
|
||||
</reference>
|
||||
<output>instrumentation/pfd/sel-alt-diff</output>
|
||||
<!--enable>
|
||||
<condition>
|
||||
<or>
|
||||
<not>
|
||||
<property>/flight-management/control/is-alt-constraint</property>
|
||||
</not>
|
||||
<equals>
|
||||
<property>/flight-management/control/ver-ctrl</property>
|
||||
<value>man-set</value>
|
||||
</equals>
|
||||
</or>
|
||||
</condition>
|
||||
</enable-->
|
||||
</filter>
|
||||
|
||||
<!--filter>
|
||||
<name>Target alt diff (managed)</name>
|
||||
<type>gain</type>
|
||||
<update-interval-secs type="double">0.05</update-interval-secs>
|
||||
<gain>1.0</gain>
|
||||
<input>
|
||||
<property>/flight-management/fmgc-values/vnav-target-alt</property>
|
||||
</input>
|
||||
<reference>
|
||||
<property>instrumentation/altimeter/indicated-altitude-ft</property>
|
||||
</reference>
|
||||
<output>instrumentation/pfd/fmgc-alt-diff</output>
|
||||
<enable>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/flight-management/control/ver-ctrl</property>
|
||||
<value>fmgc</value>
|
||||
</equals>
|
||||
<property>/flight-management/control/is-alt-constraint</property>
|
||||
</and>
|
||||
</condition>
|
||||
</enable>
|
||||
</filter-->
|
||||
|
||||
<filter>
|
||||
<name>Heading Deg</name>
|
||||
<type>gain</type>
|
||||
|
@ -333,7 +217,7 @@
|
|||
<input>velocities/airspeed-kt</input>
|
||||
<output>instrumentation/pfd/speed-lookahead</output>
|
||||
<seconds>10.0</seconds>
|
||||
<filter-gain>0.05</filter-gain>
|
||||
<filter-gain>0.01</filter-gain>
|
||||
</predict-simple>
|
||||
|
||||
<filter>
|
||||
|
|
Reference in a new issue