New FGPanel instrument panel: C172p Mini Cockpit
Also borrow some instruments from the SenecaII FGPanel project :)
This commit is contained in:
parent
96c3935793
commit
1a01f02f96
10 changed files with 1241 additions and 0 deletions
BIN
Aircraft/Instruments/Textures/FuelOilAmps.png
Normal file
BIN
Aircraft/Instruments/Textures/FuelOilAmps.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 67 KiB |
BIN
Aircraft/Instruments/Textures/battery-c172p.rgb
Normal file
BIN
Aircraft/Instruments/Textures/battery-c172p.rgb
Normal file
Binary file not shown.
160
Aircraft/Instruments/battery-c172p.xml
Normal file
160
Aircraft/Instruments/battery-c172p.xml
Normal file
|
@ -0,0 +1,160 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
battery1.xml
|
||||
|
||||
Battery Gauge
|
||||
|
||||
Thorsten Brehm
|
||||
October 6, 2011
|
||||
|
||||
-->
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<name>Battery Gauge</name>
|
||||
<w-base>512</w-base>
|
||||
<h-base>512</h-base>
|
||||
<params>
|
||||
<volts>/systems/electrical/volts</volts>
|
||||
<amps>/systems/electrical/amps</amps>
|
||||
</params>
|
||||
|
||||
<layers>
|
||||
|
||||
<layer>
|
||||
<name>Backplate</name>
|
||||
<w>292</w>
|
||||
<h>456</h>
|
||||
<texture>
|
||||
<path>Aircraft/Instruments/Textures/battery-c172p.rgb</path>
|
||||
<x1>0.0</x1>
|
||||
<x2>0.570312</x2>
|
||||
<y1>0.109375</y1>
|
||||
<y2>1.0</y2>
|
||||
</texture>
|
||||
</layer>
|
||||
|
||||
<layer>
|
||||
<name>Volt Needle</name>
|
||||
<w>148</w>
|
||||
<h>32</h>
|
||||
<texture>
|
||||
<path>Aircraft/Instruments/Textures/misc2.rgb</path>
|
||||
<x1>0.0</x1>
|
||||
<x2>0.289062</x2>
|
||||
<y1>0.554688</y1>
|
||||
<y2>0.617188</y2>
|
||||
</texture>
|
||||
<transformations>
|
||||
<transformation>
|
||||
<type>x-shift</type>
|
||||
<offset>-142</offset>
|
||||
</transformation>
|
||||
<transformation>
|
||||
<type>rotation</type>
|
||||
<property alias="../../../../../params/amps"/>
|
||||
<min>-40.0</min>
|
||||
<max>40.0</max>
|
||||
<scale>-1.375005</scale>
|
||||
<offset>0</offset>
|
||||
</transformation>
|
||||
<transformation>
|
||||
<type>x-shift</type>
|
||||
<offset>78</offset>
|
||||
</transformation>
|
||||
</transformations>
|
||||
</layer>
|
||||
|
||||
<layer>
|
||||
<name>AMP Needle</name>
|
||||
<w>148</w>
|
||||
<h>32</h>
|
||||
<texture>
|
||||
<path>Aircraft/Instruments/Textures/misc2.rgb</path>
|
||||
<x1>0.0</x1>
|
||||
<x2>0.289062</x2>
|
||||
<y1>0.554688</y1>
|
||||
<y2>0.617188</y2>
|
||||
</texture>
|
||||
<transformations>
|
||||
<transformation>
|
||||
<type>x-shift</type>
|
||||
<offset>142</offset>
|
||||
</transformation>
|
||||
<transformation>
|
||||
<type>rotation</type>
|
||||
<property alias="../../../../../params/volts"/>
|
||||
<min>0.0</min>
|
||||
<max>40.0</max>
|
||||
<scale>2.7</scale>
|
||||
<offset>126</offset>
|
||||
</transformation>
|
||||
<transformation>
|
||||
<type>x-shift</type>
|
||||
<offset>78</offset>
|
||||
</transformation>
|
||||
</transformations>
|
||||
</layer>
|
||||
|
||||
<layer>
|
||||
<name>Foreground</name>
|
||||
<w>512</w>
|
||||
<h>512</h>
|
||||
<texture>
|
||||
<path>Aircraft/Instruments/Textures/smlf.rgb</path>
|
||||
<x1>0.0</x1>
|
||||
<x2>1.0</x2>
|
||||
<y1>0.0</y1>
|
||||
<y2>1.0</y2>
|
||||
</texture>
|
||||
</layer>
|
||||
|
||||
<layer>
|
||||
<name>AMP label</name>
|
||||
<w>32</w>
|
||||
<h>120</h>
|
||||
<texture>
|
||||
<path>Aircraft/Instruments/Textures/misc2.rgb</path>
|
||||
<x1>0.640625</x1>
|
||||
<x2>0.703125</x2>
|
||||
<y1>0.53125</y1>
|
||||
<y2>0.765625</y2> </texture>
|
||||
<transformations>
|
||||
<transformation>
|
||||
<type>x-shift</type>
|
||||
<offset>-145</offset>
|
||||
</transformation>
|
||||
<transformation>
|
||||
<type>y-shift</type>
|
||||
<offset>2</offset>
|
||||
</transformation>
|
||||
</transformations>
|
||||
</layer>
|
||||
|
||||
<layer>
|
||||
<name>Volt label</name>
|
||||
<w>52</w>
|
||||
<h>52</h>
|
||||
<texture>
|
||||
<path>Aircraft/Instruments/Textures/misc2.rgb</path>
|
||||
<x1>0.640625</x1>
|
||||
<x2>0.703125</x2>
|
||||
<y1>0.94</y1>
|
||||
<y2>1.0</y2>
|
||||
</texture>
|
||||
<transformations>
|
||||
<transformation>
|
||||
<type>x-shift</type>
|
||||
<offset>150</offset>
|
||||
</transformation>
|
||||
<transformation>
|
||||
<type>y-shift</type>
|
||||
<offset>-1</offset>
|
||||
</transformation>
|
||||
</transformations>
|
||||
</layer>
|
||||
|
||||
</layers>
|
||||
|
||||
</PropertyList>
|
32
Aircraft/Instruments/fps.xml
Normal file
32
Aircraft/Instruments/fps.xml
Normal file
|
@ -0,0 +1,32 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<name>frames per second</name>
|
||||
<w-base>50</w-base>
|
||||
<h-base>50</h-base>
|
||||
|
||||
<layers>
|
||||
|
||||
<layer>
|
||||
<name>counter</name>
|
||||
<type>text</type>
|
||||
<font>led</font>
|
||||
<point-size>6.5</point-size>
|
||||
<color>
|
||||
<red>1.0</red>
|
||||
<green>0.5</green>
|
||||
<blue>0.0</blue>
|
||||
</color>
|
||||
<chunks>
|
||||
<chunk>
|
||||
<type>number-value</type>
|
||||
<property>/sim/frame-rate</property>
|
||||
<format>%.0f</format>
|
||||
</chunk>
|
||||
</chunks>
|
||||
</layer>
|
||||
|
||||
</layers>
|
||||
|
||||
</PropertyList>
|
143
Aircraft/Instruments/fuel-c172p.xml
Normal file
143
Aircraft/Instruments/fuel-c172p.xml
Normal file
|
@ -0,0 +1,143 @@
|
|||
<?xml version="1.0"?>
|
||||
<!--
|
||||
-->
|
||||
<PropertyList>
|
||||
|
||||
<name>Fuel</name>
|
||||
<w-base>100</w-base>
|
||||
<h-base>100</h-base>
|
||||
|
||||
<params>
|
||||
<fuel1>/consumables/fuel/tank[0]/level-gal_us</fuel1>
|
||||
<fuel2>/consumables/fuel/tank[1]/level-gal_us</fuel2>
|
||||
</params>
|
||||
|
||||
<layers>
|
||||
|
||||
<layer>
|
||||
<name>Fuel1</name>
|
||||
<w>20</w>
|
||||
<h>100</h>
|
||||
<texture>
|
||||
<path>Aircraft/Instruments/Textures/FuelOilAmps.png</path>
|
||||
<x1>0.0</x1>
|
||||
<x2>0.5</x2>
|
||||
<y1>0.50</y1>
|
||||
<y2>0.75</y2>
|
||||
</texture>
|
||||
<transformations>
|
||||
<transformation>
|
||||
<type>x-shift</type>
|
||||
<offset>-10</offset>
|
||||
</transformation>
|
||||
</transformations>
|
||||
</layer>
|
||||
|
||||
<layer>
|
||||
<name>Fuel2</name>
|
||||
<w>20</w>
|
||||
<h>100</h>
|
||||
<texture>
|
||||
<path>Aircraft/Instruments/Textures/FuelOilAmps.png</path>
|
||||
<x1>0.0</x1>
|
||||
<x2>0.5</x2>
|
||||
<y1>0.50</y1>
|
||||
<y2>0.75</y2>
|
||||
</texture>
|
||||
<transformations>
|
||||
<transformation>
|
||||
<type>x-shift</type>
|
||||
<offset>10</offset>
|
||||
</transformation>
|
||||
</transformations>
|
||||
</layer>
|
||||
|
||||
<layer>
|
||||
<name>FuelNeedle1</name>
|
||||
<w>3</w>
|
||||
<h>96</h>
|
||||
|
||||
<texture>
|
||||
<path>Aircraft/Instruments/Textures/misc1.rgb</path>
|
||||
<x1>0.71875</x1>
|
||||
<x2>0.828125</x2>
|
||||
<y1>0.46875</y1>
|
||||
<y2>1.0</y2>
|
||||
</texture>
|
||||
|
||||
<transformations>
|
||||
<transformation>
|
||||
<type>x-shift</type>
|
||||
<offset>-10</offset>
|
||||
</transformation>
|
||||
<transformation>
|
||||
<type>y-shift</type>
|
||||
<offset>-110</offset>
|
||||
</transformation>
|
||||
<transformation>
|
||||
<type>rotation</type>
|
||||
<property alias="../../../../../params/fuel1"/>
|
||||
<interpolation>
|
||||
<entry>
|
||||
<ind>0</ind>
|
||||
<dep>-30</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>61.5</ind>
|
||||
<dep>30</dep>
|
||||
</entry>
|
||||
</interpolation>
|
||||
</transformation>
|
||||
<transformation>
|
||||
<type>y-shift</type>
|
||||
<offset>120</offset>
|
||||
</transformation>
|
||||
</transformations>
|
||||
</layer>
|
||||
|
||||
<layer>
|
||||
<name>FuelNeedle2</name>
|
||||
<w>3</w>
|
||||
<h>96</h>
|
||||
|
||||
<texture>
|
||||
<path>Aircraft/Instruments/Textures/misc1.rgb</path>
|
||||
<x1>0.71875</x1>
|
||||
<x2>0.828125</x2>
|
||||
<y1>0.46875</y1>
|
||||
<y2>1.0</y2>
|
||||
</texture>
|
||||
|
||||
<transformations>
|
||||
<transformation>
|
||||
<type>x-shift</type>
|
||||
<offset>10</offset>
|
||||
</transformation>
|
||||
<transformation>
|
||||
<type>y-shift</type>
|
||||
<offset>-110</offset>
|
||||
</transformation>
|
||||
<transformation>
|
||||
<type>rotation</type>
|
||||
<property alias="../../../../../params/fuel2"/>
|
||||
<interpolation>
|
||||
<entry>
|
||||
<ind>0</ind>
|
||||
<dep>-30</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>61.5</ind>
|
||||
<dep>30</dep>
|
||||
</entry>
|
||||
</interpolation>
|
||||
</transformation>
|
||||
<transformation>
|
||||
<type>y-shift</type>
|
||||
<offset>120</offset>
|
||||
</transformation>
|
||||
</transformations>
|
||||
</layer>
|
||||
|
||||
</layers>
|
||||
|
||||
</PropertyList>
|
154
Aircraft/Instruments/oil-c172p.xml
Normal file
154
Aircraft/Instruments/oil-c172p.xml
Normal file
|
@ -0,0 +1,154 @@
|
|||
<?xml version="1.0"?>
|
||||
<!--
|
||||
-->
|
||||
<PropertyList>
|
||||
|
||||
<name>Oil</name>
|
||||
<w-base>100</w-base>
|
||||
<h-base>100</h-base>
|
||||
|
||||
<params>
|
||||
<ot>engines/engine[0]/oil-temperature-degf</ot>
|
||||
<op>/engines/engine[0]/oil-pressure-psi</op>
|
||||
</params>
|
||||
|
||||
<layers>
|
||||
<layer>
|
||||
<name>OilTemp</name>
|
||||
<w>20</w>
|
||||
<h>100</h>
|
||||
<texture>
|
||||
<path>Aircraft/Instruments/Textures/FuelOilAmps.png</path>
|
||||
<x1>0.5</x1>
|
||||
<x2>1.0</x2>
|
||||
<y1>0.25</y1>
|
||||
<y2>0.50</y2>
|
||||
</texture>
|
||||
<transformations>
|
||||
<transformation>
|
||||
<type>x-shift</type>
|
||||
<offset>-10</offset>
|
||||
</transformation>
|
||||
</transformations>
|
||||
</layer>
|
||||
|
||||
<layer>
|
||||
<name>OilPress</name>
|
||||
<w>20</w>
|
||||
<h>100</h>
|
||||
<texture>
|
||||
<path>Aircraft/Instruments/Textures/FuelOilAmps.png</path>
|
||||
<x1>0.0</x1>
|
||||
<x2>0.5</x2>
|
||||
<y1>0.25</y1>
|
||||
<y2>0.50</y2>
|
||||
</texture>
|
||||
<transformations>
|
||||
<transformation>
|
||||
<type>x-shift</type>
|
||||
<offset>10</offset>
|
||||
</transformation>
|
||||
</transformations>
|
||||
</layer>
|
||||
|
||||
<layer>
|
||||
<name>OTNeedle</name>
|
||||
<w>3</w>
|
||||
<h>96</h>
|
||||
|
||||
<texture>
|
||||
<path>Aircraft/Instruments/Textures/misc1.rgb</path>
|
||||
<x1>0.71875</x1>
|
||||
<x2>0.828125</x2>
|
||||
<y1>0.46875</y1>
|
||||
<y2>1.0</y2>
|
||||
</texture>
|
||||
|
||||
<transformations>
|
||||
<transformation>
|
||||
<type>x-shift</type>
|
||||
<offset>-10</offset>
|
||||
</transformation>
|
||||
<transformation>
|
||||
<type>y-shift</type>
|
||||
<offset>-110</offset>
|
||||
</transformation>
|
||||
<transformation>
|
||||
<type>rotation</type>
|
||||
<property alias="../../../../../params/ot"/>
|
||||
<interpolation>
|
||||
<entry>
|
||||
<ind>75</ind>
|
||||
<dep>-30</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>180</ind>
|
||||
<dep>5</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>240</ind>
|
||||
<dep>30</dep>
|
||||
</entry>
|
||||
</interpolation>
|
||||
</transformation>
|
||||
<transformation>
|
||||
<type>y-shift</type>
|
||||
<offset>120</offset>
|
||||
</transformation>
|
||||
</transformations>
|
||||
</layer>
|
||||
|
||||
<layer>
|
||||
<name>OPNeedle</name>
|
||||
<w>3</w>
|
||||
<h>96</h>
|
||||
|
||||
<texture>
|
||||
<path>Aircraft/Instruments/Textures/misc1.rgb</path>
|
||||
<x1>0.71875</x1>
|
||||
<x2>0.828125</x2>
|
||||
<y1>0.46875</y1>
|
||||
<y2>1.0</y2>
|
||||
</texture>
|
||||
|
||||
<transformations>
|
||||
<transformation>
|
||||
<type>x-shift</type>
|
||||
<offset>10</offset>
|
||||
</transformation>
|
||||
<transformation>
|
||||
<type>y-shift</type>
|
||||
<offset>-110</offset>
|
||||
</transformation>
|
||||
<transformation>
|
||||
<type>rotation</type>
|
||||
<property alias="../../../../../params/op"/>
|
||||
<interpolation>
|
||||
<entry>
|
||||
<ind>10</ind>
|
||||
<dep>-30</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>30</ind>
|
||||
<dep>-15</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>80</ind>
|
||||
<dep>15</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>100</ind>
|
||||
<dep>30</dep>
|
||||
</entry>
|
||||
</interpolation>
|
||||
</transformation>
|
||||
<transformation>
|
||||
<type>y-shift</type>
|
||||
<offset>120</offset>
|
||||
</transformation>
|
||||
</transformations>
|
||||
</layer>
|
||||
|
||||
</layers>
|
||||
|
||||
</PropertyList>
|
445
Aircraft/c172p/Panels/FGPanel_Protocol_c172p.xml
Normal file
445
Aircraft/c172p/Panels/FGPanel_Protocol_c172p.xml
Normal file
|
@ -0,0 +1,445 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<PropertyList>
|
||||
<comment>
|
||||
<![CDATA[
|
||||
Usage:
|
||||
# fgfs --generic=socket,out,<hz>,<host>,34200,udp,../Aircraft/c172p/Panels/FGPanel_Protocol_c172p
|
||||
]]>
|
||||
</comment>
|
||||
|
||||
<generic>
|
||||
|
||||
<output>
|
||||
<line_separator>newline</line_separator>
|
||||
<var_separator>,</var_separator>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.2f</format>
|
||||
<node>/position/altitude-agl-ft</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.2f</format>
|
||||
<node>/instrumentation/attitude-indicator/indicated-roll-deg</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.2f</format>
|
||||
<node>/instrumentation/attitude-indicator/indicated-pitch-deg</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.2f</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>bool</type>
|
||||
<format>%d</format>
|
||||
<node>/instrumentation/attitude-indicator/caged-flag</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.2f</format>
|
||||
<node>/instrumentation/airspeed-indicator/tas-face-rotation</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.2f</format>
|
||||
<node>/instrumentation/airspeed-indicator/indicated-speed-kt</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.3f</format>
|
||||
<node>/instrumentation/altimeter/setting-inhg</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.2f</format>
|
||||
<node>/instrumentation/radar-altimeter/decision-height</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.2f</format>
|
||||
<node>/instrumentation/altimeter/indicated-altitude-ft</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>/instrumentation/adf[0]/rotation-deg</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.2f</format>
|
||||
<node>/instrumentation/adf[0]/indicated-bearing-deg</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.3f</format>
|
||||
<node>/instrumentation/slip-skid-ball/indicated-slip-skid</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.2f</format>
|
||||
<node>/instrumentation/turn-indicator/indicated-turn-rate</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4f</format>
|
||||
<node>/instrumentation/kcs55/ki525/gs-deflection</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>/instrumentation/nav[0]/heading-needle-deflection</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>/instrumentation/nav[0]/radials/selected-deg</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>/instrumentation/nav[0]/to-flag</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>/instrumentation/nav[0]/from-flag</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>/instrumentation/nav[0]/in-range</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>int</type>
|
||||
<format>%d</format>
|
||||
<node>/instrumentation/nav[0]/has-gs</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>instrumentation/heading-indicator/indicated-heading-deg</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>instrumentation/kcs55/kg102/flag-norm</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>instrumentation/kcs55/ki525/selected-heading-deg</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>autopilot/settings/heading-bug-deg</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>/instrumentation/vertical-speed-indicator/indicated-speed-fpm</node>
|
||||
</chunk>
|
||||
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>/instrumentation/nav[1]/to-flag</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>/instrumentation/nav[1]/from-flag</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>/instrumentation/nav[1]/radials/selected-deg</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>/instrumentation/nav[1]/heading-needle-deflection</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>int</type>
|
||||
<format>%d</format>
|
||||
<node>/instrumentation/nav[1]/in-range</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>int</type>
|
||||
<format>%d</format>
|
||||
<node>/autopilot/CENTURYIII/settings/gs-captured</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>int</type>
|
||||
<format>%d</format>
|
||||
<node>/controls/lighting/gs-captured-light-test</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>int</type>
|
||||
<format>%d</format>
|
||||
<node>/gear/in-transit</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>/systems/electrical/amps</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>/systems/electrical/volts</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>/engines/engine[0]/cht-degf</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>/engines/engine[0]/oil-temperature-degf</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>/engines/engine[0]/oil-pressure-psi</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>/consumables/fuel/tank[0]/level-gal_us</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>/engines/engine[1]/cht-degf</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>/engines/engine[1]/oil-temperature-degf</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>/engines/engine[1]/oil-pressure-psi</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>/consumables/fuel/tank[1]/level-gal_us</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>string</type>
|
||||
<format>%s</format>
|
||||
<node>instrumentation/clock/indicated-string</node>
|
||||
</chunk>
|
||||
|
||||
<!-- right half -->
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>/instrumentation/nav[1]/to-flag</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>/instrumentation/nav[1]/from-flag</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>/instrumentation/nav[1]/radials/selected-deg</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>/instrumentation/nav[1]/heading-needle-deflection</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>/instrumentation/nav[1]/in-range</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>int</type>
|
||||
<format>%d</format>
|
||||
<node>/instrumentation/vacuum/inoperative[0]</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>int</type>
|
||||
<format>%d</format>
|
||||
<node>/instrumentation/vacuum/inoperative[1]</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.3e</format>
|
||||
<node>/instrumentation/vacuum/suction-inhg</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>/engines/engine[0]/rpm</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>/engines/engine[0]/mp-osi-filtered</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>engines/engine[0]/egt-degf</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>/engines/engine[0]/fuel-flow-gph</node>
|
||||
</chunk>
|
||||
|
||||
<!-- annunciator -->
|
||||
<chunk>
|
||||
<type>bool</type>
|
||||
<format>%d</format>
|
||||
<node>instrumentation/annunciator/test</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>bool</type>
|
||||
<format>%d</format>
|
||||
<node>instrumentation/annunciator/fuelpump[0]</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>bool</type>
|
||||
<format>%d</format>
|
||||
<node>instrumentation/annunciator/fuelpump[1]</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>bool</type>
|
||||
<format>%d</format>
|
||||
<node>instrumentation/annunciator/overboost[0]</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>bool</type>
|
||||
<format>%d</format>
|
||||
<node>instrumentation/annunciator/overboost[1]</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>bool</type>
|
||||
<format>%d</format>
|
||||
<node>instrumentation/annunciator/oil</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>bool</type>
|
||||
<format>%d</format>
|
||||
<node>instrumentation/annunciator/vacuum</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>bool</type>
|
||||
<format>%d</format>
|
||||
<node>instrumentation/annunciator/alt</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>/controls/flight/rudder-trim</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>/controls/flight/elevator-trim</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>/surface-positions/flap-pos-norm</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<type>float</type>
|
||||
<format>%.4e</format>
|
||||
<node>/systems/electrical/outputs/turn-coordinator</node>
|
||||
</chunk>
|
||||
|
||||
</output>
|
||||
|
||||
</generic>
|
||||
|
||||
</PropertyList>
|
42
Aircraft/c172p/Panels/FGPanel_c172p.xml
Normal file
42
Aircraft/c172p/Panels/FGPanel_c172p.xml
Normal file
|
@ -0,0 +1,42 @@
|
|||
<PropertyList>
|
||||
<!--
|
||||
FGPanel for the C172p Mini Cockpit
|
||||
Thorsten Brehm, October 2011
|
||||
-->
|
||||
<comment>
|
||||
<![CDATA[
|
||||
Usage:
|
||||
* To display the panel:
|
||||
fgpanel --fg-root=... --panel=Aircraft/c172p/Panels
|
||||
# To send the data to the panel:
|
||||
fgfs --generic=socket,out,<hz>,<host>,34200,udp,../Aircraft/c172p/Panels/FGPanel_Protocol_c172p
|
||||
]]>
|
||||
</comment>
|
||||
|
||||
<game-mode type="bool">true</game-mode>
|
||||
|
||||
<panel include="FGPanel_instruments.xml"/>
|
||||
|
||||
<sim>
|
||||
<panel>
|
||||
<flip-x type="bool">false</flip-x>
|
||||
<flip-y type="bool">true</flip-y>
|
||||
</panel>
|
||||
<frame-rate-throttle-hz>30</frame-rate-throttle-hz>
|
||||
<instrument-options>
|
||||
<omit-knobs type="bool">true</omit-knobs>
|
||||
</instrument-options>
|
||||
</sim>
|
||||
|
||||
<communication>
|
||||
<listen>
|
||||
<host>0.0.0.0</host>
|
||||
<port>34200</port>
|
||||
<style>udp</style>
|
||||
</listen>
|
||||
|
||||
<protocol include="FGPanel_Protocol_c172p.xml"/>
|
||||
|
||||
</communication>
|
||||
|
||||
</PropertyList>
|
227
Aircraft/c172p/Panels/FGPanel_instruments.xml
Normal file
227
Aircraft/c172p/Panels/FGPanel_instruments.xml
Normal file
|
@ -0,0 +1,227 @@
|
|||
<?xml version="1.0"?>
|
||||
<!--
|
||||
main c172p cockpit panel
|
||||
Thorsten Brehm, October 2011
|
||||
-->
|
||||
|
||||
<PropertyList>
|
||||
<params>
|
||||
<row-1>242</row-1>
|
||||
<row-2>146</row-2>
|
||||
<row-3>71</row-3>
|
||||
<row-4>50</row-4>
|
||||
|
||||
<col-1>35</col-1>
|
||||
<col-2>116</col-2>
|
||||
<col-3>202</col-3>
|
||||
<col-4>288</col-4>
|
||||
<col-5>383</col-5>
|
||||
|
||||
<size-1>95</size-1>
|
||||
<size-2>52</size-2>
|
||||
|
||||
<callsign>D-GEAR</callsign>
|
||||
</params>
|
||||
|
||||
<name>c172p IFR Panel</name>
|
||||
|
||||
<!-- works for 16:9 -->
|
||||
<!--
|
||||
<w>980</w>
|
||||
<h>330</h>
|
||||
-->
|
||||
|
||||
<!-- works for 4:3 (17" screen) -->
|
||||
<w>430</w>
|
||||
<h>353</h>
|
||||
<instruments>
|
||||
|
||||
<instrument include="/Aircraft/Instruments/fps.xml">
|
||||
<name>frames per second</name>
|
||||
<x>10</x>
|
||||
<y>340</y>
|
||||
<w>40</w>
|
||||
<h>40</h>
|
||||
</instrument>
|
||||
|
||||
<instrument include="callsign.xml">
|
||||
<name>callsign</name>
|
||||
<x>133</x>
|
||||
<y>302</y>
|
||||
<w>100</w>
|
||||
<h>20</h>
|
||||
</instrument>
|
||||
|
||||
<instrument include="/Aircraft/Instruments/asi-c172s.xml">
|
||||
<name>Airspeed Indicator</name>
|
||||
<x alias="../../../params/col-2"/>
|
||||
<y alias="../../../params/row-1"/>
|
||||
<w alias="../../../params/size-1"/>
|
||||
<h alias="../../../params/size-1"/>
|
||||
</instrument>
|
||||
|
||||
<instrument include="/Aircraft/Instruments/ati-c172s.xml">
|
||||
<name>Attitude Gyro</name>
|
||||
<x alias="../../../params/col-3"/>
|
||||
<y alias="../../../params/row-1"/>
|
||||
<w alias="../../../params/size-1"/>
|
||||
<h alias="../../../params/size-1"/>
|
||||
</instrument>
|
||||
|
||||
<instrument include="/Aircraft/Instruments/alt-c172s.xml">
|
||||
<name>Altimeter</name>
|
||||
<x alias="../../../params/col-4"/>
|
||||
<y alias="../../../params/row-1"/>
|
||||
<w alias="../../../params/size-1"/>
|
||||
<h alias="../../../params/size-1"/>
|
||||
</instrument>
|
||||
|
||||
<instrument include="/Aircraft/Instruments/trn-c172s.xml">
|
||||
<name>Turn Coordinator</name>
|
||||
<x alias="../../../params/col-2"/>
|
||||
<y alias="../../../params/row-2"/>
|
||||
<w alias="../../../params/size-1"/>
|
||||
<h alias="../../../params/size-1"/>
|
||||
</instrument>
|
||||
|
||||
<instrument include="/Aircraft/Instruments/hdg-c172s.xml">
|
||||
<name>HDG</name>
|
||||
<x alias="../../../params/col-3"/>
|
||||
<y alias="../../../params/row-2"/>
|
||||
<w alias="../../../params/size-1"/>
|
||||
<h alias="../../../params/size-1"/>
|
||||
</instrument>
|
||||
|
||||
<instrument include="/Aircraft/Instruments/vsi-c172s.xml">
|
||||
<name>Vertical Velocity Indicator</name>
|
||||
<x alias="../../../params/col-4"/>
|
||||
<y alias="../../../params/row-2"/>
|
||||
<w alias="../../../params/size-1"/>
|
||||
<h alias="../../../params/size-1"/>
|
||||
</instrument>
|
||||
|
||||
<!-- Column 1 -->
|
||||
<instrument include="/Aircraft/Instruments/clock.xml">
|
||||
<name>clock</name>
|
||||
<x>45</x>
|
||||
<y>248</y>
|
||||
<w alias="../../../params/size-2"/>
|
||||
<h alias="../../../params/size-2"/>
|
||||
</instrument>
|
||||
|
||||
<instrument include="/Aircraft/SenecaII/Panels/Vacuum.xml">
|
||||
<name>Gyro Pressure Gauge</name>
|
||||
<x>20</x>
|
||||
<y>203</y>
|
||||
<w>35</w>
|
||||
<h>35</h>
|
||||
</instrument>
|
||||
|
||||
<instrument include="Aircraft/Instruments/fuel-c172p.xml">
|
||||
<name>Fuel</name>
|
||||
<x alias="../../../params/col-1"/>
|
||||
<y>163</y>
|
||||
<w>165</w>
|
||||
<h>20</h>
|
||||
</instrument>
|
||||
|
||||
<instrument include="/Aircraft/Instruments/oil-c172p.xml">
|
||||
<name>Oil</name>
|
||||
<params>
|
||||
<ot>engines/engine[0]/oil-temperature-degf</ot>
|
||||
<op>/engines/engine[0]/oil-pressure-psi</op>
|
||||
</params>
|
||||
<x alias="../../../params/col-1"/>
|
||||
<y>124</y>
|
||||
<w>165</w>
|
||||
<h>20</h>
|
||||
</instrument>
|
||||
|
||||
<instrument include="/Aircraft/Instruments/battery-c172p.xml">
|
||||
<name>VoltAmps</name>
|
||||
<params>
|
||||
<amps>/systems/electrical/amps</amps>
|
||||
<volts>/systems/electrical/volts</volts>
|
||||
</params>
|
||||
<x alias="../../../params/col-1"/>
|
||||
<y>20</y>
|
||||
<w>50</w>
|
||||
<h>50</h>
|
||||
</instrument>
|
||||
|
||||
<!-- Column 4 -->
|
||||
<instrument include="/Aircraft/SenecaII/Panels/EGT.xml">
|
||||
<name>EGT Gauge</name>
|
||||
<params>
|
||||
<value>engines/engine[0]/egt-degf</value>
|
||||
</params>
|
||||
<x alias="../../../params/col-4"/>
|
||||
<y alias="../../../params/row-4"/>
|
||||
<w alias="../../../params/size-2"/>
|
||||
<h alias="../../../params/size-2"/>
|
||||
</instrument>
|
||||
|
||||
<!-- Column 5 -->
|
||||
<instrument include="/Aircraft/Instruments/vor2-c172s.xml">
|
||||
<name>VOR 2 Gauge</name>
|
||||
<params>
|
||||
<nav-to-flag>/instrumentation/nav[0]/from-flag</nav-to-flag>
|
||||
<nav-from-flag>/instrumentation/nav[0]/to-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 alias="../../../params/col-5"/>
|
||||
<y alias="../../../params/row-1"/>
|
||||
<w alias="../../../params/size-1"/>
|
||||
<h alias="../../../params/size-1"/>
|
||||
</instrument>
|
||||
|
||||
<instrument include="/Aircraft/Instruments/vor2-c172s.xml">
|
||||
<name>VOR 2 Gauge</name>
|
||||
<params>
|
||||
<nav-to-flag>/instrumentation/nav[1]/from-flag</nav-to-flag>
|
||||
<nav-from-flag>/instrumentation/nav[1]/to-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 alias="../../../params/col-5"/>
|
||||
<y alias="../../../params/row-2"/>
|
||||
<w alias="../../../params/size-1"/>
|
||||
<h alias="../../../params/size-1"/>
|
||||
</instrument>
|
||||
|
||||
<instrument include="/Aircraft/Instruments/adf-c172s.xml">
|
||||
<name>ADF</name>
|
||||
<params>
|
||||
<adf-course-rotation-deg>/instrumentation/adf[0]/rotation-deg</adf-course-rotation-deg>
|
||||
<adf-needle-deg>/instrumentation/adf[0]/indicated-bearing-deg</adf-needle-deg>
|
||||
</params>
|
||||
<x alias="../../../params/col-5"/>
|
||||
<y alias="../../../params/row-4"/>
|
||||
<w alias="../../../params/size-1"/>
|
||||
<h alias="../../../params/size-1"/>
|
||||
</instrument>
|
||||
|
||||
<!-- Column 2- -->
|
||||
|
||||
<instrument include="/Aircraft/Instruments/rpm-c172s.xml">
|
||||
<name>RPM Gauge</name>
|
||||
<params>
|
||||
<source>/engines/engine[0]/rpm</source>
|
||||
</params>
|
||||
<x alias="../../../params/col-2"/>
|
||||
<y alias="../../../params/row-4"/>
|
||||
<w alias="../../../params/size-1"/>
|
||||
<h alias="../../../params/size-1"/>
|
||||
</instrument>
|
||||
|
||||
</instruments>
|
||||
|
||||
</PropertyList>
|
||||
|
38
Aircraft/c172p/Panels/callsign.xml
Normal file
38
Aircraft/c172p/Panels/callsign.xml
Normal file
|
@ -0,0 +1,38 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<name>callsign</name>
|
||||
<w-base>280</w-base>
|
||||
<h-base>20</h-base>
|
||||
|
||||
<layers>
|
||||
|
||||
<layer>
|
||||
<w>240</w>
|
||||
<h>20</h>
|
||||
<name>callsign</name>
|
||||
<type>text</type>
|
||||
<font>helvetica_bold</font>
|
||||
<font>Helvetica</font>
|
||||
<font>lucida</font>
|
||||
<point-size>24</point-size>
|
||||
<color>
|
||||
<red>1.0</red>
|
||||
<green>1.0</green>
|
||||
<blue>1.0</blue>
|
||||
</color>
|
||||
<chunks>
|
||||
<chunk>
|
||||
<type>literal</type>
|
||||
<text>D-GEAR</text>
|
||||
<!--
|
||||
<property>/sim/callsign</property>
|
||||
-->
|
||||
</chunk>
|
||||
</chunks>
|
||||
</layer>
|
||||
|
||||
</layers>
|
||||
|
||||
</PropertyList>
|
Loading…
Add table
Reference in a new issue