1
0
Fork 0
fgdata/preferences.xml
ehofman 4d4fef591b Melchior FRANZ:
These patches add a clock instrument, which allows to model failure ("serviceable") and to adjust the time independently of the system time (defaults to GMT). The main incentive is to make the p51d clock work and adjustable via the knob.

 o Offers a time string ("12:03:15") for the LCD or for LED
   clocks, or an empty string in case of failure/power off. The
   instrument assumes that digital clocks are battery buffered,
   so they will be updated even if there's nothing on the display.

 o Offers the number of seconds since midnight for analog
   clocks, like in the p51d. This number is not increased
   if !serviceable. So the clock will stand still and continue
   where it stopped when it's serviceable again.

I did not consider voltage yet, because the Mustang's clock will need a lot more current than the LCD clock. The instrument is updated 4 times per second but returns immediately if neither time nor offset changed. The function getGMTString() in fg_props.cxx could be removed after applying these patches.
2003-06-27 08:45:35 +00:00

613 lines
17 KiB
XML

<?xml version="1.0"?>
<!--
************************************************************************
Global defaults for FlightGear property values.
Started September 2000 by David Megginson, david@megginson.com
************************************************************************
-->
<PropertyList>
<!-- General simulation preferences -->
<sim>
<intl include="Translations/locale.xml"/>
<aircraft>c172-3d</aircraft>
<virtual-cockpit type="bool">false</virtual-cockpit>
<presets>
<airport-id>KSFO</airport-id>
<runway>28L</runway>
<trim type="bool">true</trim>
</presets>
<startup>
<xsize type="int">800</xsize>
<ysize type="int">600</ysize>
<splash-screen type="bool">true</splash-screen>
<intro-music type="bool">false</intro-music>
<game-mode type="bool">false</game-mode>
<fullscreen type="bool">false</fullscreen>
<units>feet</units>
<browser-app>netscape</browser-app><!-- help viewer -->
</startup>
<rendering>
<debug type="bool">false</debug>
<random-objects type="bool">true</random-objects>
<horizon-effect type="bool">false</horizon-effect>
<enhanced-lighting type="bool">false</enhanced-lighting>
<distance-attenuation type="bool">false</distance-attenuation>
<draw-otw type="bool">true</draw-otw>
</rendering>
<model-hz type="int">120</model-hz>
<sound>
<audible type="bool">true</audible>
<voice type="bool">true</voice>
</sound>
<speed-up type="double">1.0</speed-up>
<current-view>
<field-of-view type="double">55.0</field-of-view>
</current-view>
<panel>
<path>Aircraft/c172/Panels/c172-vfr-panel.xml</path>
<visibility type="bool">false</visibility>
<jitter type="bool">false</jitter>
</panel>
<hud>
<path>Huds/Default/default.xml</path>
<visibility type="bool">false</visibility>
</hud>
<instrument-options>
<nav n="0">
<has-gs-needle type="bool">true</has-gs-needle>
<needles-pivot type="bool">true</needles-pivot>
</nav>
<nav n="1">
<has-gs-needle type="bool">false</has-gs-needle>
<needles-pivot type="bool">true</needles-pivot>
</nav>
<hsi n="0">
<has-gs-needle type="bool">true</has-gs-needle>
</hsi>
<dg>
<style type="int">0</style>
</dg>
</instrument-options>
<input>
<selected>
<engine n="0" type="bool">true</engine>
<engine n="1" type="bool">false</engine>
<engine n="2" type="bool">false</engine>
<engine n="3" type="bool">false</engine>
</selected>
</input>
<number-views type="int">5</number-views>
<!-- "tower" positioned to right of runway at KSFO -->
<tower>
<longitude-deg type="double">-122.362175</longitude-deg>
<latitude-deg type="double">37.616559</latitude-deg>
<altitude-ft type="double">54</altitude-ft>
<roll-deg type="double">0</roll-deg>
<pitch-deg type="double">0</pitch-deg>
<heading-deg type="double">0</heading-deg>
</tower>
<view>
<name>Cockpit View</name>
<type>lookfrom</type>
<internal type="bool">false</internal>
<config>
<from-model type="bool">true</from-model>
<from-model-idx type="int">0</from-model-idx>
<ground-level-nearplane-m type="double">0.5f</ground-level-nearplane-m>
<default-field-of-view-deg type="double">55.0</default-field-of-view-deg>
<default-pitch-deg type="double">0</default-pitch-deg>
<default-heading-deg type="double">0</default-heading-deg>
<front-direction-deg type="double">0</front-direction-deg>
<front-left-direction-deg type="double">45</front-left-direction-deg>
<left-direction-deg type="double">90</left-direction-deg>
<back-left-direction-deg type="double">135</back-left-direction-deg>
<back-direction-deg type="double">180</back-direction-deg>
<back-right-direction-deg type="double">225</back-right-direction-deg>
<right-direction-deg type="double">270</right-direction-deg>
<front-right-direction-deg type="double">315</front-right-direction-deg>
</config>
</view>
<view>
<name>Chase View</name>
<type>lookat</type>
<config>
<from-model type="bool">false</from-model>
<from-model-idx type="int">0</from-model-idx>
<eye-lat-deg-path>/position/latitude-deg</eye-lat-deg-path>
<eye-lon-deg-path>/position/longitude-deg</eye-lon-deg-path>
<eye-alt-ft-path>/position/altitude-ft</eye-alt-ft-path>
<eye-heading-deg-path>/orientation/heading-deg</eye-heading-deg-path>
<at-model type="bool">true</at-model>
<at-model-idx type="int">0</at-model-idx>
<target-z-offset-m type="double">0</target-z-offset-m>
<ground-level-nearplane-m type="double">0.5f</ground-level-nearplane-m>
<default-field-of-view-deg type="double">55.0</default-field-of-view-deg>
<x-offset-m type="double">0</x-offset-m>
<y-offset-m type="double">0</y-offset-m>
<z-offset-m type="double">-25</z-offset-m>
</config>
</view>
<view>
<name>Tower View</name>
<type>lookat</type>
<config>
<eye-lat-deg-path>/sim/tower/latitude-deg</eye-lat-deg-path>
<eye-lon-deg-path>/sim/tower/longitude-deg</eye-lon-deg-path>
<eye-alt-ft-path>/sim/tower/altitude-ft</eye-alt-ft-path>
<eye-roll-deg-path>/sim/tower/roll-deg</eye-roll-deg-path>
<eye-pitch-deg-path>/sim/tower/pitch-deg</eye-pitch-deg-path>
<eye-heading-deg-path>/sim/tower/heading-deg</eye-heading-deg-path>
<at-model type="bool">true</at-model>
<at-model-idx type="int">0</at-model-idx>
<ground-level-nearplane-m type="double">10.0f</ground-level-nearplane-m>
<default-field-of-view-deg type="double">55.0</default-field-of-view-deg>
<x-offset-m type="double">0</x-offset-m>
<y-offset-m type="double">0</y-offset-m>
<z-offset-m type="double">0</z-offset-m>
</config>
</view>
<view>
<name>Tower View Look From</name>
<type>lookfrom</type>
<config>
<eye-lat-deg-path>/sim/tower/latitude-deg</eye-lat-deg-path>
<eye-lon-deg-path>/sim/tower/longitude-deg</eye-lon-deg-path>
<eye-alt-ft-path>/sim/tower/altitude-ft</eye-alt-ft-path>
<eye-roll-deg-path>/sim/tower/roll-deg</eye-roll-deg-path>
<eye-pitch-deg-path>/sim/tower/pitch-deg</eye-pitch-deg-path>
<eye-heading-deg-path>/sim/tower/heading-deg</eye-heading-deg-path>
<ground-level-nearplane-m type="double">10.0f</ground-level-nearplane-m>
<default-field-of-view-deg type="double">55.0</default-field-of-view-deg>
<x-offset-m type="double">0</x-offset-m>
<y-offset-m type="double">0</y-offset-m>
<z-offset-m type="double">0</z-offset-m>
</config>
</view>
<view>
<name>Chase View wo yaw</name>
<type>lookat</type>
<config>
<from-model type="bool">false</from-model>
<from-model-idx type="int">0</from-model-idx>
<eye-lat-deg-path>/position/latitude-deg</eye-lat-deg-path>
<eye-lon-deg-path>/position/longitude-deg</eye-lon-deg-path>
<eye-alt-ft-path>/position/altitude-ft</eye-alt-ft-path>
<at-model type="bool">true</at-model>
<at-model-idx type="int">0</at-model-idx>
<ground-level-nearplane-m type="double">0.5f</ground-level-nearplane-m>
<default-field-of-view-deg type="double">55.0</default-field-of-view-deg>
<x-offset-m type="double">2</x-offset-m>
<y-offset-m type="double">25</y-offset-m>
<z-offset-m type="double">-13</z-offset-m>
</config>
</view>
<menubar>
<visibility type="bool">true</visibility>
</menubar>
<ATC>
<enabled type="bool">true</enabled>
</ATC>
<ai-traffic>
<enabled type="bool">true</enabled>
</ai-traffic>
</sim>
<!-- Position -->
<position>
<altitude-ft type="double">-9999</altitude-ft>
</position>
<!-- Velocities -->
<velocities>
<speed-north-fps type="double">0.0</speed-north-fps>
<speed-east-fps type="double">0.0</speed-east-fps>
<speed-down-fps type="double">0.0</speed-down-fps>
</velocities>
<!-- Orientation -->
<orientation>
<heading-deg type="double">270</heading-deg>
<roll-deg type="double">0.0</roll-deg>
<pitch-deg type="double">0.424</pitch-deg>
</orientation>
<!-- Environment -->
<environment>
<config>
<boundary-transition-ft>500</boundary-transition-ft>
<boundary>
<entry>
<elevation-ft>0</elevation-ft>
<wind-from-heading-deg>270</wind-from-heading-deg>
<wind-speed-kt>3</wind-speed-kt>
<turbulence-norm>0.0</turbulence-norm>
<visibility-m>16000</visibility-m>
<pressure-sea-level-inhg>29.92</pressure-sea-level-inhg>
<temperature-degc>15.0</temperature-degc>
<dewpoint-degc>5.0</dewpoint-degc>
</entry>
<entry>
<elevation-ft>500</elevation-ft>
<wind-from-heading-deg>280</wind-from-heading-deg>
<wind-speed-kt>6</wind-speed-kt>
<turbulence-norm>0.1</turbulence-norm>
</entry>
</boundary>
<aloft>
<entry>
<elevation-ft>3000</elevation-ft>
<wind-from-heading-deg>300</wind-from-heading-deg>
<wind-speed-kt>10</wind-speed-kt>
<turbulence-norm>0.05</turbulence-norm>
<visibility-m>16000</visibility-m>
<pressure-sea-level-inhg>29.92</pressure-sea-level-inhg>
<!-- <temperature-degc>15.0</temperature-degc> -->
<!-- <dewpoint-degc>5.0</dewpoint-degc> -->
</entry>
<entry>
<elevation-ft>6000</elevation-ft>
<wind-from-heading-deg>310</wind-from-heading-deg>
<wind-speed-kt>20</wind-speed-kt>
<turbulence-norm>0.00</turbulence-norm>
</entry>
<entry>
<elevation-ft>9000</elevation-ft>
<wind-from-heading-deg>320</wind-from-heading-deg>
<wind-speed-kt>30</wind-speed-kt>
</entry>
</aloft>
</config>
<clouds>
<status>true</status>
<layer n="0">
<coverage>scattered</coverage>
<elevation-ft>5000</elevation-ft>
<thickness-ft>600</thickness-ft>
<transition-ft>150</transition-ft>
<span-m>40000</span-m>
</layer>
<layer n="1">
<coverage>cirrus</coverage>
<elevation-ft>19500</elevation-ft>
<thickness-ft>65</thickness-ft>
<transition-ft>25</transition-ft>
<span-m>40000</span-m>
</layer>
<layer n="2">
<coverage>clear</coverage>
<span-m>40000</span-m>
</layer>
<layer n="3">
<coverage>clear</coverage>
<span-m>40000</span-m>
</layer>
<layer n="5">
<coverage>clear</coverage>
<span-m>40000</span-m>
</layer>
</clouds>
<params>
<control-fdm-atmosphere type="bool">false</control-fdm-atmosphere>
</params>
</environment>
<controls>
<flight>
<aileron type="double">0.0</aileron>
<aileron-trim type="double">0.0</aileron-trim>
<elevator type="double">0.0</elevator>
<elevator-trim type="double">0.0</elevator-trim>
<rudder type="double">0.0</rudder>
<rudder-trim type="double">0.0</rudder-trim>
<flaps type="double">0.0</flaps>
</flight>
<engines>
<engine n="0">
<starter type="bool">false</starter>
<magnetos type="int">0</magnetos>
<throttle type="double">0.0</throttle>
<mixture type="double">1.0</mixture>
<propeller-pitch type="double">1.0</propeller-pitch>
</engine>
<engine n="1">
<starter type="bool">false</starter>
<magnetos type="int">0</magnetos>
<throttle type="double">0.0</throttle>
<mixture type="double">1.0</mixture>
<propeller-pitch type="double">1.0</propeller-pitch>
</engine>
<engine n="2">
<starter type="bool">false</starter>
<magnetos type="int">0</magnetos>
<throttle type="double">0.0</throttle>
<mixture type="double">1.0</mixture>
<propeller-pitch type="double">1.0</propeller-pitch>
</engine>
<engine n="3">
<starter type="bool">false</starter>
<magnetos type="int">0</magnetos>
<throttle type="double">0.0</throttle>
<mixture type="double">1.0</mixture>
<propeller-pitch type="double">1.0</propeller-pitch>
</engine>
</engines>
<gear>
<wheel n="0">
<brake type="double">0.0</brake>
</wheel>
<wheel n="1">
<brake type="double">0.0</brake>
</wheel>
<wheel n="2">
<brake type="double">0.0</brake>
</wheel>
<gear-down type="bool">true</gear-down>
</gear>
<lighting>
<taxi-light type="bool">true</taxi-light>
<landing-lights type="bool">true</landing-lights>
<nav-lights type="bool">true</nav-lights>
<beacon type="bool">true</beacon>
<strobe type="bool">false</strobe>
</lighting>
<anti-ice>
<pitot-heat type="bool">false</pitot-heat>
<engine n="0">
<carb-heat type="bool">false</carb-heat>
</engine>
<engine n="1">
<carb-heat type="bool">false</carb-heat>
</engine>
<engine n="2">
<carb-heat type="bool">false</carb-heat>
</engine>
<engine n="3">
<carb-heat type="bool">false</carb-heat>
</engine>
</anti-ice>
</controls>
<!-- User input devices -->
<input>
<!-- included externally -->
<keyboard include="keyboard.xml"/>
<!-- included externally -->
<joysticks include="joysticks.xml"/>
<!-- included externally -->
<mice include="mice.xml"/>
</input>
<!-- Radio settings -->
<radios>
<dme>
<switch-position type="int">0</switch-position>
</dme>
<comm n="0">
<frequencies>
<selected-mhz type="double">120.500</selected-mhz>
<standby-mhz type="double">118.850</standby-mhz>
</frequencies>
<volume type="double">0.6</volume>
</comm>
<comm n="1">
<frequencies>
<selected-mhz type="double">118.300</selected-mhz>
<standby-mhz type="double">133.775</standby-mhz>
</frequencies>
<volume type="double">0.6</volume>
</comm>
<nav n="0">
<frequencies>
<selected-mhz type="double">115.80</selected-mhz>
<standby-mhz type="double">111.70</standby-mhz>
</frequencies>
<radials>
<selected-deg type="double">280.0</selected-deg>
</radials>
</nav>
<nav n="1">
<frequencies>
<selected-mhz type="double">116.80</selected-mhz>
<standby-mhz type="double">113.90</standby-mhz>
</frequencies>
<radials>
<selected-deg type="double">029.0</selected-deg>
</radials>
</nav>
<kr-87>
<inputs>
<rotation-deg type="double">0</rotation-deg>
</inputs>
<outputs>
<selected-khz type="double">379.0</selected-khz>
<standby-khz type="double">341.0</standby-khz>
</outputs>
</kr-87>
</radios>
<!-- Instruments -->
<instrumentation>
<airspeed-indicator>
<serviceable type="bool" archive="y">true</serviceable>
</airspeed-indicator>
<attitude-indicator>
<config>
<!-- true if this AI can tumble -->
<tumble-flag type="bool" archive="y">false</tumble-flag>
</config>
<caged type="bool" archive="y">false</caged>
<serviceable type="bool" archive="y">true</serviceable>
<spin type="double" archive="y">0.0</spin>
<tumble-norm type="double" archive="y">0.0</tumble-norm>
<indicated-pitch-deg type="double">0.0</indicated-pitch-deg>
<indicated-roll-deg type="double">0.0</indicated-roll-deg>
</attitude-indicator>
<altimeter>
<serviceable type="bool" archive="y">true</serviceable>
<setting-inhg type="double" archive="y">29.92</setting-inhg>
</altimeter>
<turn-indicator>
<serviceable type="bool" archive="y">true</serviceable>
</turn-indicator>
<slip-skid-ball>
<serviceable type="bool" archive="y">true</serviceable>
</slip-skid-ball>
<heading-indicator>
<serviceable type="bool" archive="y">true</serviceable>
<spin type="double" archive="y">0.0</spin>
<offset-deg type="double" archive="y">4.5</offset-deg> <!-- just for fun -->
</heading-indicator>
<vertical-speed-indicator>
<serviceable type="bool" archive="y">true</serviceable>
</vertical-speed-indicator>
<magnetic-compass>
<serviceable type="bool" archive="y">true</serviceable>
</magnetic-compass>
<dme>
<serviceable type="bool" archive="y">true</serviceable>
<switch-position type="int" archive="y">0</switch-position>
</dme>
<gps>
<serviceable type="bool" archive="y">true</serviceable>
</gps>
<clock>
<serviceable type="bool" archive="y">true</serviceable>
<offset-sec type="long" archive="y">0</offset-sec>
</clock>
</instrumentation>
<systems>
<pitot>
<serviceable type="bool" archive="y">true</serviceable>
</pitot>
<static>
<serviceable type="bool" archive="y">true</serviceable>
<pressure-inhg type="double" archive="y">29.92</pressure-inhg>
</static>
<electrical>
<serviceable type="bool" archive="y">true</serviceable>
</electrical>
<vacuum>
<serviceable type="bool" archive="y">true</serviceable>
</vacuum>
<vacuum>
<serviceable type="bool" archive="y">true</serviceable>
</vacuum>
</systems>
<logging>
<log n="0">
<enabled>false</enabled>
<interval-ms>1000</interval-ms>
<filename>fg_log.csv</filename>
<delimiter>,</delimiter>
<entry n="0">
<enabled>false</enabled>
<title>Longitude</title>
<property>/position/longitude-deg</property>
</entry>
<entry n="1">
<enabled>false</enabled>
<title>Latitude</title>
<property>/position/latitude-deg</property>
</entry>
<entry n="2">
<enabled>false</enabled>
<title>Altitude</title>
<property>/position/altitude-ft</property>
</entry>
<entry n="3">
<enabled>false</enabled>
<title>Roll</title>
<property>/orientation/roll-deg</property>
</entry>
<entry n="4">
<enabled>false</enabled>
<title>Pitch</title>
<property>/orientation/pitch-deg</property>
</entry>
<entry n="5">
<enabled>false</enabled>
<title>Heading</title>
<property>/orientation/heading-deg</property>
</entry>
</log>
</logging>
</PropertyList>
<!-- end of preferences.xml -->