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

View file

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

View file

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