A3XX: Improve Autothrust, Add Thrust Difference CMD to A/THR
This commit is contained in:
parent
066a523594
commit
f96d3f0d59
3 changed files with 170 additions and 22 deletions
|
@ -350,17 +350,7 @@
|
|||
<debug>false</debug>
|
||||
<feedback-if-disabled>true</feedback-if-disabled>
|
||||
<initialize-to>output</initialize-to>
|
||||
<enable>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/athr</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</condition>
|
||||
</enable>
|
||||
<input>
|
||||
<property>/controls/engines/engine[0]/throttle-cmd-pid</property>
|
||||
</input>
|
||||
<input>/controls/engines/engine[0]/throttle-cmd-pid</input>
|
||||
<output>/controls/engines/engine[0]/throttle-cmd</output>
|
||||
<type>noise-spike</type>
|
||||
<max-rate-of-change>0.1</max-rate-of-change>
|
||||
|
@ -607,17 +597,7 @@
|
|||
<debug>false</debug>
|
||||
<feedback-if-disabled>true</feedback-if-disabled>
|
||||
<initialize-to>output</initialize-to>
|
||||
<enable>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/athr</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</condition>
|
||||
</enable>
|
||||
<input>
|
||||
<property>/controls/engines/engine[1]/throttle-cmd-pid</property>
|
||||
</input>
|
||||
<input>/controls/engines/engine[1]/throttle-cmd-pid</input>
|
||||
<output>/controls/engines/engine[1]/throttle-cmd</output>
|
||||
<type>noise-spike</type>
|
||||
<max-rate-of-change>0.1</max-rate-of-change>
|
||||
|
|
|
@ -125,6 +125,72 @@
|
|||
<output>/engines/engine[1]/n1-cmd</output>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>N1 A/THR CMD 1</name>
|
||||
<type>gain</type>
|
||||
<gain>1</gain>
|
||||
<update-interval-secs type="double">0.05</update-interval-secs>
|
||||
<input>
|
||||
<expression>
|
||||
<table>
|
||||
<property>/controls/engines/engine[0]/throttle-cmd-pid</property>
|
||||
<entry><ind>0.00</ind><dep> 22.4</dep></entry>
|
||||
<entry><ind>1.00</ind><dep>105.8</dep></entry>
|
||||
</table>
|
||||
</expression>
|
||||
</input>
|
||||
<output>/engines/engine[0]/n1-athr-cmd</output>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>N1 A/THR CMD 2</name>
|
||||
<type>gain</type>
|
||||
<gain>1</gain>
|
||||
<update-interval-secs type="double">0.05</update-interval-secs>
|
||||
<input>
|
||||
<expression>
|
||||
<table>
|
||||
<property>/controls/engines/engine[1]/throttle-cmd-pid</property>
|
||||
<entry><ind>0.00</ind><dep> 22.4</dep></entry>
|
||||
<entry><ind>1.00</ind><dep>105.8</dep></entry>
|
||||
</table>
|
||||
</expression>
|
||||
</input>
|
||||
<output>/engines/engine[1]/n1-athr-cmd</output>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>N1 A/THR DIFFERENCE 1</name>
|
||||
<type>gain</type>
|
||||
<gain>1</gain>
|
||||
<update-interval-secs type="double">0.05</update-interval-secs>
|
||||
<input>
|
||||
<expression>
|
||||
<dif>
|
||||
<property>/engines/engine[0]/n1</property>
|
||||
<property>/engines/engine[0]/n1-athr-cmd</property>
|
||||
</dif>
|
||||
</expression>
|
||||
</input>
|
||||
<output>/engines/engine[0]/n1-diff</output>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>N1 A/THR DIFFERENCE 2</name>
|
||||
<type>gain</type>
|
||||
<gain>1</gain>
|
||||
<update-interval-secs type="double">0.05</update-interval-secs>
|
||||
<input>
|
||||
<expression>
|
||||
<dif>
|
||||
<property>/engines/engine[1]/n1</property>
|
||||
<property>/engines/engine[1]/n1-athr-cmd</property>
|
||||
</dif>
|
||||
</expression>
|
||||
</input>
|
||||
<output>/engines/engine[1]/n1-diff</output>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>Throttle 1</name>
|
||||
<debug>false</debug>
|
||||
|
|
|
@ -272,6 +272,108 @@
|
|||
<output>/engines/engine[1]/epr-cmd</output>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>EPR A/THR CMD 1</name>
|
||||
<type>gain</type>
|
||||
<gain>1</gain>
|
||||
<update-interval-secs type="double">0.05</update-interval-secs>
|
||||
<input>
|
||||
<expression>
|
||||
<table>
|
||||
<property>/controls/engines/engine[0]/throttle-cmd-pid</property>
|
||||
<entry><ind>0.000</ind><dep>0.03</dep></entry>
|
||||
<entry><ind>0.141</ind><dep>0.20</dep></entry>
|
||||
<entry><ind>1.000</ind><dep>1.00</dep></entry>
|
||||
</table>
|
||||
</expression>
|
||||
<scale>/engines/epr-scale</scale>
|
||||
</input>
|
||||
<output>/engines/engine[0]/epr-athr-cmd</output>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>EPR A/THR CMD 1</name>
|
||||
<type>gain</type>
|
||||
<gain>1</gain>
|
||||
<update-interval-secs type="double">0.05</update-interval-secs>
|
||||
<input>
|
||||
<expression>
|
||||
<sum>
|
||||
<property>/engines/engine[0]/epr-athr-cmd</property>
|
||||
<property>/engines/epr-scale-b</property>
|
||||
</sum>
|
||||
</expression>
|
||||
</input>
|
||||
<output>/engines/engine[0]/epr-athr</output>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>EPR A/THR CMD 2</name>
|
||||
<type>gain</type>
|
||||
<gain>1</gain>
|
||||
<update-interval-secs type="double">0.05</update-interval-secs>
|
||||
<input>
|
||||
<expression>
|
||||
<table>
|
||||
<property>/controls/engines/engine[1]/throttle-cmd-pid</property>
|
||||
<entry><ind>0.000</ind><dep>0.03</dep></entry>
|
||||
<entry><ind>0.141</ind><dep>0.20</dep></entry>
|
||||
<entry><ind>1.000</ind><dep>1.00</dep></entry>
|
||||
</table>
|
||||
</expression>
|
||||
<scale>/engines/epr-scale</scale>
|
||||
</input>
|
||||
<output>/engines/engine[1]/epr-athr-cmd</output>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>EPR A/THR CMD 2</name>
|
||||
<type>gain</type>
|
||||
<gain>1</gain>
|
||||
<update-interval-secs type="double">0.05</update-interval-secs>
|
||||
<input>
|
||||
<expression>
|
||||
<sum>
|
||||
<property>/engines/engine[1]/epr-athr-cmd</property>
|
||||
<property>/engines/epr-scale-b</property>
|
||||
</sum>
|
||||
</expression>
|
||||
</input>
|
||||
<output>/engines/engine[1]/epr-athr</output>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>EPR A/THR DIFFERENCE 1</name>
|
||||
<type>gain</type>
|
||||
<gain>1</gain>
|
||||
<update-interval-secs type="double">0.05</update-interval-secs>
|
||||
<input>
|
||||
<expression>
|
||||
<dif>
|
||||
<property>/engines/engine[0]/epr-actual</property>
|
||||
<property>/engines/engine[0]/epr-athr</property>
|
||||
</dif>
|
||||
</expression>
|
||||
</input>
|
||||
<output>/engines/engine[0]/epr-diff</output>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>EPR A/THR DIFFERENCE 2</name>
|
||||
<type>gain</type>
|
||||
<gain>1</gain>
|
||||
<update-interval-secs type="double">0.05</update-interval-secs>
|
||||
<input>
|
||||
<expression>
|
||||
<dif>
|
||||
<property>/engines/engine[1]/epr-actual</property>
|
||||
<property>/engines/engine[1]/epr-athr</property>
|
||||
</dif>
|
||||
</expression>
|
||||
</input>
|
||||
<output>/engines/engine[1]/epr-diff</output>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>Throttle 1</name>
|
||||
<debug>false</debug>
|
||||
|
|
Reference in a new issue