2096 lines
49 KiB
XML
2096 lines
49 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<!-- IT-AUTOFLIGHT -->
|
|
<!-- Copyright (c) 2019 Joshua Davidson (it0uchpods) -->
|
|
|
|
<PropertyList>
|
|
|
|
<!-- Predictors -->
|
|
|
|
<predict-simple>
|
|
<name>IAS 5 SECOND PREDICTOR</name>
|
|
<debug>false</debug>
|
|
<input>/instrumentation/airspeed-indicator/indicated-speed-kt</input>
|
|
<output>/it-autoflight/internal/lookahead-5-sec-airspeed-kt</output>
|
|
<seconds>5.0</seconds>
|
|
<filter-gain>0.0</filter-gain>
|
|
</predict-simple>
|
|
|
|
<predict-simple>
|
|
<name>IAS 10 SECOND PREDICTOR</name>
|
|
<debug>false</debug>
|
|
<input>/instrumentation/airspeed-indicator/indicated-speed-kt</input>
|
|
<output>/it-autoflight/internal/lookahead-10-sec-airspeed-kt</output>
|
|
<seconds>10.0</seconds>
|
|
<filter-gain>0.0</filter-gain>
|
|
</predict-simple>
|
|
|
|
<predict-simple>
|
|
<name>IAS 15 SECOND PREDICTOR</name>
|
|
<debug>false</debug>
|
|
<input>/instrumentation/airspeed-indicator/indicated-speed-kt</input>
|
|
<output>/it-autoflight/internal/lookahead-15-sec-airspeed-kt</output>
|
|
<seconds>15.0</seconds>
|
|
<filter-gain>0.0</filter-gain>
|
|
</predict-simple>
|
|
|
|
<predict-simple>
|
|
<name>MACH 5 SECOND PREDICTOR</name>
|
|
<debug>false</debug>
|
|
<input>/instrumentation/airspeed-indicator/indicated-mach</input>
|
|
<output>/it-autoflight/internal/lookahead-5-sec-mach</output>
|
|
<seconds>5.0</seconds>
|
|
<filter-gain>0.0</filter-gain>
|
|
</predict-simple>
|
|
|
|
<predict-simple>
|
|
<name>MACH 10 SECOND PREDICTOR</name>
|
|
<debug>false</debug>
|
|
<input>/instrumentation/airspeed-indicator/indicated-mach</input>
|
|
<output>/it-autoflight/internal/lookahead-10-sec-mach</output>
|
|
<seconds>10.0</seconds>
|
|
<filter-gain>0.0</filter-gain>
|
|
</predict-simple>
|
|
|
|
<predict-simple>
|
|
<name>MACH 15 SECOND PREDICTOR</name>
|
|
<debug>false</debug>
|
|
<input>/instrumentation/airspeed-indicator/indicated-mach</input>
|
|
<output>/it-autoflight/internal/lookahead-15-sec-mach</output>
|
|
<seconds>15.0</seconds>
|
|
<filter-gain>0.0</filter-gain>
|
|
</predict-simple>
|
|
|
|
<!-- Autopilot Helpers/Calculators -->
|
|
|
|
<filter>
|
|
<name>KTS INPUT FILTER</name>
|
|
<debug>false</debug>
|
|
<type>noise-spike</type>
|
|
<feedback-if-disabled>true</feedback-if-disabled>
|
|
<initialize-to>output</initialize-to>
|
|
<input>
|
|
<condition>
|
|
<not-equals>
|
|
<property>/it-autoflight/mode/vert</property>
|
|
<value>T/O CLB</value>
|
|
</not-equals>
|
|
</condition>
|
|
<property>/it-autoflight/input/spd-kts</property>
|
|
</input>
|
|
<input>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/mode/vert</property>
|
|
<value>T/O CLB</value>
|
|
</equals>
|
|
</condition>
|
|
<property>/it-autoflight/settings/togaspd</property>
|
|
</input>
|
|
<output>/it-autoflight/internal/flch-kts</output>
|
|
<max-rate-of-change>
|
|
<condition>
|
|
<and>
|
|
<or>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>4</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>7</value>
|
|
</equals>
|
|
</or>
|
|
<equals>
|
|
<property>/it-autoflight/input/kts-mach</property>
|
|
<value>0</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/gear/gear[1]/wow</property>
|
|
<value>0</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/gear/gear[2]/wow</property>
|
|
<value>0</value>
|
|
</equals>
|
|
</and>
|
|
</condition>
|
|
<value>5</value>
|
|
</max-rate-of-change>
|
|
<max-rate-of-change>100</max-rate-of-change>
|
|
</filter>
|
|
|
|
<filter>
|
|
<name>MACH INPUT FILTER</name>
|
|
<debug>false</debug>
|
|
<type>noise-spike</type>
|
|
<feedback-if-disabled>true</feedback-if-disabled>
|
|
<initialize-to>output</initialize-to>
|
|
<input>/it-autoflight/input/spd-mach</input>
|
|
<output>/it-autoflight/internal/flch-mach</output>
|
|
<max-rate-of-change>
|
|
<condition>
|
|
<and>
|
|
<or>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>4</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>7</value>
|
|
</equals>
|
|
</or>
|
|
<equals>
|
|
<property>/it-autoflight/input/kts-mach</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/gear/gear[1]/wow</property>
|
|
<value>0</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/gear/gear[2]/wow</property>
|
|
<value>0</value>
|
|
</equals>
|
|
</and>
|
|
</condition>
|
|
<value>0.05</value>
|
|
</max-rate-of-change>
|
|
<max-rate-of-change>1</max-rate-of-change>
|
|
</filter>
|
|
|
|
<filter>
|
|
<name>IAS SYNC</name>
|
|
<type>gain</type>
|
|
<gain>1.0</gain>
|
|
<enable>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/input/kts-mach</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</condition>
|
|
</enable>
|
|
<input>
|
|
<expression>
|
|
<floor>
|
|
<sum>
|
|
<property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
|
|
<value>0.5</value>
|
|
</sum>
|
|
</floor>
|
|
</expression>
|
|
</input>
|
|
<output>/it-autoflight/input/spd-kts</output>
|
|
</filter>
|
|
|
|
<filter>
|
|
<name>MACH SYNC</name>
|
|
<type>gain</type>
|
|
<gain>1.0</gain>
|
|
<enable>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/input/kts-mach</property>
|
|
<value>0</value>
|
|
</equals>
|
|
</condition>
|
|
</enable>
|
|
<input>
|
|
<expression>
|
|
<div>
|
|
<floor>
|
|
<sum>
|
|
<product>
|
|
<property>/instrumentation/airspeed-indicator/indicated-mach</property>
|
|
<value>1000</value>
|
|
</product>
|
|
<value>0.5</value>
|
|
</sum>
|
|
</floor>
|
|
<value>1000</value>
|
|
</div>
|
|
</expression>
|
|
</input>
|
|
<output>/it-autoflight/input/spd-mach</output>
|
|
</filter>
|
|
|
|
<filter>
|
|
<name>HEADING DEG</name>
|
|
<type>gain</type>
|
|
<gain>1.0</gain>
|
|
<input>
|
|
<condition>
|
|
<property>/instrumentation/efis/mfd/true-north</property>
|
|
</condition>
|
|
<property>/orientation/heading-deg</property>
|
|
</input>
|
|
<input>/orientation/heading-magnetic-deg</input>
|
|
<reference>0</reference>
|
|
<output>/it-autoflight/internal/heading-deg</output>
|
|
</filter>
|
|
|
|
<filter>
|
|
<name>TRACK DEG</name>
|
|
<type>gain</type>
|
|
<gain>1.0</gain>
|
|
<input>
|
|
<condition>
|
|
<and>
|
|
<property>/it-autoflight/input/true-course</property>
|
|
<greater-than>
|
|
<property>/velocities/groundspeed-kt</property>
|
|
<value>1</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
<property>/orientation/track-deg</property>
|
|
</input>
|
|
<input>
|
|
<condition>
|
|
<and>
|
|
<not><property>/it-autoflight/input/true-course</property></not>
|
|
<greater-than>
|
|
<property>/velocities/groundspeed-kt</property>
|
|
<value>1</value>
|
|
</greater-than>
|
|
</and>
|
|
</condition>
|
|
<property>/orientation/track-magnetic-deg</property>
|
|
</input>
|
|
<input>/it-autoflight/internal/heading-deg</input>
|
|
<reference>0</reference>
|
|
<output>/it-autoflight/internal/track-deg</output>
|
|
</filter>
|
|
|
|
<filter>
|
|
<name>DRIFT ANGLE</name>
|
|
<type>gain</type>
|
|
<gain>1.0</gain>
|
|
<input>/orientation/track-magnetic-deg</input>
|
|
<reference>/orientation/heading-magnetic-deg</reference>
|
|
<output>/it-autoflight/internal/drift-angle-deg</output>
|
|
<period>
|
|
<min>-180</min>
|
|
<max>180</max>
|
|
</period>
|
|
</filter>
|
|
|
|
<filter>
|
|
<name>HEADING ERROR DEG</name>
|
|
<debug>false</debug>
|
|
<type>gain</type>
|
|
<gain>1.0</gain>
|
|
<input>
|
|
<condition>
|
|
<and>
|
|
<equals>
|
|
<property>/it-autoflight/output/lat</property>
|
|
<value>0</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/input/trk</property>
|
|
<value>0</value>
|
|
</equals>
|
|
</and>
|
|
</condition>
|
|
<property>/it-autoflight/input/hdg</property>
|
|
<offset>
|
|
<property>/it-autoflight/internal/heading-deg</property>
|
|
<scale>-1.0</scale>
|
|
</offset>
|
|
</input>
|
|
<input>
|
|
<condition>
|
|
<and>
|
|
<equals>
|
|
<property>/it-autoflight/output/lat</property>
|
|
<value>0</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/input/trk</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</and>
|
|
</condition>
|
|
<property>/it-autoflight/input/hdg</property>
|
|
<offset>
|
|
<property>/it-autoflight/internal/track-deg</property>
|
|
<scale>-1.0</scale>
|
|
</offset>
|
|
</input>
|
|
<input>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/output/lat</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</condition>
|
|
<expression>
|
|
<sum>
|
|
<property>/autopilot/route-manager/wp[0]/true-bearing-deg</property>
|
|
<product>
|
|
<property>/it-autoflight/internal/drift-angle-deg</property>
|
|
<value>-1.0</value>
|
|
</product>
|
|
<product>
|
|
<property>/orientation/heading-deg</property>
|
|
<value>-1.0</value>
|
|
</product>
|
|
</sum>
|
|
</expression>
|
|
</input>
|
|
<input>0</input>
|
|
<output>/it-autoflight/internal/heading-error-deg</output>
|
|
<period>
|
|
<min>-180</min>
|
|
<max>180</max>
|
|
</period>
|
|
</filter>
|
|
|
|
<filter>
|
|
<name>VERT SPEED SYNC</name>
|
|
<debug>false</debug>
|
|
<type>gain</type>
|
|
<gain>1.0</gain>
|
|
<enable>
|
|
<condition>
|
|
<not-equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>1</value>
|
|
</not-equals>
|
|
</condition>
|
|
</enable>
|
|
<input>
|
|
<expression>
|
|
<floor>
|
|
<sum>
|
|
<property>/it-autoflight/internal/vert-speed-fpm</property>
|
|
<value>0.5</value>
|
|
</sum>
|
|
</floor>
|
|
</expression>
|
|
</input>
|
|
<output>/it-autoflight/input/vs</output>
|
|
</filter>
|
|
|
|
<filter>
|
|
<name>VERT SPEED FILTER</name>
|
|
<debug>false</debug>
|
|
<type>noise-spike</type>
|
|
<feedback-if-disabled>true</feedback-if-disabled>
|
|
<initialize-to>output</initialize-to>
|
|
<input>/it-autoflight/input/vs</input>
|
|
<output>/it-autoflight/internal/vs</output>
|
|
<max-rate-of-change>
|
|
<condition>
|
|
<and>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/gear/gear[1]/wow</property>
|
|
<value>0</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/gear/gear[2]/wow</property>
|
|
<value>0</value>
|
|
</equals>
|
|
</and>
|
|
</condition>
|
|
<value>300</value>
|
|
</max-rate-of-change>
|
|
<max-rate-of-change>2000</max-rate-of-change>
|
|
</filter>
|
|
|
|
<filter>
|
|
<name>NAV ERROR DEG</name>
|
|
<debug>false</debug>
|
|
<type>gain</type>
|
|
<gain>1.0</gain>
|
|
<input>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/settings/use-nav2-radio</property>
|
|
<value>0</value>
|
|
</equals>
|
|
</condition>
|
|
<property>/instrumentation/nav[0]/radials/target-auto-hdg-deg</property>
|
|
<offset>
|
|
<property>/orientation/heading-deg</property>
|
|
<scale>-1.0</scale>
|
|
</offset>
|
|
</input>
|
|
<input>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/settings/use-nav2-radio</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</condition>
|
|
<property>/instrumentation/nav[1]/radials/target-auto-hdg-deg</property>
|
|
<offset>
|
|
<property>/orientation/heading-deg</property>
|
|
<scale>-1.0</scale>
|
|
</offset>
|
|
</input>
|
|
<output>/it-autoflight/internal/nav-heading-error-deg</output>
|
|
<period>
|
|
<min>-180</min>
|
|
<max>180</max>
|
|
</period>
|
|
</filter>
|
|
|
|
<filter>
|
|
<name>INTERNAL VERTICAL SPEED COMPUTER</name>
|
|
<debug>false</debug>
|
|
<type>gain</type>
|
|
<gain>1.0</gain>
|
|
<input>/instrumentation/gps/indicated-vertical-speed</input>
|
|
<output>/it-autoflight/internal/vert-speed-fpm</output>
|
|
</filter>
|
|
|
|
<filter>
|
|
<name>INTERNAL VERTICAL SPEED COMPUTER SYNC 4</name>
|
|
<debug>false</debug>
|
|
<type>gain</type>
|
|
<gain>1.0</gain>
|
|
<enable>
|
|
<condition>
|
|
<not>
|
|
<or>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>4</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>7</value>
|
|
</equals>
|
|
</or>
|
|
<or>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap1</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap2</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/fd1</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/fd2</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</or>
|
|
</not>
|
|
</condition>
|
|
</enable>
|
|
<input>/it-autoflight/internal/vert-speed-fpm</input>
|
|
<output>/it-autoflight/internal/target-fpm-b</output>
|
|
</filter>
|
|
|
|
<filter>
|
|
<name>INTERNAL VERTICAL SPEED COMPUTER SYNC 5</name>
|
|
<debug>false</debug>
|
|
<type>gain</type>
|
|
<gain>1.0</gain>
|
|
<enable>
|
|
<condition>
|
|
<not>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>5</value>
|
|
</equals>
|
|
<or>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap1</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap2</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/fd1</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/fd2</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</or>
|
|
</not>
|
|
</condition>
|
|
</enable>
|
|
<input>/it-autoflight/internal/vert-speed-fpm</input>
|
|
<output>/it-autoflight/internal/target-fpm-d</output>
|
|
</filter>
|
|
|
|
<filter>
|
|
<name>NAV1 G/S FPM Calc</name>
|
|
<debug>false</debug>
|
|
<type>gain</type>
|
|
<gain>1.0</gain>
|
|
<input>/instrumentation/nav[0]/gs-rate-of-climb-fpm</input>
|
|
<output>/it-autoflight/internal/nav1-rate-of-climb-fpm</output>
|
|
<min>-1200</min>
|
|
<max>0</max>
|
|
</filter>
|
|
|
|
<filter>
|
|
<name>NAV2 G/S FPM Calc</name>
|
|
<debug>false</debug>
|
|
<type>gain</type>
|
|
<gain>1.0</gain>
|
|
<input>/instrumentation/nav[1]/gs-rate-of-climb-fpm</input>
|
|
<output>/it-autoflight/internal/nav2-rate-of-climb-fpm</output>
|
|
<min>-1200</min>
|
|
<max>0</max>
|
|
</filter>
|
|
|
|
<filter>
|
|
<name>HEADING PREDICTOR STAGE 1</name>
|
|
<debug>false</debug>
|
|
<type>gain</type>
|
|
<gain>1.0</gain>
|
|
<input>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/input/trk</property>
|
|
<value>0</value>
|
|
</equals>
|
|
</condition>
|
|
<expression>
|
|
<sum>
|
|
<div>
|
|
<property>/orientation/roll-deg</property>
|
|
<property>/it-autoflight/config/cmd/hdg-kp</property>
|
|
</div>
|
|
<property>/it-autoflight/internal/heading-deg</property>
|
|
</sum>
|
|
</expression>
|
|
</input>
|
|
<input>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/input/trk</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</condition>
|
|
<expression>
|
|
<sum>
|
|
<div>
|
|
<property>/orientation/roll-deg</property>
|
|
<property>/it-autoflight/config/cmd/hdg-kp</property>
|
|
</div>
|
|
<property>/it-autoflight/internal/track-deg</property>
|
|
</sum>
|
|
</expression>
|
|
</input>
|
|
<output>/it-autoflight/internal/heading-predicted-cmd</output>
|
|
</filter>
|
|
|
|
<filter>
|
|
<name>HEADING PREDICTOR STAGE 2</name>
|
|
<debug>false</debug>
|
|
<type>gain</type>
|
|
<gain>1.0</gain>
|
|
<input>
|
|
<condition>
|
|
<greater-than>
|
|
<property>/it-autoflight/internal/heading-predicted-cmd</property>
|
|
<value>360</value>
|
|
</greater-than>
|
|
</condition>
|
|
<expression>
|
|
<dif>
|
|
<property>/it-autoflight/internal/heading-predicted-cmd</property>
|
|
<value>360</value>
|
|
</dif>
|
|
</expression>
|
|
</input>
|
|
<input>
|
|
<condition>
|
|
<less-than>
|
|
<property>/it-autoflight/internal/heading-predicted-cmd</property>
|
|
<value>1</value>
|
|
</less-than>
|
|
</condition>
|
|
<expression>
|
|
<sum>
|
|
<property>/it-autoflight/internal/heading-predicted-cmd</property>
|
|
<value>360</value>
|
|
</sum>
|
|
</expression>
|
|
</input>
|
|
<input>/it-autoflight/internal/heading-predicted-cmd</input>
|
|
<output>/it-autoflight/internal/heading-predicted</output>
|
|
</filter>
|
|
|
|
<filter>
|
|
<name>ALTITUDE PREDICTOR</name>
|
|
<debug>false</debug>
|
|
<type>gain</type>
|
|
<gain>1.0</gain>
|
|
<input>
|
|
<expression>
|
|
<sum>
|
|
<div>
|
|
<property>/it-autoflight/internal/vert-speed-fpm</property>
|
|
<product>
|
|
<property>/it-autoflight/config/cmd/alt-gain</property>
|
|
<value>-1</value>
|
|
</product>
|
|
</div>
|
|
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
|
|
</sum>
|
|
</expression>
|
|
</input>
|
|
<output>/it-autoflight/internal/altitude-predicted</output>
|
|
</filter>
|
|
|
|
<filter>
|
|
<name>INTERNAL FPA COMPUTER</name>
|
|
<debug>false</debug>
|
|
<type>gain</type>
|
|
<gain>1.0</gain>
|
|
<input>
|
|
<expression>
|
|
<dif>
|
|
<property>/orientation/pitch-deg</property>
|
|
<property>/orientation/alpha-deg</property>
|
|
</dif>
|
|
</expression>
|
|
</input>
|
|
<output>/it-autoflight/internal/fpa</output>
|
|
</filter>
|
|
|
|
<!-- Roll Axis -->
|
|
|
|
<filter>
|
|
<name>IT-CONTROLLER: HDG/LNAV ROLL</name>
|
|
<debug>false</debug>
|
|
<type>gain</type>
|
|
<gain>/it-autoflight/config/cmd/hdg-kp</gain>
|
|
<enable>
|
|
<condition>
|
|
<and>
|
|
<or>
|
|
<equals>
|
|
<property>/it-autoflight/output/lat</property>
|
|
<value>0</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/lat</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</or>
|
|
<or>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap1</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap2</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/fd1</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/fd2</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</or>
|
|
</and>
|
|
</condition>
|
|
</enable>
|
|
<input>/it-autoflight/internal/heading-error-deg</input>
|
|
<reference>0</reference>
|
|
<output>/it-autoflight/internal/target-roll-deg</output>
|
|
<min>
|
|
<property>/it-autoflight/internal/bank-limit</property>
|
|
<scale>-1.0</scale>
|
|
</min>
|
|
<max>/it-autoflight/internal/bank-limit</max>
|
|
</filter>
|
|
|
|
<filter>
|
|
<name>IT-CONTROLLER: VORLOC ROLL</name>
|
|
<debug>false</debug>
|
|
<type>gain</type>
|
|
<gain>/it-autoflight/config/cmd/vorloc</gain>
|
|
<enable>
|
|
<condition>
|
|
<and>
|
|
<equals>
|
|
<property>/it-autoflight/output/lat</property>
|
|
<value>2</value>
|
|
</equals>
|
|
<or>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap1</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap2</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/fd1</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/fd2</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</or>
|
|
</and>
|
|
</condition>
|
|
</enable>
|
|
<input>/it-autoflight/internal/nav-heading-error-deg</input>
|
|
<reference>0</reference>
|
|
<output>/it-autoflight/internal/target-roll-deg</output>
|
|
<min>
|
|
<property>/it-autoflight/internal/bank-limit</property>
|
|
<scale>-1.0</scale>
|
|
</min>
|
|
<max>/it-autoflight/internal/bank-limit</max>
|
|
</filter>
|
|
|
|
<filter>
|
|
<name>ROLL DEG SYNC</name>
|
|
<debug>false</debug>
|
|
<type>gain</type>
|
|
<gain>1.0</gain>
|
|
<enable>
|
|
<condition>
|
|
<and>
|
|
<not-equals>
|
|
<property>/it-autoflight/output/ap1</property>
|
|
<value>1</value>
|
|
</not-equals>
|
|
<not-equals>
|
|
<property>/it-autoflight/output/ap2</property>
|
|
<value>1</value>
|
|
</not-equals>
|
|
<not-equals>
|
|
<property>/it-autoflight/output/fd1</property>
|
|
<value>1</value>
|
|
</not-equals>
|
|
<not-equals>
|
|
<property>/it-autoflight/output/fd2</property>
|
|
<value>1</value>
|
|
</not-equals>
|
|
</and>
|
|
</condition>
|
|
</enable>
|
|
<input>/orientation/roll-deg</input>
|
|
<output>/it-autoflight/internal/target-roll-deg</output>
|
|
<min>
|
|
<property>/it-autoflight/internal/bank-limit</property>
|
|
<scale>-1.0</scale>
|
|
</min>
|
|
<max>/it-autoflight/internal/bank-limit</max>
|
|
</filter>
|
|
|
|
<filter>
|
|
<name>IT-CONTROLLER: TARGET ROLL CMD</name>
|
|
<debug>false</debug>
|
|
<type>noise-spike</type>
|
|
<input>
|
|
<condition>
|
|
<or>
|
|
<equals>
|
|
<property>/it-autoflight/output/lat</property>
|
|
<value>4</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/lat</property>
|
|
<value>5</value>
|
|
</equals>
|
|
</or>
|
|
</condition>
|
|
<value>0</value>
|
|
</input>
|
|
<input>/it-autoflight/internal/target-roll-deg</input>
|
|
<output>/it-autoflight/internal/target-roll</output>
|
|
<max-rate-of-change>
|
|
<condition>
|
|
<and>
|
|
<not-equals>
|
|
<property>/it-autoflight/output/ap1</property>
|
|
<value>1</value>
|
|
</not-equals>
|
|
<not-equals>
|
|
<property>/it-autoflight/output/ap2</property>
|
|
<value>1</value>
|
|
</not-equals>
|
|
<not-equals>
|
|
<property>/it-autoflight/output/fd1</property>
|
|
<value>1</value>
|
|
</not-equals>
|
|
<not-equals>
|
|
<property>/it-autoflight/output/fd2</property>
|
|
<value>1</value>
|
|
</not-equals>
|
|
</and>
|
|
</condition>
|
|
<value>50</value>
|
|
</max-rate-of-change>
|
|
<max-rate-of-change>
|
|
<condition>
|
|
<and>
|
|
<not-equals>
|
|
<property>/it-autoflight/output/ap1</property>
|
|
<value>1</value>
|
|
</not-equals>
|
|
<not-equals>
|
|
<property>/it-autoflight/output/ap2</property>
|
|
<value>1</value>
|
|
</not-equals>
|
|
</and>
|
|
</condition>
|
|
<value>15</value>
|
|
</max-rate-of-change>
|
|
<max-rate-of-change>6</max-rate-of-change>
|
|
</filter>
|
|
|
|
<filter>
|
|
<name>System Command: Roll Rate</name>
|
|
<debug>false</debug>
|
|
<type>gain</type>
|
|
<gain>-0.84</gain>
|
|
<enable>
|
|
<condition>
|
|
<and>
|
|
<or>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap1</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap2</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</or>
|
|
<not-equals>
|
|
<property>/it-autoflight/config/tuning-mode</property>
|
|
<value>1</value>
|
|
</not-equals>
|
|
</and>
|
|
</condition>
|
|
</enable>
|
|
<input>/orientation/roll-deg</input>
|
|
<reference>/it-autoflight/internal/target-roll</reference>
|
|
<output>/it-autoflight/internal/roll-rate</output>
|
|
<min>-4.8</min>
|
|
<max>4.8</max>
|
|
</filter>
|
|
|
|
<pid-controller>
|
|
<name>IT-CONTROLLER: ROLL RATE</name>
|
|
<debug>false</debug>
|
|
<enable>
|
|
<condition>
|
|
<and>
|
|
<equals>
|
|
<property>/gear/gear[1]/wow</property>
|
|
<value>0</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/gear/gear[2]/wow</property>
|
|
<value>0</value>
|
|
</equals>
|
|
<or>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap1</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap2</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</or>
|
|
<not-equals>
|
|
<property>/it-autoflight/settings/disable-final</property>
|
|
<value>1</value>
|
|
</not-equals>
|
|
</and>
|
|
</condition>
|
|
</enable>
|
|
<input>/orientation/roll-rate-degps</input>
|
|
<reference>/it-autoflight/internal/roll-rate</reference>
|
|
<output>/it-autoflight/internal/aileron-cmd</output>
|
|
<config>
|
|
<Kp>/it-autoflight/config/roll/kp</Kp>
|
|
<Ti>/it-autoflight/config/roll/ti</Ti>
|
|
<Td>/it-autoflight/config/roll/td</Td>
|
|
<u_min>-1.0</u_min>
|
|
<u_max>1.0</u_max>
|
|
</config>
|
|
</pid-controller>
|
|
|
|
<filter>
|
|
<name>IT-CONTROLLER: AILERON ROLLOUT</name>
|
|
<type>gain</type>
|
|
<gain>/it-autoflight/config/rollout/hdg-kp</gain>
|
|
<enable>
|
|
<condition>
|
|
<or>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap1</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap2</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</or>
|
|
</condition>
|
|
</enable>
|
|
<input>/orientation/roll-deg</input>
|
|
<reference>0</reference>
|
|
<output>/it-autoflight/internal/aileron-rollout</output>
|
|
</filter>
|
|
|
|
<filter>
|
|
<name>IT-CONTROLLER: ROLL CMD</name>
|
|
<debug>false</debug>
|
|
<type>noise-spike</type>
|
|
<feedback-if-disabled>true</feedback-if-disabled>
|
|
<initialize-to>output</initialize-to>
|
|
<enable>
|
|
<condition>
|
|
<and>
|
|
<or>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap1</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap2</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</or>
|
|
<not-equals>
|
|
<property>/it-autoflight/settings/disable-final</property>
|
|
<value>1</value>
|
|
</not-equals>
|
|
</and>
|
|
</condition>
|
|
</enable>
|
|
<input>
|
|
<condition>
|
|
<and>
|
|
<equals>
|
|
<property>/gear/gear[1]/wow</property>
|
|
<value>0</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/gear/gear[2]/wow</property>
|
|
<value>0</value>
|
|
</equals>
|
|
</and>
|
|
</condition>
|
|
<property>/it-autoflight/internal/aileron-cmd</property>
|
|
</input>
|
|
<input>/it-autoflight/internal/aileron-rollout</input>
|
|
<output>/controls/flight/aileron</output>
|
|
<max-rate-of-change>1.2</max-rate-of-change>
|
|
</filter>
|
|
|
|
<!-- Pitch Axis -->
|
|
|
|
<filter>
|
|
<name>ALTITUDE CAPTURE/HOLD</name>
|
|
<debug>false</debug>
|
|
<type>gain</type>
|
|
<gain>/it-autoflight/config/cmd/alt-gain</gain>
|
|
<input>
|
|
<expression>
|
|
<sum>
|
|
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
|
|
<value>-2</value>
|
|
</sum>
|
|
</expression>
|
|
</input>
|
|
<reference>/it-autoflight/internal/alt</reference>
|
|
<output>/it-autoflight/internal/target-fpm</output>
|
|
<min>/it-autoflight/internal/min-vs</min>
|
|
<max>/it-autoflight/internal/max-vs</max>
|
|
</filter>
|
|
|
|
<filter>
|
|
<name>FPA ERROR</name>
|
|
<debug>false</debug>
|
|
<type>gain</type>
|
|
<gain>1.0</gain>
|
|
<input>/it-autoflight/internal/fpa</input>
|
|
<reference>/it-autoflight/input/fpa</reference>
|
|
<output>/it-autoflight/internal/fpa-error</output>
|
|
<min>-1.5</min>
|
|
<max>1.5</max>
|
|
</filter>
|
|
|
|
<pid-controller>
|
|
<name>FPA HOLD</name>
|
|
<debug>false</debug>
|
|
<enable>
|
|
<condition>
|
|
<and>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>5</value>
|
|
</equals>
|
|
<or>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap1</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap2</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/fd1</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/fd2</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</or>
|
|
</and>
|
|
</condition>
|
|
</enable>
|
|
<input>/it-autoflight/internal/fpa-error</input>
|
|
<reference>0</reference>
|
|
<output>/it-autoflight/internal/target-fpm-d</output>
|
|
<config>
|
|
<Kp>
|
|
<expression>
|
|
<table>
|
|
<property>/velocities/airspeed-kt</property>
|
|
<entry><ind>140</ind><dep>120</dep></entry>
|
|
<entry><ind>360</ind><dep>340</dep></entry>
|
|
</table>
|
|
</expression>
|
|
</Kp>
|
|
<Ti>
|
|
<condition>
|
|
<or>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap1</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap2</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</or>
|
|
</condition>
|
|
<value>2.0</value>
|
|
</Ti>
|
|
<Ti>10.0</Ti>
|
|
<Td>0.002</Td>
|
|
<u_min>
|
|
<expression>
|
|
<dif>
|
|
<property>/it-autoflight/internal/vert-speed-fpm</property>
|
|
<value>2500</value>
|
|
</dif>
|
|
</expression>
|
|
</u_min>
|
|
<u_max>
|
|
<expression>
|
|
<sum>
|
|
<property>/it-autoflight/internal/vert-speed-fpm</property>
|
|
<value>2500</value>
|
|
</sum>
|
|
</expression>
|
|
</u_max>
|
|
</config>
|
|
</pid-controller>
|
|
|
|
<pid-controller>
|
|
<name>FLCH SPEED BY PITCH</name>
|
|
<debug>false</debug>
|
|
<enable>
|
|
<condition>
|
|
<and>
|
|
<or>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>4</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>7</value>
|
|
</equals>
|
|
</or>
|
|
<or>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap1</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap2</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/fd1</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/fd2</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</or>
|
|
</and>
|
|
</condition>
|
|
</enable>
|
|
<input>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/input/kts-mach</property>
|
|
<value>0</value>
|
|
</equals>
|
|
</condition>
|
|
<property>/it-autoflight/internal/lookahead-15-sec-airspeed-kt</property>
|
|
</input>
|
|
<input>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/input/kts-mach</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</condition>
|
|
<property>/it-autoflight/internal/lookahead-15-sec-mach</property>
|
|
<scale>750.0</scale>
|
|
</input>
|
|
<reference>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/input/kts-mach</property>
|
|
<value>0</value>
|
|
</equals>
|
|
</condition>
|
|
<property>/it-autoflight/internal/flch-kts</property>
|
|
</reference>
|
|
<reference>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/input/kts-mach</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</condition>
|
|
<property>/it-autoflight/internal/flch-mach</property>
|
|
<scale>750.0</scale>
|
|
</reference>
|
|
<output>/it-autoflight/internal/target-fpm-b</output>
|
|
<config>
|
|
<Kp>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>4</value>
|
|
</equals>
|
|
</condition>
|
|
<value>-55</value>
|
|
</Kp>
|
|
<Kp>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>7</value>
|
|
</equals>
|
|
</condition>
|
|
<value>-60</value>
|
|
</Kp>
|
|
<Ti>2.5</Ti>
|
|
<Td>0.001</Td>
|
|
<u_min>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/output/thr-mode</property>
|
|
<value>2</value>
|
|
</equals>
|
|
</condition>
|
|
<value>150</value>
|
|
</u_min>
|
|
<u_min>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/output/thr-mode</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</condition>
|
|
<expression>
|
|
<dif>
|
|
<property>/it-autoflight/internal/vert-speed-fpm</property>
|
|
<value>2500</value>
|
|
</dif>
|
|
</expression>
|
|
</u_min>
|
|
<u_max>
|
|
<condition>
|
|
<and>
|
|
<equals>
|
|
<property>/it-autoflight/output/thr-mode</property>
|
|
<value>2</value>
|
|
</equals>
|
|
<and>
|
|
<equals>
|
|
<property>/gear/gear[1]/wow</property>
|
|
<value>0</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/gear/gear[2]/wow</property>
|
|
<value>0</value>
|
|
</equals>
|
|
</and>
|
|
</and>
|
|
</condition>
|
|
<expression>
|
|
<sum>
|
|
<property>/it-autoflight/internal/vert-speed-fpm</property>
|
|
<value>2500</value>
|
|
</sum>
|
|
</expression>
|
|
</u_max>
|
|
<u_max>
|
|
<condition>
|
|
<and>
|
|
<equals>
|
|
<property>/it-autoflight/output/thr-mode</property>
|
|
<value>2</value>
|
|
</equals>
|
|
<or>
|
|
<equals>
|
|
<property>/gear/gear[1]/wow</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/gear/gear[2]/wow</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</or>
|
|
</and>
|
|
</condition>
|
|
<value>1000</value>
|
|
</u_max>
|
|
<u_max>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/output/thr-mode</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</condition>
|
|
<value>-150</value>
|
|
</u_max>
|
|
<u_min>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/output/thr-mode</property>
|
|
<value>0</value>
|
|
</equals>
|
|
</condition>
|
|
<expression>
|
|
<dif>
|
|
<property>/it-autoflight/internal/vert-speed-fpm</property>
|
|
<value>2500</value>
|
|
</dif>
|
|
</expression>
|
|
</u_min>
|
|
<u_max>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/output/thr-mode</property>
|
|
<value>0</value>
|
|
</equals>
|
|
</condition>
|
|
<expression>
|
|
<sum>
|
|
<property>/it-autoflight/internal/vert-speed-fpm</property>
|
|
<value>2500</value>
|
|
</sum>
|
|
</expression>
|
|
</u_max>
|
|
</config>
|
|
</pid-controller>
|
|
|
|
<filter>
|
|
<name>AUTOLAND FPM</name>
|
|
<type>gain</type>
|
|
<gain>1.0</gain>
|
|
<input>
|
|
<expression>
|
|
<table>
|
|
<property>/position/gear-agl-ft</property>
|
|
<entry><ind>100</ind><dep>-600</dep></entry>
|
|
<entry><ind> 50</ind><dep>-500</dep></entry>
|
|
<entry><ind> 40</ind><dep>-400</dep></entry>
|
|
<entry><ind> 30</ind><dep>-300</dep></entry>
|
|
<entry><ind> 20</ind><dep>-200</dep></entry>
|
|
<entry><ind> 10</ind><dep>-150</dep></entry>
|
|
<entry><ind> 5</ind><dep>-100</dep></entry>
|
|
</table>
|
|
</expression>
|
|
</input>
|
|
<output>/it-autoflight/internal/target-fpm-c</output>
|
|
</filter>
|
|
|
|
<filter>
|
|
<name>TARGET FPM</name>
|
|
<debug>false</debug>
|
|
<type>gain</type>
|
|
<gain>1.0</gain>
|
|
<input>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>0</value>
|
|
</equals>
|
|
</condition>
|
|
<property>/it-autoflight/internal/target-fpm</property>
|
|
</input>
|
|
<input>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</condition>
|
|
<property>/it-autoflight/input/vs</property>
|
|
</input>
|
|
<input>
|
|
<condition>
|
|
<or>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>4</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>7</value>
|
|
</equals>
|
|
</or>
|
|
</condition>
|
|
<property>/it-autoflight/internal/target-fpm-b</property>
|
|
</input>
|
|
<input>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>6</value>
|
|
</equals>
|
|
</condition>
|
|
<property>/it-autoflight/internal/target-fpm-c</property>
|
|
</input>
|
|
<input>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>5</value>
|
|
</equals>
|
|
</condition>
|
|
<property>/it-autoflight/internal/target-fpm-d</property>
|
|
</input>
|
|
<input>
|
|
<condition>
|
|
<and>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>2</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/settings/use-nav2-radio</property>
|
|
<value>0</value>
|
|
</equals>
|
|
</and>
|
|
</condition>
|
|
<property>/it-autoflight/internal/nav1-rate-of-climb-fpm</property>
|
|
</input>
|
|
<input>
|
|
<condition>
|
|
<and>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>2</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/settings/use-nav2-radio</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</and>
|
|
</condition>
|
|
<property>/it-autoflight/internal/nav2-rate-of-climb-fpm</property>
|
|
</input>
|
|
<output>/it-autoflight/internal/target-common-fpm</output>
|
|
</filter>
|
|
|
|
<pid-controller>
|
|
<name>FPM HOLD</name>
|
|
<debug>false</debug>
|
|
<enable>
|
|
<condition>
|
|
<and>
|
|
<or>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>0</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>2</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>4</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>5</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>6</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>7</value>
|
|
</equals>
|
|
</or>
|
|
<or>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap1</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap2</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</or>
|
|
</and>
|
|
</condition>
|
|
</enable>
|
|
<input>/it-autoflight/internal/vert-speed-fpm</input>
|
|
<reference>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>0</value>
|
|
</equals>
|
|
</condition>
|
|
<property>/it-autoflight/internal/target-fpm</property>
|
|
</reference>
|
|
<reference>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</condition>
|
|
<property>/it-autoflight/internal/vs</property>
|
|
</reference>
|
|
<reference>
|
|
<condition>
|
|
<or>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>4</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>7</value>
|
|
</equals>
|
|
</or>
|
|
</condition>
|
|
<property>/it-autoflight/internal/target-fpm-b</property>
|
|
</reference>
|
|
<reference>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>6</value>
|
|
</equals>
|
|
</condition>
|
|
<property>/it-autoflight/internal/target-fpm-c</property>
|
|
</reference>
|
|
<reference>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>5</value>
|
|
</equals>
|
|
</condition>
|
|
<property>/it-autoflight/internal/target-fpm-d</property>
|
|
</reference>
|
|
<reference>
|
|
<condition>
|
|
<and>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>2</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/settings/use-nav2-radio</property>
|
|
<value>0</value>
|
|
</equals>
|
|
</and>
|
|
</condition>
|
|
<property>/it-autoflight/internal/nav1-rate-of-climb-fpm</property>
|
|
</reference>
|
|
<reference>
|
|
<condition>
|
|
<and>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>2</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/settings/use-nav2-radio</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</and>
|
|
</condition>
|
|
<property>/it-autoflight/internal/nav2-rate-of-climb-fpm</property>
|
|
</reference>
|
|
<output>/it-autoflight/internal/target-pitch-deg</output>
|
|
<config>
|
|
<Kp>
|
|
<condition>
|
|
<not-equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>6</value>
|
|
</not-equals>
|
|
</condition>
|
|
<expression>
|
|
<table>
|
|
<property>/velocities/airspeed-kt</property>
|
|
<entry><ind>140</ind><dep>0.0029</dep></entry>
|
|
<entry><ind>360</ind><dep>0.0009</dep></entry>
|
|
</table>
|
|
</expression>
|
|
</Kp>
|
|
<Kp>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>6</value>
|
|
</equals>
|
|
</condition>
|
|
<property>/it-autoflight/config/autoland/pitch-kp</property>
|
|
</Kp>
|
|
<Ti>2.5</Ti>
|
|
<Td>0.0001</Td>
|
|
<u_min>
|
|
<condition>
|
|
<not-equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>6</value>
|
|
</not-equals>
|
|
</condition>
|
|
<expression>
|
|
<max>
|
|
<dif>
|
|
<property>/orientation/pitch-deg</property>
|
|
<value>5</value>
|
|
</dif>
|
|
<value>-10</value>
|
|
</max>
|
|
</expression>
|
|
</u_min>
|
|
<u_min>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>6</value>
|
|
</equals>
|
|
</condition>
|
|
<value>0</value>
|
|
</u_min>
|
|
<u_max>
|
|
<condition>
|
|
<and>
|
|
<equals>
|
|
<property>/gear/gear[1]/wow</property>
|
|
<value>0</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/gear/gear[2]/wow</property>
|
|
<value>0</value>
|
|
</equals>
|
|
</and>
|
|
</condition>
|
|
<expression>
|
|
<min>
|
|
<sum>
|
|
<property>/orientation/pitch-deg</property>
|
|
<value>5</value>
|
|
</sum>
|
|
<value>30</value>
|
|
</min>
|
|
</expression>
|
|
</u_max>
|
|
<u_max>
|
|
<condition>
|
|
<or>
|
|
<equals>
|
|
<property>/gear/gear[1]/wow</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/gear/gear[2]/wow</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</or>
|
|
</condition>
|
|
<value>10</value>
|
|
</u_max>
|
|
</config>
|
|
</pid-controller>
|
|
|
|
<filter>
|
|
<name>PITCH DEG SYNC</name>
|
|
<debug>false</debug>
|
|
<type>gain</type>
|
|
<gain>1.0</gain>
|
|
<enable>
|
|
<condition>
|
|
<and>
|
|
<not-equals>
|
|
<property>/it-autoflight/output/ap1</property>
|
|
<value>1</value>
|
|
</not-equals>
|
|
<not-equals>
|
|
<property>/it-autoflight/output/ap2</property>
|
|
<value>1</value>
|
|
</not-equals>
|
|
</and>
|
|
</condition>
|
|
</enable>
|
|
<input>/orientation/pitch-deg</input>
|
|
<output>/it-autoflight/internal/target-pitch-deg</output>
|
|
<min>-15</min>
|
|
<max>30</max>
|
|
</filter>
|
|
|
|
<filter>
|
|
<name>System Command: Pitch Rate</name>
|
|
<debug>false</debug>
|
|
<type>gain</type>
|
|
<gain>-0.6</gain>
|
|
<enable>
|
|
<condition>
|
|
<and>
|
|
<or>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap1</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap2</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</or>
|
|
<not-equals>
|
|
<property>/it-autoflight/config/tuning-mode</property>
|
|
<value>1</value>
|
|
</not-equals>
|
|
</and>
|
|
</condition>
|
|
</enable>
|
|
<input>/orientation/pitch-deg</input>
|
|
<reference>/it-autoflight/internal/target-pitch-deg</reference>
|
|
<output>/it-autoflight/internal/pitch-rate</output>
|
|
<min>-1.5</min>
|
|
<max>1.5</max>
|
|
</filter>
|
|
|
|
<pid-controller>
|
|
<name>IT-CONTROLLER: PITCH RATE</name>
|
|
<debug>false</debug>
|
|
<enable>
|
|
<condition>
|
|
<and>
|
|
<equals>
|
|
<property>/gear/gear[1]/wow</property>
|
|
<value>0</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/gear/gear[2]/wow</property>
|
|
<value>0</value>
|
|
</equals>
|
|
<or>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap1</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap2</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</or>
|
|
<not-equals>
|
|
<property>/it-autoflight/settings/disable-final</property>
|
|
<value>1</value>
|
|
</not-equals>
|
|
</and>
|
|
</condition>
|
|
</enable>
|
|
<input>/orientation/pitch-rate-degps</input>
|
|
<reference>/it-autoflight/internal/pitch-rate</reference>
|
|
<output>/it-autoflight/internal/elevator-cmd</output>
|
|
<config>
|
|
<Kp>/it-autoflight/config/pitch/kp</Kp>
|
|
<Ti>/it-autoflight/config/pitch/ti</Ti>
|
|
<Td>/it-autoflight/config/pitch/td</Td>
|
|
<u_min>-1.0</u_min>
|
|
<u_max>1.0</u_max>
|
|
</config>
|
|
</pid-controller>
|
|
|
|
<filter>
|
|
<name>IT-CONTROLLER: PITCH CMD</name>
|
|
<debug>false</debug>
|
|
<type>noise-spike</type>
|
|
<feedback-if-disabled>true</feedback-if-disabled>
|
|
<initialize-to>output</initialize-to>
|
|
<enable>
|
|
<condition>
|
|
<and>
|
|
<or>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap1</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap2</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</or>
|
|
<not-equals>
|
|
<property>/it-autoflight/settings/disable-final</property>
|
|
<value>1</value>
|
|
</not-equals>
|
|
</and>
|
|
</condition>
|
|
</enable>
|
|
<input>
|
|
<condition>
|
|
<and>
|
|
<equals>
|
|
<property>/gear/gear[1]/wow</property>
|
|
<value>0</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/gear/gear[2]/wow</property>
|
|
<value>0</value>
|
|
</equals>
|
|
</and>
|
|
</condition>
|
|
<property>/it-autoflight/internal/elevator-cmd</property>
|
|
</input>
|
|
<input>
|
|
<condition>
|
|
<and>
|
|
<equals>
|
|
<property>/gear/gear[0]/wow</property>
|
|
<value>0</value>
|
|
</equals>
|
|
<or>
|
|
<equals>
|
|
<property>/gear/gear[1]/wow</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/gear/gear[2]/wow</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</or>
|
|
</and>
|
|
</condition>
|
|
<value>1</value>
|
|
<scale>
|
|
<property>/it-autoflight/config/rollout/pitch-defl</property>
|
|
</scale>
|
|
</input>
|
|
<input>
|
|
<value>0.5</value>
|
|
<scale>
|
|
<property>/it-autoflight/config/rollout/pitch-defl</property>
|
|
</scale>
|
|
</input>
|
|
<output>/controls/flight/elevator</output>
|
|
<max-rate-of-change>1.2</max-rate-of-change>
|
|
</filter>
|
|
|
|
<filter>
|
|
<name>IT-CONTROLLER: PITCH TRIM</name>
|
|
<debug>false</debug>
|
|
<type>noise-spike</type>
|
|
<feedback-if-disabled>true</feedback-if-disabled>
|
|
<initialize-to>output</initialize-to>
|
|
<enable>
|
|
<condition>
|
|
<and>
|
|
<equals>
|
|
<property>/gear/gear[1]/wow</property>
|
|
<value>0</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/gear/gear[2]/wow</property>
|
|
<value>0</value>
|
|
</equals>
|
|
<or>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap1</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap2</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</or>
|
|
<or>
|
|
<greater-than>
|
|
<property>/it-autoflight/internal/elevator-cmd</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
<less-than>
|
|
<property>/it-autoflight/internal/elevator-cmd</property>
|
|
<value>-0.01</value>
|
|
</less-than>
|
|
</or>
|
|
<not-equals>
|
|
<property>/it-autoflight/settings/disable-final</property>
|
|
<value>1</value>
|
|
</not-equals>
|
|
</and>
|
|
</condition>
|
|
</enable>
|
|
<input>
|
|
<condition>
|
|
<greater-than>
|
|
<property>/it-autoflight/internal/elevator-cmd</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
</condition>
|
|
<value>1</value>
|
|
</input>
|
|
<input>
|
|
<condition>
|
|
<less-than>
|
|
<property>/it-autoflight/internal/elevator-cmd</property>
|
|
<value>-0.01</value>
|
|
</less-than>
|
|
</condition>
|
|
<value>-1</value>
|
|
</input>
|
|
<output>/controls/flight/elevator-trim</output>
|
|
<min>-1.0</min>
|
|
<max>1.0</max>
|
|
<max-rate-of-change>0.01</max-rate-of-change>
|
|
</filter>
|
|
|
|
<!-- Yaw Axis -->
|
|
|
|
<pi-simple-controller>
|
|
<name>RUDDER VORLOC TRK</name>
|
|
<debug>false</debug>
|
|
<enable>
|
|
<condition>
|
|
<and>
|
|
<or>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap1</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap2</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</or>
|
|
<equals>
|
|
<property>/it-autoflight/output/lat</property>
|
|
<value>4</value>
|
|
</equals>
|
|
</and>
|
|
</condition>
|
|
</enable>
|
|
<input>/it-autoflight/internal/nav-heading-error-deg</input>
|
|
<reference>0</reference>
|
|
<output>/it-autoflight/internal/rudder-cmd</output>
|
|
<config>
|
|
<Kp>
|
|
<condition>
|
|
<and>
|
|
<equals>
|
|
<property>/gear/gear[1]/wow</property>
|
|
<value>0</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/gear/gear[2]/wow</property>
|
|
<value>0</value>
|
|
</equals>
|
|
</and>
|
|
</condition>
|
|
<property>/it-autoflight/config/autoland/yaw-kp</property>
|
|
</Kp>
|
|
<Kp>
|
|
<condition>
|
|
<or>
|
|
<equals>
|
|
<property>/gear/gear[1]/wow</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/gear/gear[2]/wow</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</or>
|
|
</condition>
|
|
<property>/it-autoflight/config/rollout/yaw-kp</property>
|
|
</Kp>
|
|
<Ki>0</Ki>
|
|
</config>
|
|
<min>-0.15</min>
|
|
<max>0.15</max>
|
|
</pi-simple-controller>
|
|
|
|
<filter>
|
|
<name>IT-CONTROLLER: RUDDER CMD</name>
|
|
<debug>false</debug>
|
|
<type>noise-spike</type>
|
|
<enable>
|
|
<condition>
|
|
<and>
|
|
<or>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap1</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap2</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</or>
|
|
<not-equals>
|
|
<property>/it-autoflight/settings/disable-final</property>
|
|
<value>1</value>
|
|
</not-equals>
|
|
</and>
|
|
</condition>
|
|
</enable>
|
|
<input>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/output/lat</property>
|
|
<value>4</value>
|
|
</equals>
|
|
</condition>
|
|
<property>/it-autoflight/internal/rudder-cmd</property>
|
|
</input>
|
|
<input>0</input>
|
|
<output>/controls/flight/rudder</output>
|
|
<max-rate-of-change>0.6</max-rate-of-change>
|
|
</filter>
|
|
|
|
<!-- Flight Director -->
|
|
|
|
<filter>
|
|
<name>IT-CONTROLLER: TARGET ROLL CMD</name>
|
|
<debug>false</debug>
|
|
<type>noise-spike</type>
|
|
<input>
|
|
<condition>
|
|
<or>
|
|
<equals>
|
|
<property>/it-autoflight/output/lat</property>
|
|
<value>4</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/lat</property>
|
|
<value>5</value>
|
|
</equals>
|
|
</or>
|
|
</condition>
|
|
<value>0</value>
|
|
</input>
|
|
<input>/it-autoflight/internal/target-roll-deg</input>
|
|
<output>/it-autoflight/internal/target-roll-fd</output>
|
|
<max-rate-of-change>
|
|
<condition>
|
|
<and>
|
|
<not-equals>
|
|
<property>/it-autoflight/output/fd1</property>
|
|
<value>1</value>
|
|
</not-equals>
|
|
<not-equals>
|
|
<property>/it-autoflight/output/fd1</property>
|
|
<value>1</value>
|
|
</not-equals>
|
|
</and>
|
|
</condition>
|
|
<value>50</value>
|
|
</max-rate-of-change>
|
|
<max-rate-of-change>15</max-rate-of-change>
|
|
</filter>
|
|
|
|
<filter>
|
|
<name>FD: ROLL</name>
|
|
<debug>false</debug>
|
|
<type>gain</type>
|
|
<gain>1.0</gain>
|
|
<input>
|
|
<expression>
|
|
<dif>
|
|
<property>/it-autoflight/internal/target-roll-fd</property>
|
|
<property>/orientation/roll-deg</property>
|
|
</dif>
|
|
</expression>
|
|
</input>
|
|
<output>/it-autoflight/fd/roll-bar</output>
|
|
<min>-30</min>
|
|
<max>30</max>
|
|
</filter>
|
|
|
|
<filter>
|
|
<name>FD: PITCH</name>
|
|
<debug>false</debug>
|
|
<type>noise-spike</type>
|
|
<input>
|
|
<expression>
|
|
<product>
|
|
<dif>
|
|
<property>/it-autoflight/internal/target-common-fpm</property>
|
|
<property>/it-autoflight/internal/vert-speed-fpm</property>
|
|
</dif>
|
|
<table>
|
|
<property>/instrumentation/airspeed-indicator/indicated-mach</property>
|
|
<entry><ind>0.20</ind><dep>0.004</dep></entry>
|
|
<entry><ind>0.95</ind><dep>0.002</dep></entry>
|
|
</table>
|
|
</product>
|
|
</expression>
|
|
</input>
|
|
<output>/it-autoflight/fd/pitch-bar</output>
|
|
<min>-15</min>
|
|
<max>30</max>
|
|
<max-rate-of-change>10</max-rate-of-change>
|
|
</filter>
|
|
|
|
</PropertyList>
|