1
0
Fork 0
fgdata/Aircraft/Instruments/autopilot.xml
j4strngs 9c71600d1f Addition from Jim Wilson
Jim sez:

This file contains the xml and updated rgb for an APR button on the
 autopilot.  It can be used to lock on to the glide slope on an
 ILS aproach.
  As it stands now the NAV locks onto the NAV1 localizer and the APR locks
  on to the NAV1 GS (if it exists).  I think (and I'm not quite sure) that on a
  real autopilot (like the KAP-140) the NAV button will lock on to VOR signals
  and the APR is used for locking to localizer/ils for both axiis.  But without
   having a manual and knowing exactly how this should work, and making further
    changes to the autopilot code, this slight modification will make it easier to
     lock onto a glideslope on approach.
2002-02-09 03:18:52 +00:00

597 lines
13 KiB
XML

<?xml version="1.0"?>
<!--
Modularized lighted buttons added March 5 2001
by John Check, <j4strngs@rockfish.net>
Wing leveler and climb/descent added Feb 2001
by Curtis Olson, <curt@infoplane.com>
_______________________________________________________________________________
Default autopilot instrument.
Started summer 2000 by David Megginson, david@megginson.com.
This is an instrument configuration file for the open-source flight
simulator FlightGear (www.flightgear.org). The file is an XML-encoded
FlightGear property list defining the instrument's layers and actions.
Each instrument is composed of layers stacked on top of each other.
A layer may be a texture (with transparent parts to show the layers
underneath), text, or a special layer that switches between two
others (say, to turn an indicator light on or off). Each layer can
move independently in proportion to a property value, and text
can be generated from property values as well: all of the layer's
movements are defined as transformations.
Actions are hotspots on the instrument that will respond to a mouse
click. Actions always modify the values of properties, either by
adjusting them, toggling them, or swaping them with other
properties' values.
-->
<PropertyList>
<name>autopilot</name>
<w-base>256</w-base>
<h-base>32</h-base>
<layers>
<layer>
<name>background</name>
<texture>
<path>Aircraft/Instruments/Textures/navcom-radios.rgb</path>
<x1>0.0</x1>
<y1>0.375</y1>
<x2>1.0</x2>
<y2>0.5</y2>
</texture>
<w>256</w>
<h>32</h>
</layer>
<layer>
<name>WL button</name>
<type>switch</type>
<property>/autopilot/locks/wing-leveler</property>
<layer>
<name>WL on</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.328125</y1>
<x2>0.21875</x2>
<y2>0.4921875</y2>
</texture>
<w>32</w>
<h>16</h>
</layer>
<layer>
<name>WL off</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.1640625</y1>
<x2>0.21875</x2>
<y2>0.328125</y2>
</texture>
<w>32</w>
<h>16</h>
</layer>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-76</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>WL top</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>0.21875</x2>
<y2>0.1326125</y2>
</texture>
<w>32</w>
<h>16</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-76</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>WL label</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.421875</x1>
<y1>0.0625</y1>
<x2>0.546875</x2>
<y2>0.125</y2>
</texture>
<w>20</w>
<h>8</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-76</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>HDG button</name>
<type>switch</type>
<property>/autopilot/locks/heading</property>
<layer>
<name>HDG on</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.328125</y1>
<x2>0.21875</x2>
<y2>0.4921875</y2>
</texture>
<w>32</w>
<h>16</h>
</layer>
<layer>
<name>HDG off</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.1640625</y1>
<x2>0.21875</x2>
<y2>0.328125</y2>
</texture>
<w>32</w>
<h>16</h>
</layer>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-44</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>HDG top</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>0.21875</x2>
<y2>0.1326125</y2>
</texture>
<w>32</w>
<h>16</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-44</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>HDG label</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.4140625</x1>
<y1>0.0078125</y1>
<x2>0.609375</x2>
<y2>0.0703125</y2>
</texture>
<w>20</w>
<h>8</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-44</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>NAV button</name>
<type>switch</type>
<property>/autopilot/locks/nav[0]</property>
<layer>
<name>NAV on</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.328125</y1>
<x2>0.21875</x2>
<y2>0.4921875</y2>
</texture>
<w>32</w>
<h>16</h>
</layer>
<layer>
<name>NAV off</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.1640625</y1>
<x2>0.21875</x2>
<y2>0.328125</y2>
</texture>
<w>32</w>
<h>16</h>
</layer>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-12</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>NAV top</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>0.21875</x2>
<y2>0.1326125</y2>
</texture>
<w>32</w>
<h>16</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-12</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>NAV label</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.21875</x1>
<y1>0.0078125</y1>
<x2>0.421875</x2>
<y2>0.0703125</y2>
</texture>
<w>20</w>
<h>8</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-12</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>APR button</name>
<type>switch</type>
<property>/autopilot/locks/glide-slope[0]</property>
<layer>
<name>APR on</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.328125</y1>
<x2>0.21875</x2>
<y2>0.4921875</y2>
</texture>
<w>32</w>
<h>16</h>
</layer>
<layer>
<name>APR off</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.1640625</y1>
<x2>0.21875</x2>
<y2>0.328125</y2>
</texture>
<w>32</w>
<h>16</h>
</layer>
<transformations>
<transformation>
<type>x-shift</type>
<offset>20</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>APR top</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>0.21875</x2>
<y2>0.1326125</y2>
</texture>
<w>32</w>
<h>16</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>20</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>APR label</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.6171875</x1>
<y1>0.0078125</y1>
<x2>0.796875</x2>
<y2>0.0703125</y2>
</texture>
<w>20</w>
<h>8</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>20</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>ALT button</name>
<type>switch</type>
<property>/autopilot/locks/altitude</property>
<layer>
<name>ALT on</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.328125</y1>
<x2>0.21875</x2>
<y2>0.4921875</y2>
</texture>
<w>32</w>
<h>16</h>
</layer>
<layer>
<name>ALT off</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.1640625</y1>
<x2>0.21875</x2>
<y2>0.328125</y2>
</texture>
<w>32</w>
<h>16</h>
</layer>
<transformations>
<transformation>
<type>x-shift</type>
<offset>52</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>ALT top</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>0.21875</x2>
<y2>0.1326125</y2>
</texture>
<w>32</w>
<h>16</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>52</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>ALT label</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.21875</x1>
<y1>0.0625</y1>
<x2>0.421875</x2>
<y2>0.125</y2>
</texture>
<w>20</w>
<h>8</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>52</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>button</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.75</y1>
<x2>0.25</x2>
<y2>1.0</y2>
</texture>
<w>15</w>
<h>15</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>76</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>target climb rate</name>
<type>text</type>
<point-size>10</point-size>
<color>
<red>1.0</red>
<green>0.5</green>
<blue>0.0</blue>
</color>
<chunks>
<chunk>
<type>number-value</type>
<property>/autopilot/settings/altitude-ft</property>
<format>%05.0f</format>
</chunk>
</chunks>
<transformations>
<transformation>
<type>x-shift</type>
<offset>86</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-3</offset>
</transformation>
</transformations>
</layer>
</layers>
<actions>
<action>
<name>toggle wing leveler lock</name>
<button>0</button>
<x>-80</x>
<y>-8</y>
<w>32</w>
<h>16</h>
<binding>
<command>property-toggle</command>
<property>/autopilot/locks/wing-leveler</property>
</binding>
</action>
<action>
<name>toggle heading lock</name>
<button>0</button>
<x>-60</x>
<y>-8</y>
<w>32</w>
<h>16</h>
<binding>
<command>property-toggle</command>
<property>/autopilot/locks/heading</property>
</binding>
</action>
<action>
<name>toggle nav1 lock</name>
<button>0</button>
<x>-28</x>
<y>-8</y>
<w>32</w>
<h>16</h>
<binding>
<command>property-toggle</command>
<property>/autopilot/locks/nav[0]</property>
</binding>
</action>
<action>
<name>toggle apr/nav1 lock</name>
<button>0</button>
<x>4</x>
<y>-8</y>
<w>32</w>
<h>16</h>
<binding>
<command>property-toggle</command>
<property>/autopilot/locks/glide-slope[0]</property>
</binding>
</action>
<action>
<name>toggle altitude lock</name>
<button>0</button>
<x>36</x>
<y>-8</y>
<w>32</w>
<h>16</h>
<binding>
<command>property-toggle</command>
<property>/autopilot/locks/altitude</property>
</binding>
</action>
<action>
<name>decrease climb rate</name>
<button>0</button>
<x>70</x>
<y>-8</y>
<w>8</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/autopilot/settings/altitude-ft</property>
<step>-100</step>
<min>0</min>
<max>99900</max>
<wrap>0</wrap>
</binding>
</action>
<action>
<name>large decrease climb rate</name>
<button>1</button>
<x>70</x>
<y>-8</y>
<w>8</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/autopilot/settings/altitude-ft</property>
<step>-1000</step>
<min>0</min>
<max>99900</max>
<wrap>0</wrap>
</binding>
</action>
<action>
<name>increase climb rate</name>
<button>0</button>
<x>78</x>
<y>-8</y>
<w>8</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/autopilot/settings/altitude-ft</property>
<step>100</step>
<min>0</min>
<max>99900</max>
<wrap>0</wrap>
</binding>
</action>
<action>
<name>large increase climb rate</name>
<button>1</button>
<x>78</x>
<y>-8</y>
<w>8</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/autopilot/settings/altitude-ft</property>
<step>1000</step>
<min>0</min>
<max>99900</max>
<wrap>0</wrap>
</binding>
</action>
</actions>
</PropertyList>