865 lines
19 KiB
XML
865 lines
19 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<!-- IT-AUTOFLIGHT -->
|
|
|
|
<PropertyList>
|
|
|
|
<!-- =============================================================== -->
|
|
<!-- Vertical Modes -->
|
|
<!-- =============================================================== -->
|
|
|
|
<filter>
|
|
<name>ALTITUDE CAPTURE/HOLD</name>
|
|
<debug>false</debug>
|
|
<type>gain</type>
|
|
<input>
|
|
<property>/it-autoflight/internal/altitude-5-sec-ahead</property>
|
|
</input>
|
|
<reference>
|
|
<condition>
|
|
<not-equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>8</value>
|
|
</not-equals>
|
|
</condition>
|
|
<property>/it-autoflight/internal/alt</property>
|
|
</reference>
|
|
<reference>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>8</value>
|
|
</equals>
|
|
</condition>
|
|
<property>/it-autoflight/internal/mng-alt</property>
|
|
</reference>
|
|
<gain>-8</gain>
|
|
<output>
|
|
<property>/it-autoflight/internal/target-fpm</property>
|
|
</output>
|
|
<min>
|
|
<property>/it-autoflight/internal/min-vs</property>
|
|
</min>
|
|
<max>
|
|
<property>/it-autoflight/internal/max-vs</property>
|
|
</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>
|
|
<property>/it-autoflight/internal/fpa</property>
|
|
</input>
|
|
<reference>
|
|
<property>/it-autoflight/input/fpa</property>
|
|
</reference>
|
|
<output>
|
|
<property>/it-autoflight/internal/target-fpm-d</property>
|
|
</output>
|
|
<config>
|
|
<Kp>120</Kp>
|
|
<beta>1.0</beta>
|
|
<alpha>0.1</alpha>
|
|
<gamma>0.0</gamma>
|
|
<Ti>1.0</Ti>
|
|
<Td>0.00001</Td>
|
|
<u_min>-6000</u_min>
|
|
<u_max>8000</u_max>
|
|
</config>
|
|
</pid-controller>
|
|
|
|
<pid-controller>
|
|
<name>FLCH SPEED BY PITCH</name>
|
|
<debug>false</debug>
|
|
<enable>
|
|
<condition>
|
|
<or>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>4</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>7</value>
|
|
</equals>
|
|
<and>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>8</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert-mng</property>
|
|
<value>4</value>
|
|
</equals>
|
|
</and>
|
|
</or>
|
|
</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>500.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>500.0</scale>
|
|
</reference>
|
|
<output>
|
|
<property>/it-autoflight/internal/target-fpm-b</property>
|
|
</output>
|
|
<config>
|
|
<Kp>
|
|
<condition>
|
|
<not-equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>7</value>
|
|
</not-equals>
|
|
</condition>
|
|
<value>-50</value>
|
|
</Kp>
|
|
<Kp>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>7</value>
|
|
</equals>
|
|
</condition>
|
|
<value>-60</value>
|
|
</Kp>
|
|
<beta>1.0</beta>
|
|
<alpha>0.1</alpha>
|
|
<gamma>0.0</gamma>
|
|
<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>
|
|
<value>-6000</value>
|
|
</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>
|
|
<value>10000</value>
|
|
</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>
|
|
<value>-6000</value>
|
|
</u_min>
|
|
<u_max>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/output/thr-mode</property>
|
|
<value>0</value>
|
|
</equals>
|
|
</condition>
|
|
<value>10000</value>
|
|
</u_max>
|
|
</config>
|
|
</pid-controller>
|
|
|
|
<filter>
|
|
<name>TARGET FPM</name>
|
|
<debug>false</debug>
|
|
<type>gain</type>
|
|
<gain>1</gain>
|
|
<input>
|
|
<condition>
|
|
<or>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>0</value>
|
|
</equals>
|
|
<and>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>8</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert-mng</property>
|
|
<value>0</value>
|
|
</equals>
|
|
</and>
|
|
</or>
|
|
</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/internal/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>
|
|
<and>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>8</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert-mng</property>
|
|
<value>4</value>
|
|
</equals>
|
|
</and>
|
|
</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>
|
|
<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>
|
|
|
|
<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>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>8</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>
|
|
<property>/it-autoflight/internal/vert-speed-fpm</property>
|
|
<scale>0.16667</scale>
|
|
</input>
|
|
<reference>
|
|
<condition>
|
|
<or>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>0</value>
|
|
</equals>
|
|
<and>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>8</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert-mng</property>
|
|
<value>0</value>
|
|
</equals>
|
|
</and>
|
|
</or>
|
|
</condition>
|
|
<property>/it-autoflight/internal/target-fpm</property>
|
|
<scale>0.16667</scale>
|
|
</reference>
|
|
<reference>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</condition>
|
|
<property>/it-autoflight/internal/vs</property>
|
|
<scale>0.16667</scale>
|
|
</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>
|
|
<and>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>8</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert-mng</property>
|
|
<value>4</value>
|
|
</equals>
|
|
</and>
|
|
</or>
|
|
</condition>
|
|
<property>/it-autoflight/internal/target-fpm-b</property>
|
|
<scale>0.16667</scale>
|
|
</reference>
|
|
<reference>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>6</value>
|
|
</equals>
|
|
</condition>
|
|
<property>/it-autoflight/internal/target-fpm-c</property>
|
|
<scale>0.16667</scale>
|
|
</reference>
|
|
<reference>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>5</value>
|
|
</equals>
|
|
</condition>
|
|
<property>/it-autoflight/internal/target-fpm-d</property>
|
|
<scale>0.16667</scale>
|
|
</reference>
|
|
<reference>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>2</value>
|
|
</equals>
|
|
</condition>
|
|
<property>/it-autoflight/internal/nav1-rate-of-climb-fpm</property>
|
|
<scale>0.16667</scale>
|
|
</reference>
|
|
<output>
|
|
<property>/it-autoflight/internal/target-pitch-deg</property>
|
|
</output>
|
|
<config>
|
|
<Kp>
|
|
<condition>
|
|
<not-equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>6</value>
|
|
</not-equals>
|
|
</condition>
|
|
<property>/it-autoflight/config/cmd/vs</property>
|
|
</Kp>
|
|
<Kp>
|
|
<condition>
|
|
<equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>6</value>
|
|
</equals>
|
|
</condition>
|
|
<property>/it-autoflight/config/autoland/kp-pitch</property>
|
|
</Kp>
|
|
<Ti>3.0</Ti>
|
|
<Td>0.0001</Td>
|
|
<u_min>
|
|
<condition>
|
|
<not-equals>
|
|
<property>/it-autoflight/output/vert</property>
|
|
<value>6</value>
|
|
</not-equals>
|
|
</condition>
|
|
<value>-10</value>
|
|
</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>
|
|
<value>30</value>
|
|
</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</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>
|
|
|
|
<pid-controller>
|
|
<name>IT-CONTROLLER: PITCH</name>
|
|
<debug>false</debug>
|
|
<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>
|
|
<property>/orientation/pitch-deg</property>
|
|
</input>
|
|
<reference>
|
|
<property>/it-autoflight/internal/target-pitch-deg</property>
|
|
</reference>
|
|
<output>
|
|
<property>/it-autoflight/internal/elevator-cmd</property>
|
|
</output>
|
|
<config>
|
|
<Kp>
|
|
<property>/it-autoflight/config/pitch/kp</property>
|
|
</Kp>
|
|
<beta>1.0</beta>
|
|
<alpha>0.1</alpha>
|
|
<gamma>0.0</gamma>
|
|
<Ti>
|
|
<property>/it-autoflight/config/pitch/ti</property>
|
|
</Ti>
|
|
<Td>
|
|
<property>/it-autoflight/config/pitch/td</property>
|
|
</Td>
|
|
<u_min>
|
|
<property>/it-autoflight/config/pitch/umin</property>
|
|
</u_min>
|
|
<u_max>
|
|
<property>/it-autoflight/config/pitch/umax</property>
|
|
</u_max>
|
|
</config>
|
|
</pid-controller>
|
|
|
|
<filter>
|
|
<name>IT-CONTROLLER: PITCH CMD</name>
|
|
<debug>false</debug>
|
|
<feedback-if-disabled>true</feedback-if-disabled>
|
|
<initialize-to>output</initialize-to>
|
|
<input>
|
|
<condition>
|
|
<and>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap1</property>
|
|
<value>0</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap2</property>
|
|
<value>0</value>
|
|
</equals>
|
|
</and>
|
|
</condition>
|
|
<property>/controls/flight/elevator-fbw</property>
|
|
</input>
|
|
<input>
|
|
<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>
|
|
<property>/it-autoflight/internal/elevator-cmd</property>
|
|
</input>
|
|
<output>/controls/flight/elevator-fmgc</output>
|
|
<type>noise-spike</type>
|
|
<max-rate-of-change>
|
|
<condition>
|
|
<and>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap1</property>
|
|
<value>0</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/it-autoflight/output/ap2</property>
|
|
<value>0</value>
|
|
</equals>
|
|
</and>
|
|
</condition>
|
|
<value>10</value>
|
|
</max-rate-of-change>
|
|
<max-rate-of-change>
|
|
<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>0.35</value>
|
|
</max-rate-of-change>
|
|
</filter>
|
|
|
|
<!-- =============================================================== -->
|
|
<!-- Autotrim -->
|
|
<!-- =============================================================== -->
|
|
|
|
<pid-controller>
|
|
<name>AP PITCH HELPER PLUS</name>
|
|
<debug>false</debug>
|
|
<enable>
|
|
<condition>
|
|
<and>
|
|
<greater-than>
|
|
<property>/it-autoflight/internal/elevator-cmd</property>
|
|
<value>0.01</value>
|
|
</greater-than>
|
|
<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>
|
|
<value>0</value>
|
|
</input>
|
|
<reference>
|
|
<value>1</value>
|
|
</reference>
|
|
<output>
|
|
<property>/it-autoflight/internal/elevator-trim-cmd</property>
|
|
</output>
|
|
<config>
|
|
<Kp>0.08</Kp>
|
|
<beta>1.0</beta>
|
|
<alpha>0.1</alpha>
|
|
<gamma>0.0</gamma>
|
|
<Ti>10</Ti>
|
|
<Td>0.00001</Td>
|
|
<u_min>-1.00</u_min>
|
|
<u_max>1.00</u_max>
|
|
</config>
|
|
</pid-controller>
|
|
|
|
<pid-controller>
|
|
<name>AP PITCH HELPER MINUS</name>
|
|
<debug>false</debug>
|
|
<enable>
|
|
<condition>
|
|
<and>
|
|
<less-than>
|
|
<property>/it-autoflight/internal/elevator-cmd</property>
|
|
<value>-0.01</value>
|
|
</less-than>
|
|
<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>
|
|
<value>0</value>
|
|
</input>
|
|
<reference>
|
|
<value>1</value>
|
|
</reference>
|
|
<output>
|
|
<property>/it-autoflight/internal/elevator-trim-cmd</property>
|
|
</output>
|
|
<config>
|
|
<Kp>-0.08</Kp>
|
|
<beta>1.0</beta>
|
|
<alpha>0.1</alpha>
|
|
<gamma>0.0</gamma>
|
|
<Ti>10</Ti>
|
|
<Td>0.00001</Td>
|
|
<u_min>-1.00</u_min>
|
|
<u_max>1.00</u_max>
|
|
</config>
|
|
</pid-controller>
|
|
|
|
<filter>
|
|
<name>IT-CONTROLLER: PITCH TRIM CMD</name>
|
|
<debug>false</debug>
|
|
<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>
|
|
<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>
|
|
</and>
|
|
</condition>
|
|
</enable>
|
|
<input>
|
|
<property>/it-autoflight/internal/elevator-trim-cmd</property>
|
|
</input>
|
|
<output>/controls/flight/elevator-trim</output>
|
|
<type>noise-spike</type>
|
|
<max-rate-of-change>0.01</max-rate-of-change>
|
|
</filter>
|
|
|
|
</PropertyList>
|