1
0
Fork 0

Modifications to support new altimeter and static port models in

FlightGear.
This commit is contained in:
david 2002-09-27 18:26:42 +00:00
parent 5a6cbb713f
commit 3b85be3398
3 changed files with 55 additions and 48 deletions

View file

@ -48,10 +48,10 @@ properties' values.
<transformations>
<transformation>
<type>rotation</type>
<property>/steam/altimeter-datum-mb</property>
<min>945</min>
<max>1090</max>
<scale>-2.9533373</scale> <!-- degrees rotation per millibar -->
<property>/instrumentation/altimeter/setting-inhg</property>
<min>26.0</min>
<max>33.0</max>
<scale>-99.89</scale> <!-- degrees rotation per millibar -->
<offset>120</offset>
</transformation>
</transformations>
@ -80,7 +80,7 @@ properties' values.
<transformations>
<transformation>
<type>rotation</type>
<property>/steam/altitude-ft</property>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<max>100000.0</max>
<scale>0.0036</scale>
</transformation>
@ -104,7 +104,7 @@ properties' values.
<transformations>
<transformation>
<type>rotation</type>
<property>/steam/altitude-ft</property>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<max>100000.0</max>
<scale>0.036</scale>
</transformation>
@ -128,7 +128,7 @@ properties' values.
<transformations>
<transformation>
<type>rotation</type>
<property>/steam/altitude-ft</property>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<max>100000.0</max>
<scale>0.36</scale>
</transformation>
@ -159,10 +159,10 @@ properties' values.
<h>45</h>
<binding>
<command>property-adjust</command>
<property>/steam/altimeter-datum-mb</property>
<step>-0.3386</step>
<min>945</min>
<max>1090</max>
<property>/instrumentation/altimeter/setting-inhg</property>
<step>-0.01</step>
<min>26.0</min>
<max>33.0</max>
<wrap>false</wrap>
</binding>
</action>
@ -175,10 +175,10 @@ properties' values.
<h>45</h>
<binding>
<command>property-adjust</command>
<property>/steam/altimeter-datum-mb</property>
<step>-3.386</step>
<min>945</min>
<max>1090</max>
<property>/instrumentation/altimeter/setting-inhg</property>
<step>-0.1</step>
<min>26.0</min>
<max>33.0</max>
<wrap>false</wrap>
</binding>
</action>
@ -191,10 +191,10 @@ properties' values.
<h>45</h>
<binding>
<command>property-adjust</command>
<property>/steam/altimeter-datum-mb</property>
<step>0.3386</step>
<min>945</min>
<max>1090</max>
<property>/instrumentation/altimeter/setting-inhg</property>
<step>0.01</step>
<min>26.0</min>
<max>33.0</max>
<wrap>false</wrap>
</binding>
</action>
@ -207,10 +207,10 @@ properties' values.
<h>45</h>
<binding>
<command>property-adjust</command>
<property>/steam/altimeter-datum-mb</property>
<step>3.386</step>
<min>945</min>
<max>1090</max>
<property>/instrumentation/altimeter/setting-inhg</property>
<step>0.1</step>
<min>26.0</min>
<max>33.0</max>
<wrap>false</wrap>
</binding>
</action>

View file

@ -62,8 +62,8 @@ properties' values.
<transformations>
<transformation>
<type>rotation</type>
<property>/steam/altimeter-datum-mb</property>
<scale>-4.5</scale> <!-- degrees rotation per millibar -->
<property>/instrumentation/altimeter/setting-inhg</property>
<scale>-152.37</scale> <!-- degrees rotation per inHG -->
</transformation>
</transformations>
</layer>
@ -82,7 +82,7 @@ properties' values.
<layer>
<name>numeric datum</name>
<type>text</type>
<point-size>10</point-size>
<point-size>8</point-size>
<color>
<red>1.0</red>
<green>1.0</green>
@ -91,9 +91,8 @@ properties' values.
<chunks>
<chunk>
<type>number-value</type>
<property>/steam/altimeter-datum-mb</property>
<!-- <format>%5.2f</format> <scale>0.029530</scale> --> <!-- Display inHg -->
<format>%4.0f</format> <!-- Display mb -->
<property>/instrumentation/altimeter/setting-inhg</property>
<format>%2.2f</format>
</chunk>
</chunks>
<transformations>
@ -121,7 +120,7 @@ properties' values.
<transformations>
<transformation>
<type>rotation</type>
<property>/steam/altitude-ft</property>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<max>100000.0</max>
<scale>0.036</scale>
</transformation>
@ -145,7 +144,7 @@ properties' values.
<transformations>
<transformation>
<type>rotation</type>
<property>/steam/altitude-ft</property>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<max>100000.0</max>
<scale>0.36</scale>
</transformation>
@ -169,7 +168,7 @@ properties' values.
<transformations>
<transformation>
<type>rotation</type>
<property>/steam/altitude-ft</property>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<max>100000.0</max>
<scale>0.0036</scale>
</transformation>
@ -253,10 +252,10 @@ properties' values.
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/steam/altimeter-datum-mb</property>
<step>-0.333333</step>
<min>500</min>
<max>1100</max>
<property>/instrumentation/altimeter/setting-inhg</property>
<step>-0.01</step>
<min>26.0</min>
<max>33.0</max>
<wrap>false</wrap>
</binding>
</action>
@ -270,10 +269,10 @@ properties' values.
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/steam/altimeter-datum-mb</property>
<step>-5</step>
<min>500</min>
<max>1100</max>
<property>/instrumentation/altimeter/setting-inhg</property>
<step>-0.1</step>
<min>26.0</min>
<max>33.0</max>
<wrap>false</wrap>
</binding>
</action>
@ -287,10 +286,10 @@ properties' values.
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/steam/altimeter-datum-mb</property>
<step>0.333333</step>
<min>500</min>
<max>1100</max>
<property>/instrumentation/altimeter/setting-inhg</property>
<step>0.1</step>
<min>26.0</min>
<max>33.0</max>
<wrap>false</wrap>
</binding>
</action>
@ -304,10 +303,10 @@ properties' values.
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/steam/altimeter-datum-mb</property>
<step>5</step>
<min>500</min>
<max>1100</max>
<property>/instrumentation/altimeter/setting-inhg</property>
<step>0.1</step>
<min>26.0</min>
<max>33.0</max>
<wrap>false</wrap>
</binding>
</action>

View file

@ -368,12 +368,20 @@ Started September 2000 by David Megginson, david@megginson.com
</steam>
<instrumentation>
<altimeter>
<serviceable type="bool">true</serviceable>
<setting-inhg type="double">29.92</setting-inhg>
</altimeter>
<attitude-indicator>
<serviceable type="bool">true</serviceable>
</attitude-indicator>
</instrumentation>
<systems>
<static>
<serviceable type="bool">true</serviceable>
<pressure-inhg type="double">29.92</pressure-inhg>
</static>
<vacuum>
<serviceable type="bool">true</serviceable>
</vacuum>