2017-06-09 18:27:30 -04:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
2019-05-08 19:27:26 -04:00
|
|
|
<!-- Copyright (c) 2019 Joshua Davidson (Octal450) -->
|
2017-07-13 13:30:33 -04:00
|
|
|
|
2017-07-13 14:44:57 -04:00
|
|
|
<!-- IT-AUTOFLIGHT -->
|
|
|
|
|
2017-06-09 18:27:30 -04:00
|
|
|
<PropertyList>
|
2018-10-19 17:47:09 -04:00
|
|
|
|
|
|
|
<!-- Pitch Axis -->
|
2017-06-09 18:27:30 -04:00
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>ALTITUDE CAPTURE/HOLD</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<type>gain</type>
|
2018-07-24 18:52:36 -04:00
|
|
|
<gain>-5</gain>
|
2017-06-09 18:27:30 -04:00
|
|
|
<input>
|
2017-06-22 13:57:04 -04:00
|
|
|
<expression>
|
|
|
|
<sum>
|
2018-07-24 18:52:36 -04:00
|
|
|
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
|
2018-01-26 20:22:14 -05:00
|
|
|
<value>-2</value>
|
2017-06-22 13:57:04 -04:00
|
|
|
</sum>
|
|
|
|
</expression>
|
2017-06-09 18:27:30 -04:00
|
|
|
</input>
|
|
|
|
<reference>
|
2017-06-13 15:24:56 -04:00
|
|
|
<condition>
|
2018-10-19 18:19:40 -04:00
|
|
|
<equals>
|
2017-08-20 11:52:30 -04:00
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>8</value>
|
2018-10-19 18:19:40 -04:00
|
|
|
</equals>
|
2017-08-20 11:52:30 -04:00
|
|
|
</condition>
|
2017-06-13 15:24:56 -04:00
|
|
|
<property>/it-autoflight/internal/mng-alt</property>
|
|
|
|
</reference>
|
2018-10-19 18:19:40 -04:00
|
|
|
<reference>/it-autoflight/internal/alt</reference>
|
2018-10-19 17:45:13 -04:00
|
|
|
<output>/it-autoflight/internal/target-fpm</output>
|
|
|
|
<min>/it-autoflight/internal/min-vs</min>
|
|
|
|
<max>/it-autoflight/internal/max-vs</max>
|
2017-06-09 18:27:30 -04:00
|
|
|
</filter>
|
2018-10-19 17:47:09 -04:00
|
|
|
|
2019-01-10 13:37:15 -05:00
|
|
|
<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>
|
|
|
|
|
2017-06-09 18:27:30 -04:00
|
|
|
<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>
|
2019-01-10 13:37:15 -05:00
|
|
|
<input>/it-autoflight/internal/fpa-error</input>
|
|
|
|
<reference>0</reference>
|
2018-10-19 17:45:13 -04:00
|
|
|
<output>/it-autoflight/internal/target-fpm-d</output>
|
2017-06-09 18:27:30 -04:00
|
|
|
<config>
|
2018-07-24 18:52:36 -04:00
|
|
|
<Kp>
|
|
|
|
<expression>
|
|
|
|
<table>
|
2018-11-07 23:44:13 -05:00
|
|
|
<property>/fdm/jsbsim/velocities/vc-kts</property>
|
|
|
|
<entry><ind>140</ind><dep>120</dep></entry>
|
|
|
|
<entry><ind>360</ind><dep>340</dep></entry>
|
2018-07-24 18:52:36 -04:00
|
|
|
</table>
|
|
|
|
</expression>
|
|
|
|
</Kp>
|
2019-01-10 13:37:15 -05:00
|
|
|
<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>
|
2018-07-24 18:52:36 -04:00
|
|
|
<Td>0.002</Td>
|
2017-10-20 10:48:27 -04:00
|
|
|
<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>
|
2017-06-09 18:27:30 -04:00
|
|
|
</config>
|
|
|
|
</pid-controller>
|
|
|
|
|
|
|
|
<pid-controller>
|
|
|
|
<name>FLCH SPEED BY PITCH</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
2018-07-25 08:37:44 -04:00
|
|
|
<and>
|
|
|
|
<or>
|
2017-06-13 15:24:56 -04:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
2018-07-25 08:37:44 -04:00
|
|
|
<value>4</value>
|
2017-06-13 15:24:56 -04:00
|
|
|
</equals>
|
|
|
|
<equals>
|
2018-07-25 08:37:44 -04:00
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>7</value>
|
2017-06-13 15:24:56 -04:00
|
|
|
</equals>
|
2018-07-25 08:37:44 -04:00
|
|
|
</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>
|
2017-06-09 18:27:30 -04:00
|
|
|
</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>
|
2018-11-09 15:54:28 -05:00
|
|
|
<scale>750.0</scale>
|
2017-06-09 18:27:30 -04:00
|
|
|
</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>
|
2018-11-09 15:54:28 -05:00
|
|
|
<scale>750.0</scale>
|
2017-06-09 18:27:30 -04:00
|
|
|
</reference>
|
2018-10-19 17:45:13 -04:00
|
|
|
<output>/it-autoflight/internal/target-fpm-b</output>
|
2017-06-09 18:27:30 -04:00
|
|
|
<config>
|
|
|
|
<Kp>
|
|
|
|
<condition>
|
2017-06-13 15:24:56 -04:00
|
|
|
<not-equals>
|
2017-06-09 18:27:30 -04:00
|
|
|
<property>/it-autoflight/output/vert</property>
|
2017-06-13 15:24:56 -04:00
|
|
|
<value>7</value>
|
|
|
|
</not-equals>
|
2017-06-09 18:27:30 -04:00
|
|
|
</condition>
|
2017-11-29 11:54:17 -05:00
|
|
|
<value>-55</value>
|
2017-06-09 18:27:30 -04:00
|
|
|
</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>
|
2017-10-20 10:48:27 -04:00
|
|
|
<expression>
|
|
|
|
<dif>
|
|
|
|
<property>/it-autoflight/internal/vert-speed-fpm</property>
|
|
|
|
<value>2500</value>
|
|
|
|
</dif>
|
|
|
|
</expression>
|
2017-06-09 18:27:30 -04:00
|
|
|
</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>
|
2017-10-20 10:48:27 -04:00
|
|
|
<expression>
|
|
|
|
<sum>
|
|
|
|
<property>/it-autoflight/internal/vert-speed-fpm</property>
|
|
|
|
<value>2500</value>
|
|
|
|
</sum>
|
|
|
|
</expression>
|
2017-06-09 18:27:30 -04:00
|
|
|
</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>
|
2017-06-21 11:18:55 -04:00
|
|
|
<u_min>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/thr-mode</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
2018-07-25 08:48:11 -04:00
|
|
|
<expression>
|
|
|
|
<dif>
|
|
|
|
<property>/it-autoflight/internal/vert-speed-fpm</property>
|
|
|
|
<value>2500</value>
|
|
|
|
</dif>
|
|
|
|
</expression>
|
2017-06-21 11:18:55 -04:00
|
|
|
</u_min>
|
|
|
|
<u_max>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/thr-mode</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
2018-07-25 08:48:11 -04:00
|
|
|
<expression>
|
|
|
|
<sum>
|
|
|
|
<property>/it-autoflight/internal/vert-speed-fpm</property>
|
|
|
|
<value>2500</value>
|
|
|
|
</sum>
|
|
|
|
</expression>
|
2017-06-21 11:18:55 -04:00
|
|
|
</u_max>
|
2017-06-09 18:27:30 -04:00
|
|
|
</config>
|
|
|
|
</pid-controller>
|
|
|
|
|
2017-06-21 11:18:55 -04:00
|
|
|
<filter>
|
|
|
|
<name>TARGET FPM</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<type>gain</type>
|
2017-11-27 10:19:44 -05:00
|
|
|
<gain>1.0</gain>
|
2017-06-21 11:18:55 -04:00
|
|
|
<input>
|
|
|
|
<condition>
|
2019-03-14 13:58:02 -04:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
2017-06-21 11:18:55 -04:00
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/internal/target-fpm</property>
|
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
2017-11-04 20:53:30 -04:00
|
|
|
<property>/it-autoflight/input/vs</property>
|
2017-06-21 11:18:55 -04:00
|
|
|
</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>
|
2017-10-04 21:01:25 -04:00
|
|
|
<property>/it-autoflight/internal/target-fpm-c2</property>
|
2017-06-21 11:18:55 -04:00
|
|
|
</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>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>2</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/internal/nav1-rate-of-climb-fpm</property>
|
|
|
|
</input>
|
|
|
|
<output>/it-autoflight/internal/target-common-fpm</output>
|
|
|
|
</filter>
|
|
|
|
|
2017-06-09 18:27:30 -04:00
|
|
|
<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>
|
2017-06-21 11:18:55 -04:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>5</value>
|
|
|
|
</equals>
|
2017-10-08 15:56:15 -04:00
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>6</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>
|
2017-06-09 18:27:30 -04:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>7</value>
|
|
|
|
</equals>
|
2017-06-13 15:24:56 -04:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>8</value>
|
|
|
|
</equals>
|
2017-06-09 18:27:30 -04:00
|
|
|
</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>
|
2018-10-19 17:45:13 -04:00
|
|
|
<input>/it-autoflight/internal/vert-speed-fpm</input>
|
2017-06-09 18:27:30 -04:00
|
|
|
<reference>
|
|
|
|
<condition>
|
2019-03-14 13:58:02 -04:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
2017-06-09 18:27:30 -04:00
|
|
|
</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>
|
2017-06-21 11:18:55 -04:00
|
|
|
<reference>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>5</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/internal/target-fpm-d</property>
|
|
|
|
</reference>
|
2017-06-09 18:27:30 -04:00
|
|
|
<reference>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>2</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/internal/nav1-rate-of-climb-fpm</property>
|
|
|
|
</reference>
|
2018-10-19 17:45:13 -04:00
|
|
|
<output>/it-autoflight/internal/target-pitch-deg</output>
|
2017-06-09 18:27:30 -04:00
|
|
|
<config>
|
|
|
|
<Kp>
|
|
|
|
<condition>
|
|
|
|
<not-equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>6</value>
|
|
|
|
</not-equals>
|
|
|
|
</condition>
|
2018-07-24 18:52:36 -04:00
|
|
|
<expression>
|
|
|
|
<table>
|
2018-11-15 14:09:26 -05:00
|
|
|
<property>/fdm/jsbsim/velocities/vc-kts</property>
|
|
|
|
<entry><ind>140</ind><dep>0.0029</dep></entry>
|
|
|
|
<entry><ind>360</ind><dep>0.0009</dep></entry>
|
2018-07-24 18:52:36 -04:00
|
|
|
</table>
|
|
|
|
</expression>
|
2017-06-09 18:27:30 -04:00
|
|
|
</Kp>
|
|
|
|
<Kp>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>6</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
2017-12-17 17:57:32 -05:00
|
|
|
<value>0.0055</value>
|
2017-06-09 18:27:30 -04:00
|
|
|
</Kp>
|
2018-07-24 18:52:36 -04:00
|
|
|
<Ti>2.5</Ti>
|
2017-06-09 18:27:30 -04:00
|
|
|
<Td>0.0001</Td>
|
|
|
|
<u_min>
|
|
|
|
<condition>
|
|
|
|
<not-equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>6</value>
|
|
|
|
</not-equals>
|
|
|
|
</condition>
|
2018-07-24 18:52:36 -04:00
|
|
|
<expression>
|
2018-07-25 16:30:45 -04:00
|
|
|
<max>
|
|
|
|
<dif>
|
2018-07-24 18:52:36 -04:00
|
|
|
<property>/orientation/pitch-deg</property>
|
2018-07-25 16:30:45 -04:00
|
|
|
<value>5</value>
|
|
|
|
</dif>
|
|
|
|
<value>-10</value>
|
|
|
|
</max>
|
2018-07-24 18:52:36 -04:00
|
|
|
</expression>
|
2017-06-09 18:27:30 -04:00
|
|
|
</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>
|
2018-07-24 18:52:36 -04:00
|
|
|
<expression>
|
2018-07-25 16:30:45 -04:00
|
|
|
<min>
|
|
|
|
<sum>
|
2018-07-24 18:52:36 -04:00
|
|
|
<property>/orientation/pitch-deg</property>
|
2018-07-25 16:30:45 -04:00
|
|
|
<value>5</value>
|
|
|
|
</sum>
|
|
|
|
<value>30</value>
|
|
|
|
</min>
|
2018-07-24 18:52:36 -04:00
|
|
|
</expression>
|
2017-06-09 18:27:30 -04:00
|
|
|
</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>
|
2017-12-01 12:02:35 -05:00
|
|
|
<gain>1.0</gain>
|
2017-06-09 18:27:30 -04:00
|
|
|
<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>
|
2018-10-19 17:47:09 -04:00
|
|
|
|
2017-07-21 22:32:12 -04:00
|
|
|
<filter>
|
|
|
|
<name>System Command: Pitch Rate</name>
|
2017-06-09 18:27:30 -04:00
|
|
|
<debug>false</debug>
|
2017-07-21 22:32:12 -04:00
|
|
|
<type>gain</type>
|
2017-12-17 17:57:32 -05:00
|
|
|
<gain>0.15</gain>
|
2018-10-19 17:45:13 -04:00
|
|
|
<input>/orientation/pitch-deg</input>
|
|
|
|
<reference>/it-autoflight/internal/target-pitch-deg</reference>
|
|
|
|
<output>/fdm/jsbsim/fbw/fmgc/pitch-cmd</output> <!-- Inputs to the FBW Pitch -->
|
2017-12-17 17:57:32 -05:00
|
|
|
<min>-0.3</min>
|
|
|
|
<max>0.3</max>
|
2017-07-21 22:32:12 -04:00
|
|
|
</filter>
|
2017-06-09 18:27:30 -04:00
|
|
|
|
|
|
|
</PropertyList>
|