<?xml version="1.0"?>
<!--
Cessna 172 Skyhawk panel for the ATC 610x.
Started by John Check <j4strngs@rockfish.net> - October 2000
Updated by Curt Olson <curt@flightgear.org> - July 2002
_______________________________________________________________________
This is a panel configuration file for the open-source flight
simulator FlightGear (www.flightgear.org). The file is an XML-encoded
FlightGear property list defining the panel's background texture and
the location (and optionally, size) of the instruments that will
appear on the panel.
Each instrument is, itself, defined in an XML-encoded property list
in a separate file.
Co-ordinates are relative to the *bottom* left corner of the screen
(as in OpenGL). The total FlightGear window is always considered to
be 1024x768, whatever its actual display size on the screen. All
paths are relative to $FG_ROOT.
Note that the name of the element defining each instrument must be
different, or else instrument definitions will be overwritten:
that's not particularly XML-ish, but that's how property lists
work in FlightGear right now.
Each instrument has its own preferred width and height, but you can
override those by providing <w>..</w> and <h>..</h> properties with the
<x>...</x> and <y>...</y> properties.
-->
<!DOCTYPE PropertyList SYSTEM "panel.dtd">
<PropertyList>
<name>Cessna 172P Skyhawk Pi Panel</name>
<!-- <background>Aircraft/c172p/Panels/panel-610x-bg.rgb</background> -->
<w>1024</w>
<h>600</h>
<view-height>5</view-height>
<instruments>
<!-- Engine gauge cluster -->
<!-- <instrument include="Aircraft/Instruments/fuel-c172s.xml">
<name>Fuel Gauge</name>
<x>60</x>
<y>60</y>
<w>120</w>
<h>120</h>
</instrument> -->
<!-- <instrument include="Aircraft/Instruments/oil-c172s.xml">
<params>
<engine-oil-temp-select>/engines/active-engine/indicated-oil-temperature-degf</engine-oil-temp-select>
<engine-oil-press-select>/engines/active-engine/indicated-oil-pressure-psi</engine-oil-press-select>
</params>
<name>Oil Gauge</name>
<x>300</x>
<y>60</y>
<w>120</w>
<h>120</h>
</instrument> -->
<instrument include="Aircraft/Instruments/vac-amp-c172s.xml">
<name>Vacuum Pressure Gauge</name>
<x>420</x>
<y>60</y>
<w>120</w>
<h>120</h>
</instrument>
<instrument include="Aircraft/Instruments/adf-c172s.xml">
<params>
<adf-course-rotation-deg>/instrumentation/adf/rotation-deg</adf-course-rotation-deg>
<adf-needle-deg>/instrumentation/adf/indicated-bearing-deg</adf-needle-deg>
</params>
<name>ADF Gauge</name>
<x>896</x>
<y>100</y>
<w>200</w>
<h>200</h>
</instrument>
<!-- End engine gauges cluster -->
<!-- Engine controls cluster -->
<instrument include="Aircraft/Instruments/rpm-c172s-digi-hobbs.xml">
<params>
<rpm-select>/engines/active-engine/rpm</rpm-select>
</params>
<name>RPM Gauge</name>
<x>60</x>
<y>60</y>
<w>120</w>
<h>120</h>
</instrument>
<!-- End engine controls cluster -->
<!-- Sacred six -->
<!-- <instrument include="Aircraft/Instruments/asi-c172s.xml"> -->
<instrument include="Aircraft/Instruments/asi-160-knot-hi.xml">
<name>Airspeed Indicator</name>
<x>128</x>
<y>480</y>
<w>240</w>
<h>240</h>
</instrument>
<!-- <instrument include="Aircraft/Instruments/ati-c172s.xml"> -->
<instrument include="Aircraft/Instruments/attitude-indicator-hi.xml">
<name>Attitude Gyro</name>
<x>384</x>
<y>480</y>
<w>240</w>
<h>240</h>
</instrument>
<!-- <instrument include="Aircraft/Instruments/altimeter.xml"> -->
<instrument include="Aircraft/Instruments/alt-c172s.xml">
<name>Altimeter</name>
<x>640</x>
<y>480</y>
<w>240</w>
<h>240</h>
</instrument>
<instrument include="Aircraft/Instruments/trn-c172s.xml">
<name>Turn Coordinator</name>
<x>128</x>
<y>240</y>
<w>240</w>
<h>240</h>
</instrument>
<instrument include="Aircraft/Instruments/hdg-c172s.xml"> -->
<!-- <name>Directional Gyro</name> -->
<!-- <instrument include="Aircraft/Instruments/hsi-bk-hi.xml"> -->
<params>
<heading-deg>/instrumentation/heading-indicator/indicated-heading-deg</heading-deg>
</params>
<name>Bendix King HSI</name>
<x>384</x>
<y>240</y>
<w>240</w>
<h>240</h>
</instrument>
<instrument include="Aircraft/Instruments/vsi-c172s.xml">
<name>Vertical Speed Indicator</name>
<x>640</x>
<y>240</y>
<w>240</w>
<h>240</h>
</instrument>
<!-- End sacred six -->
<!-- Radio nav instruments -->
<instrument include="Aircraft/Instruments/vor1-c172s.xml">
<name>VOR 1 Gauge</name>
<params>
<nav-to-flag>/instrumentation/nav[0]/to-flag</nav-to-flag>
<nav-from-flag>/instrumentation/nav[0]/from-flag</nav-from-flag>
<nav-radial-selected>/instrumentation/nav[0]/radials/selected-deg</nav-radial-selected>
<nav-gs-needle-deflection>/instrumentation/nav[0]/gs-needle-deflection</nav-gs-needle-deflection>
<nav-heading-needle-deflection>/instrumentation/nav[0]/heading-needle-deflection</nav-heading-needle-deflection>
<nav-has-gs-needle>/sim/instrument-options/nav[0]/has-gs-needle</nav-has-gs-needle>
<nav-needles-pivot>/sim/instrument-options/nav[0]/needles-pivot</nav-needles-pivot>
</params>
<x>896</x>
<y>500</y>
<w>200</w>
<h>200</h>
</instrument>
<instrument include="Aircraft/Instruments/vor1-c172s.xml">
<name>VOR 2 Gauge</name>
<params>
<nav-to-flag>/instrumentation/nav[1]/to-flag</nav-to-flag>
<nav-from-flag>/instrumentation/nav[1]/from-flag</nav-from-flag>
<nav-radial-selected>/instrumentation/nav[1]/radials/selected-deg</nav-radial-selected>
<nav-gs-needle-deflection>/instrumentation/nav[1]/gs-needle-deflection</nav-gs-needle-deflection>
<nav-heading-needle-deflection>/instrumentation/nav[1]/heading-needle-deflection</nav-heading-needle-deflection>
<nav-has-gs-needle>/sim/instrument-options/nav[1]/has-gs-needle</nav-has-gs-needle>
<nav-needles-pivot>/sim/instrument-options/nav[1]/needles-pivot</nav-needles-pivot>
</params>
<x>896</x>
<y>300</y>
<w>200</w>
<h>200</h>
</instrument>
<!-- End radio nav instruments -->
<!-- Outside air tempurature -->
<!-- <instrument include="Aircraft/Instruments/oat.xml">
<name>OAT</name>
<x>86</x>
<y>711</y>
<w>75</w>
<h>31</h>
</instrument> -->
<!-- Place holder for Annunciators -->
<!-- <instrument include="Aircraft/Instruments/ann-c172s.xml">
<name>Annunciator</name>
<x>569</x>
<y>756</y>
<w>225</w>
<h>32</h>
</instrument> -->
<instrument include="Aircraft/Instruments/egt-ff-c172s.xml">
<name>Exhaust Gas Temperature Gauge</name>
<x>180</x>
<y>60</y>
<w>120</w>
<h>120</h>
</instrument>
<!-- Engine gauge cluster -->
<instrument include="Aircraft/Instruments/fuel-c172p.xml">
<name>Fuel Gauge</name>
<x>360</x>
<y>60</y>
<w>600</w>
<h>600</h>
</instrument>
<!-- Engine gauge cluster -->
<instrument include="Aircraft/Instruments/oil-c172p.xml">
<name>Oil Gauge</name>
<x>660</x>
<y>60</y>
<w>600</w>
<h>600</h>
</instrument>
</instruments>
</PropertyList>
<?xml version="1.0"?>
<PropertyList>
<generic>
<output>
<line_separator>newline</line_separator>
<var_separator>,</var_separator>
<chunk>
<name>Altitude</name>
<node>/instrumentation/altimeter/indicated-altitude-ft</node>
<type>integer</type>
<format>%i</format>
</chunk>
<chunk>
<name>Airspeed</name>
<node>/instrumentation/airspeed-indicator/indicated-speed-kt</node>
<type>float</type>
<format>%.1e</format>
</chunk>
<chunk>
<name>VSI</name>
<node>/instrumentation/vertical-speed-indicator/indicated-speed-fpm</node>
<type>integer</type>
<format>%i</format>
</chunk>
<chunk>
<type>float</type>
<format>%.2e</format>
<node>/position/altitude-agl-ft</node>
</chunk>
<chunk>
<type>float</type>
<format>%.2e</format>
<node>/instrumentation/attitude-indicator/indicated-roll-deg</node>
</chunk>
<chunk>
<type>float</type>
<format>%.2e</format>
<node>/instrumentation/attitude-indicator/indicated-pitch-deg</node>
</chunk>
<chunk>
<type>float</type>
<format>%.2e</format>
<node>/instrumentation/attitude-indicator/horizon-offset-deg</node>
</chunk>
<chunk>
<type>float</type>
<format>%.4e</format>
<node>/instrumentation/attitude-indicator/spin</node>
</chunk>
<chunk>
<type>float</type>
<format>%.4e</format>
<node>/instrumentation/slip-skid-ball/indicated-slip-skid</node>
</chunk>
<chunk>
<type>float</type>
<format>%.4e</format>
<node>/systems/electrical/outputs/turn-coordinator</node>
</chunk>
<chunk>
<type>float</type>
<format>%.4e</format>
<node>/instrumentation/turn-indicator/indicated-turn-rate</node>
</chunk>
<chunk>
<type>integer</type>
<format>%i</format>
<node>/consumables/fuel/tank[0]/level-gal_us</node>
</chunk>
<chunk>
<type>integer</type>
<format>%i</format>
<node>/consumables/fuel/tank[1]/level-gal_us</node>
</chunk>
<chunk>
<type>integer</type>
<format>%i</format>
<node>/engines/active-engine/indicated-oil-final-temperature-degf</node>
</chunk>
<chunk>
<type>float</type>
<format>%.4e</format>
<node>/engines/active-engine/indicated-oil-pressure-psi</node>
</chunk>
<chunk>
<type>float</type>
<format>%.4e</format>
<node>/systems/vacuum/suction-inhg</node>
</chunk>
<chunk>
<type>integer</type>
<format>%i</format>
<node>/instrumentation/adf/rotation-deg</node>
</chunk>
<chunk>
<type>integer</type>
<format>%i</format>
<node>/instrumentation/adf/indicated-bearing-deg</node>
</chunk>
<chunk>
<type>integer</type>
<format>%i</format>
<node>/engines/active-engine/rpm</node>
</chunk>
<chunk>
<type>integer</type>
<format>%i</format>
<node>/instrumentation/nav[0]/to-flag</node>
</chunk>
<chunk>
<type>integer</type>
<format>%i</format>
<node>/instrumentation/nav[0]/from-flag</node>
</chunk>
<chunk>
<type>integer</type>
<format>%i</format>
<node>/instrumentation/nav[0]/radials/selected-deg</node>
</chunk>
<chunk>
<type>float</type>
<format>%.4e</format>
<node>/instrumentation/nav[0]/gs-needle-deflection</node>
</chunk>
<chunk>
<type>float</type>
<format>%.4e</format>
<node>/instrumentation/nav[0]/heading-needle-deflection</node>
</chunk>
<chunk>
<type>integer</type>
<format>%i</format>
<node>/sim/instrument-options/nav[0]/has-gs-needle</node>
</chunk>
<chunk>
<type>float</type>
<format>%.4e</format>
<node>/sim/instrument-options/nav[0]/needles-pivot</node>
</chunk>
<chunk>
<type>integer</type>
<format>%i</format>
<node>/instrumentation/nav[1]/to-flag</node>
</chunk>
<chunk>
<type>integer</type>
<format>%i</format>
<node>/instrumentation/nav[1]/from-flag</node>
</chunk>
<chunk>
<type>integer</type>
<format>%i</format>
<node>/instrumentation/nav[1]/radials/selected-deg</node>
</chunk>
<chunk>
<type>float</type>
<format>%.4e</format>
<node>/instrumentation/nav[1]/gs-needle-deflection</node>
</chunk>
<chunk>
<type>float</type>
<format>%.4e</format>
<node>/instrumentation/nav[1]/heading-needle-deflection</node>
</chunk>
<chunk>
<type>integer</type>
<format>%i</format>
<node>/sim/instrument-options/nav[1]/has-gs-needle</node>
</chunk>
<chunk>
<type>float</type>
<format>%.4e</format>
<node>/sim/instrument-options/nav[1]/needles-pivot</node>
</chunk>
<chunk>
<type>float</type>
<format>%.4e</format>
<node>/instrumentation/heading-indicator/indicated-heading-deg</node>
</chunk>
<chunk>
<type>integer</type>
<format>%i</format>
<node>/autopilot/settings/heading-bug-deg</node>
</chunk>
<chunk>
<type>float</type>
<format>%.4e</format>
<node>/instrumentation/altimeter/setting-inhg</node>
</chunk>
<chunk>
<type>integer</type>
<format>%i</format>
<node>/consumables/fuel/tank[0]/level-gal_us</node>
</chunk>
<chunk>
<type>integer</type>
<format>%i</format>
<node>/consumables/fuel/tank[1]/level-gal_us</node>
</chunk>
<chunk>
<type>integer</type>
<format>%i</format>
<node>/engines/active-engine/egt-degf</node>
</chunk>
<chunk>
<type>integer</type>
<format>%i</format>
<node>/systems/electrical/volts</node>
</chunk>
<chunk>
<type>integer</type>
<format>%i</format>
<node>/systems/electrical/amps</node>
</chunk>
</output>
</generic>
</PropertyList>
<PropertyList>
<!-- true: run full-screen, false; run in window -->
<game-mode type="bool">false</game-mode>
<!-- include the panel definitions (2d-panel syntax)-->
<panel include="c172-610x-panel_pi.xml"/>
<!-- compose your property-tree here -->
<sim>
<panel>
<flip-x type="bool">false</flip-x>
</panel>
<instrument-options>
<omit-knobs type="bool">true</omit-knobs>
</instrument-options>
</sim>
<!-- network communication settings -->
<communication>
<listen>
<!-- interface to bind to,
leave empty for all interfaces -->
<host></host> <!-- multicast address! -->
<!-- <host>192.168.2.197</host> --> <!-- multicast address! -->
<port>5432</port> <!-- tcp port to listen to -->
<style>udp</style> <!-- udp or tcp (forget about tcp!) -->
</listen>
<!-- the generic protocol definition
-->
<protocol include="panel_drive.xml"/>
</communication>
</PropertyList>
--generic=socket,out,25,192.168.3.10,5432,udp,"path_to/panel_drive.xml"
fgpanel --fg-root=/path/to/fg/data --panel=Aircraft/MyAircraft/Panels/MyPanel.xml
Users browsing this forum: No registered users and 3 guests