A3XX: Fix that Ground Horizon thing on PFD
This commit is contained in:
parent
93c4382fb9
commit
8629ea00b2
2 changed files with 54 additions and 8 deletions
|
@ -122,10 +122,10 @@
|
|||
<path>Aircraft/A320Family/Systems/libraries.xml</path>
|
||||
</autopilot>
|
||||
<autopilot n="8">
|
||||
<path>Systems/fl2070_sound.xml</path>
|
||||
<path>Aircraft/A320Family/Systems/fl2070_sound.xml</path>
|
||||
</autopilot>
|
||||
<property-rule n="100">
|
||||
<path>Systems/pfd.xml</path>
|
||||
<path>Aircraft/A320Family/Systems/pfd.xml</path>
|
||||
</property-rule>
|
||||
</systems>
|
||||
|
||||
|
|
|
@ -277,20 +277,66 @@
|
|||
<name>Ground Horizon</name>
|
||||
<type>gain</type>
|
||||
<gain>1</gain>
|
||||
<update-interval-secs type="double">0.05</update-interval-secs>
|
||||
<update-interval-secs type="double">0.01</update-interval-secs>
|
||||
<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>
|
||||
<expression>
|
||||
<sum>
|
||||
<property>/orientation/pitch-deg</property>
|
||||
<dif>
|
||||
<table>
|
||||
<property>/position/gear-agl-ft</property>
|
||||
<entry><ind> 2</ind><dep> 0</dep></entry>
|
||||
<entry><ind>150</ind><dep>16</dep></entry>
|
||||
<entry><ind> 1</ind><dep> 0</dep></entry>
|
||||
<entry><ind>150</ind><dep> 16</dep></entry>
|
||||
</table>
|
||||
</sum>
|
||||
<table>
|
||||
<property>/orientation/pitch-deg</property>
|
||||
<entry><ind> 0</ind><dep> 0</dep></entry>
|
||||
<entry><ind>16</ind><dep>-16</dep></entry>
|
||||
</table>
|
||||
</dif>
|
||||
</expression>
|
||||
</input>
|
||||
<input>
|
||||
<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>
|
||||
<expression>
|
||||
<dif>
|
||||
<table>
|
||||
<property>/position/gear-agl-ft</property>
|
||||
<entry><ind> 1</ind><dep> 0</dep></entry>
|
||||
<entry><ind>150</ind><dep> 16</dep></entry>
|
||||
</table>
|
||||
<table>
|
||||
<property>/orientation/pitch-deg</property>
|
||||
<entry><ind>-16</ind><dep> 16</dep></entry>
|
||||
<entry><ind> 0</ind><dep> 0</dep></entry>
|
||||
<entry><ind> 16</ind><dep>-16</dep></entry>
|
||||
</table>
|
||||
</dif>
|
||||
</expression>
|
||||
</input>
|
||||
<output>/instrumentation/pfd/horizon-ground</output>
|
||||
<min>-16</min>
|
||||
<max>16</max>
|
||||
</filter>
|
||||
|
||||
|
|
Reference in a new issue