2016-11-05 03:39:28 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
2017-07-13 17:30:33 +00:00
|
|
|
<!--
|
2017-11-16 19:29:08 +00:00
|
|
|
##############################################
|
|
|
|
# Copyright (c) Joshua Davidson (it0uchpods) #
|
|
|
|
##############################################
|
2017-07-13 17:30:33 +00:00
|
|
|
-->
|
|
|
|
|
2016-11-05 03:39:28 +00:00
|
|
|
<PropertyList>
|
|
|
|
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
<!-- Thrust Modes -->
|
|
|
|
<!-- =============================================================== -->
|
2017-06-03 17:05:25 +00:00
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>KTS INPUT FILTER</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<feedback-if-disabled>true</feedback-if-disabled>
|
|
|
|
<initialize-to>output</initialize-to>
|
|
|
|
<input>
|
|
|
|
<property>/it-autoflight/input/spd-kts</property>
|
|
|
|
</input>
|
|
|
|
<output>/it-autoflight/internal/kts</output>
|
|
|
|
<type>noise-spike</type>
|
|
|
|
<max-rate-of-change>
|
|
|
|
<condition>
|
|
|
|
<or>
|
2017-09-06 18:00:30 +00:00
|
|
|
<not-equals>
|
|
|
|
<property>/it-autoflight/output/thr-mode</property>
|
|
|
|
<value>0</value>
|
|
|
|
</not-equals>
|
2017-06-03 17:05:25 +00:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/athr</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<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>200</value>
|
|
|
|
</max-rate-of-change>
|
|
|
|
<max-rate-of-change>
|
|
|
|
<condition>
|
|
|
|
<and>
|
2017-09-06 18:00:30 +00:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/thr-mode</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
2017-06-03 17:05:25 +00:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/athr</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>10</value>
|
|
|
|
</max-rate-of-change>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>MACH INPUT FILTER</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<feedback-if-disabled>true</feedback-if-disabled>
|
|
|
|
<initialize-to>output</initialize-to>
|
|
|
|
<input>
|
|
|
|
<property>/it-autoflight/input/spd-mach</property>
|
|
|
|
</input>
|
|
|
|
<output>/it-autoflight/internal/mach</output>
|
|
|
|
<type>noise-spike</type>
|
|
|
|
<max-rate-of-change>
|
|
|
|
<condition>
|
|
|
|
<or>
|
2017-09-06 18:00:30 +00:00
|
|
|
<not-equals>
|
|
|
|
<property>/it-autoflight/output/thr-mode</property>
|
|
|
|
<value>0</value>
|
|
|
|
</not-equals>
|
2017-06-03 17:05:25 +00:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/athr</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<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>2</value>
|
|
|
|
</max-rate-of-change>
|
|
|
|
<max-rate-of-change>
|
|
|
|
<condition>
|
|
|
|
<and>
|
2017-09-06 18:00:30 +00:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/thr-mode</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
2017-06-03 17:05:25 +00:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/athr</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.1</value>
|
|
|
|
</max-rate-of-change>
|
|
|
|
</filter>
|
2017-08-06 03:07:21 +00:00
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>Throttle Comparator</name>
|
|
|
|
<type>gain</type>
|
2017-12-01 17:02:35 +00:00
|
|
|
<gain>1.0</gain>
|
2017-08-06 03:07:21 +00:00
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<greater-than-equals>
|
|
|
|
<property>/controls/engines/engine[0]/throttle-man</property>
|
|
|
|
<property>/controls/engines/engine[1]/throttle-man</property>
|
|
|
|
</greater-than-equals>
|
|
|
|
</condition>
|
|
|
|
<property>/controls/engines/engine[0]/throttle-man</property>
|
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<less-than>
|
|
|
|
<property>/controls/engines/engine[0]/throttle-man</property>
|
|
|
|
<property>/controls/engines/engine[1]/throttle-man</property>
|
|
|
|
</less-than>
|
|
|
|
</condition>
|
|
|
|
<property>/controls/engines/engine[1]/throttle-man</property>
|
|
|
|
</input>
|
|
|
|
<output>/controls/engines/throttle-pid-max</output>
|
|
|
|
</filter>
|
2017-12-03 01:40:00 +00:00
|
|
|
|
2017-05-07 23:18:38 +00:00
|
|
|
<pid-controller>
|
2017-12-03 01:40:00 +00:00
|
|
|
<name>IT-CONTROLLER: IAS THRUST</name>
|
2017-05-07 23:18:38 +00:00
|
|
|
<debug>false</debug>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<and>
|
2017-12-03 01:40:00 +00:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/athr</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
2017-05-07 23:18:38 +00:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/input/kts-mach</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<or>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/fd1</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/fd2</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap1</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap2</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</and>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/thr-mode</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
2017-12-03 01:40:00 +00:00
|
|
|
<or>
|
2017-12-08 18:43:19 +00:00
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/eng-out</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/lim-flex</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state1</property>
|
|
|
|
<value>MCT</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state2</property>
|
|
|
|
<value>MCT</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
</and>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/eng-out</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<or>
|
|
|
|
<and>
|
|
|
|
<less-than>
|
|
|
|
<property>/controls/engines/engine[0]/throttle-pos</property>
|
|
|
|
<value>0.83</value>
|
|
|
|
</less-than>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state1</property>
|
|
|
|
<value>MAN THR</value>
|
|
|
|
</equals>
|
|
|
|
</and>
|
|
|
|
<and>
|
|
|
|
<less-than>
|
|
|
|
<property>/controls/engines/engine[1]/throttle-pos</property>
|
|
|
|
<value>0.83</value>
|
|
|
|
</less-than>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state2</property>
|
|
|
|
<value>MAN THR</value>
|
|
|
|
</equals>
|
|
|
|
</and>
|
|
|
|
</or>
|
|
|
|
</and>
|
2017-12-03 01:40:00 +00:00
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state1</property>
|
|
|
|
<value>MAN</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state1</property>
|
|
|
|
<value>CL</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state2</property>
|
|
|
|
<value>MAN</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state2</property>
|
|
|
|
<value>CL</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
2017-05-07 23:18:38 +00:00
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
2017-09-04 03:42:22 +00:00
|
|
|
<property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
|
2017-05-07 23:18:38 +00:00
|
|
|
</input>
|
|
|
|
<reference>
|
2017-06-03 17:05:25 +00:00
|
|
|
<property>/it-autoflight/internal/kts</property>
|
2017-05-07 23:18:38 +00:00
|
|
|
</reference>
|
|
|
|
<output>
|
2017-07-02 03:17:30 +00:00
|
|
|
<property>/controls/engines/throttle-cmd-pid</property>
|
2017-05-07 23:18:38 +00:00
|
|
|
</output>
|
|
|
|
<config>
|
2017-11-29 17:05:20 +00:00
|
|
|
<Kp>0.055</Kp>
|
2017-05-07 23:18:38 +00:00
|
|
|
<beta>1.0</beta>
|
|
|
|
<alpha>0.1</alpha>
|
|
|
|
<gamma>0.0</gamma>
|
2017-11-29 17:05:20 +00:00
|
|
|
<Ti>9.0</Ti>
|
2017-05-07 23:18:38 +00:00
|
|
|
<Td>0.00001</Td>
|
2017-11-22 01:40:44 +00:00
|
|
|
<u_min>
|
|
|
|
<property>/controls/engines/idle-limit</property>
|
|
|
|
</u_min>
|
2017-08-06 03:07:21 +00:00
|
|
|
<u_max>
|
|
|
|
<property>/controls/engines/throttle-pid-max</property>
|
|
|
|
</u_max>
|
2017-05-07 23:18:38 +00:00
|
|
|
</config>
|
|
|
|
</pid-controller>
|
2017-12-03 01:40:00 +00:00
|
|
|
|
2017-05-07 23:18:38 +00:00
|
|
|
<pid-controller>
|
2017-12-03 01:40:00 +00:00
|
|
|
<name>IT-CONTROLLER: MACH THRUST</name>
|
2017-05-07 23:18:38 +00:00
|
|
|
<debug>false</debug>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<and>
|
2017-12-03 01:40:00 +00:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/athr</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
2017-05-07 23:18:38 +00:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/input/kts-mach</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<or>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/fd1</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/fd2</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap1</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap2</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</and>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/thr-mode</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
2017-12-03 01:40:00 +00:00
|
|
|
<or>
|
2017-12-08 18:43:19 +00:00
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/eng-out</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/lim-flex</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state1</property>
|
|
|
|
<value>MCT</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state2</property>
|
|
|
|
<value>MCT</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
</and>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/eng-out</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<or>
|
|
|
|
<and>
|
|
|
|
<less-than>
|
|
|
|
<property>/controls/engines/engine[0]/throttle-pos</property>
|
|
|
|
<value>0.83</value>
|
|
|
|
</less-than>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state1</property>
|
|
|
|
<value>MAN THR</value>
|
|
|
|
</equals>
|
|
|
|
</and>
|
|
|
|
<and>
|
|
|
|
<less-than>
|
|
|
|
<property>/controls/engines/engine[1]/throttle-pos</property>
|
|
|
|
<value>0.83</value>
|
|
|
|
</less-than>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state2</property>
|
|
|
|
<value>MAN THR</value>
|
|
|
|
</equals>
|
|
|
|
</and>
|
|
|
|
</or>
|
|
|
|
</and>
|
2017-12-03 01:40:00 +00:00
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state1</property>
|
|
|
|
<value>MAN</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state1</property>
|
|
|
|
<value>CL</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state2</property>
|
|
|
|
<value>MAN</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state2</property>
|
|
|
|
<value>CL</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
2017-05-07 23:18:38 +00:00
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
2017-09-04 03:42:22 +00:00
|
|
|
<property>/instrumentation/airspeed-indicator/indicated-mach</property>
|
2017-11-29 16:54:17 +00:00
|
|
|
<scale>1000.0</scale>
|
2017-05-07 23:18:38 +00:00
|
|
|
</input>
|
|
|
|
<reference>
|
2017-06-03 17:05:25 +00:00
|
|
|
<property>/it-autoflight/internal/mach</property>
|
2017-11-29 16:54:17 +00:00
|
|
|
<scale>1000.0</scale>
|
2017-05-07 23:18:38 +00:00
|
|
|
</reference>
|
|
|
|
<output>
|
2017-07-02 03:17:30 +00:00
|
|
|
<property>/controls/engines/throttle-cmd-pid</property>
|
2017-05-07 23:18:38 +00:00
|
|
|
</output>
|
|
|
|
<config>
|
2017-11-29 17:05:20 +00:00
|
|
|
<Kp>0.055</Kp>
|
2017-05-07 23:18:38 +00:00
|
|
|
<beta>1.0</beta>
|
|
|
|
<alpha>0.1</alpha>
|
|
|
|
<gamma>0.0</gamma>
|
2017-11-29 17:05:20 +00:00
|
|
|
<Ti>9.0</Ti>
|
2017-05-07 23:18:38 +00:00
|
|
|
<Td>0.00001</Td>
|
2017-11-22 01:40:44 +00:00
|
|
|
<u_min>
|
|
|
|
<property>/controls/engines/idle-limit</property>
|
|
|
|
</u_min>
|
2017-08-06 03:07:21 +00:00
|
|
|
<u_max>
|
|
|
|
<property>/controls/engines/throttle-pid-max</property>
|
|
|
|
</u_max>
|
2017-05-07 23:18:38 +00:00
|
|
|
</config>
|
|
|
|
</pid-controller>
|
2017-12-03 01:40:00 +00:00
|
|
|
|
2017-11-12 02:59:16 +00:00
|
|
|
<filter>
|
2017-12-03 01:40:00 +00:00
|
|
|
<name>IT-CONTROLLER: IDLE THRUST</name>
|
2017-05-07 23:18:38 +00:00
|
|
|
<debug>false</debug>
|
2017-11-12 02:59:16 +00:00
|
|
|
<type>gain</type>
|
2017-12-01 17:02:35 +00:00
|
|
|
<gain>1.0</gain>
|
2017-05-07 23:18:38 +00:00
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<and>
|
2017-12-03 01:40:00 +00:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/athr</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
2017-05-07 23:18:38 +00:00
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/fd1</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/fd2</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<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/thr-mode</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
2017-12-03 01:40:00 +00:00
|
|
|
<or>
|
2017-12-08 18:43:19 +00:00
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/eng-out</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/lim-flex</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state1</property>
|
|
|
|
<value>MCT</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state2</property>
|
|
|
|
<value>MCT</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
</and>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/eng-out</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<or>
|
|
|
|
<and>
|
|
|
|
<less-than>
|
|
|
|
<property>/controls/engines/engine[0]/throttle-pos</property>
|
|
|
|
<value>0.83</value>
|
|
|
|
</less-than>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state1</property>
|
|
|
|
<value>MAN THR</value>
|
|
|
|
</equals>
|
|
|
|
</and>
|
|
|
|
<and>
|
|
|
|
<less-than>
|
|
|
|
<property>/controls/engines/engine[1]/throttle-pos</property>
|
|
|
|
<value>0.83</value>
|
|
|
|
</less-than>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state2</property>
|
|
|
|
<value>MAN THR</value>
|
|
|
|
</equals>
|
|
|
|
</and>
|
|
|
|
</or>
|
|
|
|
</and>
|
2017-12-03 01:40:00 +00:00
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state1</property>
|
|
|
|
<value>MAN</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state1</property>
|
|
|
|
<value>CL</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state2</property>
|
|
|
|
<value>MAN</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state2</property>
|
|
|
|
<value>CL</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
2017-05-07 23:18:38 +00:00
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
2017-11-12 03:24:56 +00:00
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/mode/thr</property>
|
|
|
|
<value>RETARD</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<value>0.0</value>
|
|
|
|
</input>
|
2017-05-07 23:18:38 +00:00
|
|
|
<input>
|
2017-11-22 01:40:44 +00:00
|
|
|
<property>/controls/engines/idle-limit</property>
|
2017-05-07 23:18:38 +00:00
|
|
|
</input>
|
|
|
|
<output>
|
2017-07-02 03:17:30 +00:00
|
|
|
<property>/controls/engines/throttle-cmd-pid</property>
|
2017-05-07 23:18:38 +00:00
|
|
|
</output>
|
2017-11-12 02:59:16 +00:00
|
|
|
</filter>
|
2017-12-03 01:40:00 +00:00
|
|
|
|
2017-11-12 02:59:16 +00:00
|
|
|
<filter>
|
2017-12-03 01:40:00 +00:00
|
|
|
<name>IT-CONTROLLER: LIMIT THRUST</name>
|
2017-05-07 23:18:38 +00:00
|
|
|
<debug>false</debug>
|
2017-11-12 02:59:16 +00:00
|
|
|
<type>gain</type>
|
2017-12-01 17:02:35 +00:00
|
|
|
<gain>1.0</gain>
|
2017-05-07 23:18:38 +00:00
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<and>
|
2017-12-03 01:40:00 +00:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/athr</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
2017-05-07 23:18:38 +00:00
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/fd1</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/fd2</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<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/thr-mode</property>
|
|
|
|
<value>2</value>
|
|
|
|
</equals>
|
2017-12-03 01:40:00 +00:00
|
|
|
<or>
|
2017-12-08 18:43:19 +00:00
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/eng-out</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/lim-flex</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state1</property>
|
|
|
|
<value>MCT</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state2</property>
|
|
|
|
<value>MCT</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
</and>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/eng-out</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<or>
|
|
|
|
<and>
|
|
|
|
<less-than>
|
|
|
|
<property>/controls/engines/engine[0]/throttle-pos</property>
|
|
|
|
<value>0.83</value>
|
|
|
|
</less-than>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state1</property>
|
|
|
|
<value>MAN THR</value>
|
|
|
|
</equals>
|
|
|
|
</and>
|
|
|
|
<and>
|
|
|
|
<less-than>
|
|
|
|
<property>/controls/engines/engine[1]/throttle-pos</property>
|
|
|
|
<value>0.83</value>
|
|
|
|
</less-than>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state2</property>
|
|
|
|
<value>MAN THR</value>
|
|
|
|
</equals>
|
|
|
|
</and>
|
|
|
|
</or>
|
|
|
|
</and>
|
2017-12-03 01:40:00 +00:00
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state1</property>
|
|
|
|
<value>MAN</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state1</property>
|
|
|
|
<value>CL</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state2</property>
|
|
|
|
<value>MAN</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state2</property>
|
|
|
|
<value>CL</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
2017-05-07 23:18:38 +00:00
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
2017-11-12 02:59:16 +00:00
|
|
|
<property>/controls/engines/throttle-pid-max</property>
|
2017-05-07 23:18:38 +00:00
|
|
|
</input>
|
|
|
|
<output>
|
2017-07-02 03:17:30 +00:00
|
|
|
<property>/controls/engines/throttle-cmd-pid</property>
|
2017-05-07 23:18:38 +00:00
|
|
|
</output>
|
2017-11-12 02:59:16 +00:00
|
|
|
</filter>
|
2017-05-09 01:10:23 +00:00
|
|
|
|
2017-12-03 01:40:00 +00:00
|
|
|
<filter>
|
|
|
|
<name>IT-CONTROLLER: FEEDBACK IF DISABLED</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>1.0</gain>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/athr</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<and>
|
2017-12-08 18:43:19 +00:00
|
|
|
<not>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/eng-out</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/lim-flex</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state1</property>
|
|
|
|
<value>MCT</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state2</property>
|
|
|
|
<value>MCT</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
</not>
|
|
|
|
<not>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/eng-out</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<or>
|
|
|
|
<and>
|
|
|
|
<less-than>
|
|
|
|
<property>/controls/engines/engine[0]/throttle-pos</property>
|
|
|
|
<value>0.83</value>
|
|
|
|
</less-than>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state1</property>
|
|
|
|
<value>MAN THR</value>
|
|
|
|
</equals>
|
|
|
|
</and>
|
|
|
|
<and>
|
|
|
|
<less-than>
|
|
|
|
<property>/controls/engines/engine[1]/throttle-pos</property>
|
|
|
|
<value>0.83</value>
|
|
|
|
</less-than>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/thrust/state2</property>
|
|
|
|
<value>MAN THR</value>
|
|
|
|
</equals>
|
|
|
|
</and>
|
|
|
|
</or>
|
|
|
|
</not>
|
2017-12-03 01:40:00 +00:00
|
|
|
<not-equals>
|
|
|
|
<property>/systems/thrust/state1</property>
|
|
|
|
<value>MAN</value>
|
|
|
|
</not-equals>
|
|
|
|
<not-equals>
|
|
|
|
<property>/systems/thrust/state1</property>
|
|
|
|
<value>CL</value>
|
|
|
|
</not-equals>
|
|
|
|
<not-equals>
|
|
|
|
<property>/systems/thrust/state2</property>
|
|
|
|
<value>MAN</value>
|
|
|
|
</not-equals>
|
|
|
|
<not-equals>
|
|
|
|
<property>/systems/thrust/state2</property>
|
|
|
|
<value>CL</value>
|
|
|
|
</not-equals>
|
|
|
|
</and>
|
|
|
|
</or>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<not-equals>
|
|
|
|
<property>/systems/thrust/state1</property>
|
|
|
|
<value>IDLE</value>
|
|
|
|
</not-equals>
|
|
|
|
<not-equals>
|
|
|
|
<property>/systems/thrust/state2</property>
|
|
|
|
<value>IDLE</value>
|
|
|
|
</not-equals>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
<value>1</value>
|
|
|
|
</input>
|
|
|
|
<input>0</input>
|
|
|
|
<output>
|
|
|
|
<property>/controls/engines/throttle-cmd-pid</property>
|
|
|
|
</output>
|
|
|
|
<min>
|
|
|
|
<property>/controls/engines/idle-limit</property>
|
|
|
|
</min>
|
|
|
|
<max>
|
|
|
|
<property>/controls/engines/throttle-pid-max</property>
|
|
|
|
</max>
|
|
|
|
</filter>
|
|
|
|
|
2017-07-02 03:17:30 +00:00
|
|
|
<!-- Engine 1 -->
|
|
|
|
<filter>
|
2017-10-15 18:11:27 +00:00
|
|
|
<name>Thrust Filter 1</name>
|
2017-07-02 03:17:30 +00:00
|
|
|
<type>gain</type>
|
2017-12-01 17:02:35 +00:00
|
|
|
<gain>1.0</gain>
|
2017-07-02 03:17:30 +00:00
|
|
|
<input>/controls/engines/throttle-cmd-pid</input>
|
2017-10-15 18:11:27 +00:00
|
|
|
<output>/controls/engines/engine[0]/throttle-cmd</output>
|
2017-07-02 03:17:30 +00:00
|
|
|
<max>
|
|
|
|
<property>/controls/engines/engine[0]/throttle-man</property>
|
|
|
|
</max>
|
|
|
|
</filter>
|
|
|
|
|
2017-05-07 23:18:38 +00:00
|
|
|
<!-- Engine 2 -->
|
2017-07-02 03:17:30 +00:00
|
|
|
<filter>
|
2017-10-15 18:11:27 +00:00
|
|
|
<name>Thrust Filter 2</name>
|
2017-07-02 03:17:30 +00:00
|
|
|
<type>gain</type>
|
2017-12-01 17:02:35 +00:00
|
|
|
<gain>1.0</gain>
|
2017-07-02 03:17:30 +00:00
|
|
|
<input>/controls/engines/throttle-cmd-pid</input>
|
2017-10-15 18:11:27 +00:00
|
|
|
<output>/controls/engines/engine[1]/throttle-cmd</output>
|
2017-07-02 03:17:30 +00:00
|
|
|
<max>
|
|
|
|
<property>/controls/engines/engine[1]/throttle-man</property>
|
|
|
|
</max>
|
|
|
|
</filter>
|
2016-11-05 03:39:28 +00:00
|
|
|
|
|
|
|
</PropertyList>
|