Add Target Mach properly to PFD

This commit is contained in:
Joshua Davidson 2017-06-03 17:52:43 -04:00
parent 6f4f361a91
commit 214666ac3d
6 changed files with 1534 additions and 1498 deletions

View file

@ -65,7 +65,7 @@
<path>Aircraft/A320Family/Systems/it-fbw-b.xml</path>
</autopilot>
<autopilot n="3">
<path>Aircraft/A320Family/Systems/fmgc-autofight.xml</path>
<path>Aircraft/A320Family/Systems/fmgc-b.xml</path>
</autopilot>
<autopilot n="4">
<path>Aircraft/A320Family/Systems/custom-autothrust.xml</path>
@ -74,7 +74,7 @@
<path>Aircraft/A320Family/Systems/engine-timing.xml</path>
</autopilot>
<autopilot n="6">
<path>Aircraft/A320Family/Systems/fmgc-b.xml</path>
<path>Aircraft/A320Family/Systems/fmgc-c.xml</path>
</autopilot>
<autopilot n="7">
<path>Systems/fl2070_sound.xml</path>

View file

@ -1166,7 +1166,7 @@
<object-name>trgt-spd-mng</object-name>
<transform>
<subtype>textranslate</subtype>
<property>/it-autoflight/input/spd-kts</property>
<property>/FMGC/internal/target-ias-pfd</property>
<factor>0.002001953</factor>
<axis>
<y>-1</y>

View file

@ -1166,7 +1166,7 @@
<object-name>trgt-spd-mng</object-name>
<transform>
<subtype>textranslate</subtype>
<property>/it-autoflight/input/spd-kts</property>
<property>/FMGC/internal/target-ias-pfd</property>
<factor>0.002001953</factor>
<axis>
<y>-1</y>

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

89
Systems/fmgc-c.xml Normal file
View file

@ -0,0 +1,89 @@
<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
<filter>
<name>FMGC MNG SPD</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<product>
<table>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<entry><ind>10000</ind><dep>286</dep></entry>
<entry><ind>42000</ind><dep>249</dep></entry>
</table>
<table>
<property>/FMGC/internal/cost-index</property>
<entry><ind> 0</ind><dep>1.0</dep></entry>
<entry><ind>120</ind><dep>1.1</dep></entry>
</table>
</product>
</expression>
</input>
<output>/FMGC/internal/mng-alt-spd</output>
</filter>
<filter>
<name>FMGC MNG MACH</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<product>
<table>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<entry><ind>26000</ind><dep>0.705</dep></entry>
<entry><ind>42000</ind><dep>0.815</dep></entry>
</table>
<table>
<property>/FMGC/internal/cost-index</property>
<entry><ind> 0</ind><dep>0.97</dep></entry>
<entry><ind>120</ind><dep>1.03</dep></entry>
</table>
</product>
</expression>
</input>
<output>/FMGC/internal/mng-alt-mach</output>
</filter>
<filter>
<name>FMGC Target IAS PFD</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.1</update-interval-secs>
<input>
<condition>
<equals>
<property>/it-autoflight/input/kts-mach</property>
<value>0</value>
</equals>
</condition>
<property>/it-autoflight/input/spd-kts</property>
</input>
<input>
<condition>
<equals>
<property>/it-autoflight/input/kts-mach</property>
<value>1</value>
</equals>
</condition>
<expression>
<floor>
<product>
<div>
<property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
<property>/instrumentation/airspeed-indicator/indicated-mach</property>
</div>
<property>/it-autoflight/input/spd-mach</property>
</product>
</floor>
</expression>
</input>
<output>/FMGC/internal/target-ias-pfd</output>
</filter>
</PropertyList>