1
0
Fork 0

Reinstall the c172p, 3d cokcpit only for now

This commit is contained in:
ehofman 2005-02-19 10:51:46 +00:00
parent 2c8aaa35ee
commit 8cc903dfe6
33 changed files with 17102 additions and 0 deletions

View file

@ -0,0 +1,12 @@
<?xml version="1.0"?>
<FG_PISTON NAME="IO320">
MINMP 6.5
MAXMP 29.92
DISPLACEMENT 320.0
MAXHP 160.0
CYCLES 2.0
IDLERPM 550.0
MAXTHROTTLE 1.0
MINTHROTTLE 0.2
</FG_PISTON>

View file

@ -0,0 +1,61 @@
<?xml version="1.0"?>
<FG_PROPELLER NAME="Fixed-Pitch 75-inch Two-Blade Propeller">
IXX 1.67
DIAMETER 75
NUMBLADES 2
MINPITCH 22
MAXPITCH 22
C_THRUST 25 1
0.0 0.068
0.1 0.068
0.2 0.067
0.3 0.066
0.4 0.064
0.5 0.061
0.6 0.057
0.7 0.050
0.8 0.040
0.9 0.029
1.0 0.019
1.1 0.008
1.2 -0.001
1.3 -0.008
1.4 -0.019
1.5 -0.029
1.6 -0.040
1.7 -0.050
1.8 -0.057
1.9 -0.061
2.0 -0.064
2.1 -0.066
2.2 -0.067
2.3 -0.068
5.0 -0.068
C_POWER 26 1
0.0 0.0580
0.1 0.0620
0.2 0.0600
0.3 0.0580
0.4 0.0520
0.5 0.0450
0.6 0.0421
0.7 0.0389
0.8 0.0346
0.9 0.0280
1.0 0.0202
1.1 0.0111
1.2 0.0075
1.3 0.0111
1.4 0.0202
1.5 0.0280
1.6 0.0346
1.7 0.0389
1.8 0.0421
1.9 0.0436
2.0 0.0445
2.1 0.0445
2.2 0.0442
2.3 0.0431
2.4 0.0424
5.0 0.0413
</FG_PROPELLER>

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,684 @@
<?xml version="1.0"?>
<!--
Legacy 2D instruments and actions for the 3D C172P cockpit.
-->
<!DOCTYPE PropertyList>
<PropertyList>
<name>C172P 2D instruments.</name>
<background>Aircraft/c172p/Panels/Textures/transparent-bg.rgb</background>
<w>1424</w>
<h>488</h>
<view-height>500</view-height>
<instruments>
<!-- labels -->
<instrument include="/labels/labelbcn.xml">
<name>labelbcn</name>
<x>495</x>
<y>-270</y>
<w>28</w>
<h>26</h>
</instrument>
<!-- labels -->
<instrument include="/labels/labelnav.xml">
<name>labelnav</name>
<x>458</x>
<y>-270</y>
<w>28</w>
<h>26</h>
</instrument>
<!-- labels -->
<instrument include="/labels/labelpto.xml">
<name>labelpto</name>
<x>422</x>
<y>-270</y>
<w>28</w>
<h>26</h>
</instrument>
<!-- labels -->
<instrument include="/labels/labelsto.xml">
<name>labelsto</name>
<x>525</x>
<y>-270</y>
<w>28</w>
<h>26</h>
</instrument>
<!-- labels -->
<instrument include="/labels/labeltax.xml">
<name>labeltax</name>
<x>493</x>
<y>-204</y>
<w>28</w>
<h>26</h>
</instrument>
<!-- labels -->
<instrument include="/labels/labellng.xml">
<name>labellng</name>
<x>525</x>
<y>-204</y>
<w>28</w>
<h>26</h>
</instrument>
<!-- engine gauge cluster -->
<instrument include="../../Instruments/clock.xml">
<name>Chronometer</name>
<x>162</x>
<y>216</y>
<w>74</w>
<h>74</h>
</instrument>
<instrument include="../../Instruments/egt.xml">
<name>Exhaust Gas Temperature Gauge</name>
<x>162</x>
<y>142</y>
<w>74</w>
<h>74</h>
</instrument>
<instrument include="../../Instruments/fuel.xml">
<name>Fuel Gauge</name>
<x>85</x>
<y>142</y>
<w>74</w>
<h>74</h>
</instrument>
<instrument include="../../Instruments/oil.xml">
<name>Oil Gauge</name>
<x>85</x>
<y>65</y>
<w>74</w>
<h>74</h>
</instrument>
<instrument include="../../Instruments/vacamp.xml">
<name>Vacuum Pressure Gauge</name>
<x>162</x>
<y>65</y>
<w>74</w>
<h>74</h>
</instrument>
<!-- end engine gauges cluster -->
<!-- engine controls cluster -->
<instrument include="../../Instruments/rpm.xml">
<name>RPM Gauge</name>c172p-2d-panel.xml
<x>496</x>
<y>-25</y>
<w>115</w>
<h>115</h>
</instrument>
<instrument include="../../Instruments/single-magneto-switch.xml">
<name>Magneto switch panel</name>
<x>120</x>
<y>-180</y>
</instrument>
<!-- end engine controls cluster -->
<!-- sacred six -->
<instrument include="../../Instruments/asi-160-knot.xml">
<name>Airspeed Indicator</name>
<x>264</x>
<y>235</y>
<w>115</w>
<h>115</h>
</instrument>
<instrument include="../../Instruments/attitude-indicator.xml">
<name>Attitude Gyro</name>
<x>380</x>
<y>235</y>
<w>115</w>
<h>115</h>
</instrument>
<instrument include="../../Instruments/altimeter.xml">
<name>Altimeter</name>
<x>496</x>
<y>235</y>
<w>115</w>
<h>115</h>
</instrument>
<instrument include="../../Instruments/turn.xml">
<name>Turn Coordinator</name>
<x>264</x>
<y>100</y>
<w>115</w>
<h>115</h>
</instrument>
<instrument include="../../Instruments/gyro.xml">
<name>Directional Gyro</name>
<x>380</x>
<y>100</y>
<w>115</w>
<h>115</h>
</instrument>
<instrument include="../../Instruments/vertical.xml">
<name>Vertical Velocity Indicator</name>
<x>496</x>
<y>100</y>
<w>115</w>
<h>115</h>
</instrument>
<!-- end sacred six -->
<!-- radio nav instruments -->
<instrument include="../../Instruments/nav1.xml">
<name>VOR 1 Gauge</name>
<x>620</x>
<y>235</y>
<w>115</w>
<h>115</h>
</instrument>
<instrument include="../../Instruments/nav1.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>620</x>
<y>100</y>
<w>115</w>
<h>115</h>
</instrument>
<instrument include="../../Instruments/adf.xml">
<name>ADF Gauge</name>
<x>620</x>
<y>-25</y>
<w>115</w>
<h>115</h>
</instrument>
<!-- end radio nav instruments -->
<!-- radio stack -->
<instrument include="../../Instruments/markerbeacon.xml">
<name>Marker Beacon Indicators</name>
<x>770</x>
<y>290</y>
</instrument>
<instrument include="../../Instruments/navcom-radio.xml">
<name>NavCom 1 Radio</name>
<x>825</x>
<y>240</y>
<w>235</w>
<h>60</h>
</instrument>
<instrument include="../../Instruments/navcom-radio.xml">
<name>NavCom 2 Radio</name>
<params>
<comm-freq-selected-prop>/instrumentation/comm[1]/frequencies/selected-mhz</comm-freq-selected-prop>
<comm-freq-standby-prop>/instrumentation/comm[1]/frequencies/standby-mhz</comm-freq-standby-prop>
<nav-freq-selected-prop>/instrumentation/nav[1]/frequencies/selected-mhz</nav-freq-selected-prop>
<nav-freq-standby-prop>/instrumentation/nav[1]/frequencies/standby-mhz</nav-freq-standby-prop>
<nav-morse-id-volume-prop>/instrumentation/nav[1]/volume</nav-morse-id-volume-prop>
<nav-morse-ident-toggle-prop>/instrumentation/nav[1]/ident</nav-morse-ident-toggle-prop>
</params>
<x>825</x>
<y>180</y>
<w>235</w>
<h>60</h>
</instrument>
<instrument include="../../Instruments/adf-radio.xml">
<name>ADF Radio</name>
<x>825</x>
<y>120</y>
<w>235</w>
<h>60</h>
</instrument>
<instrument include="../../Instruments/dme.xml">
<name>DME</name>
<x>825</x>
<y>-50</y>
</instrument>
<!--
<instrument include="../../Instruments/autopilot.xml">
<name>Autopilot</name>
<x>880</x>
<y>-20</y>
</instrument>
-->
<instrument include="../../Instruments/KAP140TwoAxisAlt.xml">
<name>KAP140 Autopilot</name>
<x>825</x>
<y>60</y>
<w>235</w>
<h>60</h>
</instrument>
<!-- end radio stack -->
<instrument>
<name>3D Action Placeholder</name>
<x>712</x>
<y>0</y>
<w>1424</w>
<h>1488</h>
<w-base>1424</w-base>
<h-base>1488</h-base>
<layers>
<layer>
<name>background</name>
<texture>
<path>Aircraft/c172p/Panels/Textures/transparent-bg.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>1.0</y2>
</texture>
</layer>
<layer>
<name>background</name>
<texture>
<path>Aircraft/c172p/Panels/Textures/transparent-bg.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>1.0</y2>
</texture>
</layer>
<layer>
<name>background</name>
<texture>
<path>Aircraft/c172p/Panels/Textures/transparent-bg.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>1.0</y2>
</texture>
</layer>
<layer>
<name>background</name>
<texture>
<path>Aircraft/c172p/Panels/Textures/transparent-bg.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>1.0</y2>
</texture>
</layer>
<layer>
<name>background</name>
<texture>
<path>Aircraft/c172p/Panels/Textures/transparent-bg.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>1.0</y2>
</texture>
</layer>
</layers>
<!-- toggle switches -->
<actions>
<action>
<name>toggle nav lights</name>
<button>0</button>
<x>-267</x>
<y>-246</y>
<w>20</w>
<h>50</h>
<binding>
<command>property-toggle</command>
<property>controls/lighting/nav-lights</property>
</binding>
</action>
<action>
<name>toggle beacon light </name>
<button>0</button>
<x>-233</x>
<y>-246</y>
<w>20</w>
<h>50</h>
<binding>
<command>property-toggle</command>
<property>controls/lighting/beacon</property>
</binding>
</action>
<action>
<name>toggle pitot heat</name>
<button>0</button>
<x>-307</x>
<y>-246</y>
<w>20</w>
<h>50</h>
<binding>
<command>property-toggle</command>
<property>controls/anti-ice/pitot-heat</property>
</binding>
</action>
<action>
<name>toggle strobe light</name>
<button>0</button>
<x>-198</x>
<y>-246</y>
<w>20</w>
<h>50</h>
<binding>
<command>property-toggle</command>
<property>controls/lighting/strobe</property>
</binding>
</action>
<action>
<name>toggle taxi light</name>
<button>0</button>
<x>-230</x>
<y>-180</y>
<w>20</w>
<h>50</h>
<binding>
<command>property-toggle</command>
<property>controls/lighting/taxi-light</property>
</binding>
</action>
<action>
<name>toggle landing light</name>
<button>0</button>
<x>-198</x>
<y>-180</y>
<w>20</w>
<h>50</h>
<binding>
<command>property-toggle</command>
<property>controls/lighting/landing-lights</property>
</binding>
</action>
<!-- elevator-trim -->
<action>
<name>small increase</name>
<button>0</button>
<x>-90</x>
<y>-470</y>
<w>60</w>
<h>110</h>
<binding>
<command>property-adjust</command>
<property>controls/flight/elevator-trim</property>
<step>0.03</step>
<min>0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>small decrease</name>
<button>0</button>
<x>-90</x>
<y>-580</y>
<w>60</w>
<h>110</h>
<binding>
<command>property-adjust</command>
<property>controls/flight/elevator-trim</property>
<step>-0.03</step>
<min>0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<!-- flap extend/retract -->
<action>
<name>Flap Retract</name>
<button>0</button>
<x>230</x>
<y>-245</y>
<w>30</w>
<h>80</h>
<binding>
<command>property-adjust</command>
<property>controls/flight/flaps</property>
<step>-0.34</step>
<min>0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>Flap Extend</name>
<button>0</button>
<x>260</x>
<y>-245</y>
<w>30</w>
<h>80</h>
<binding>
<command>property-adjust</command>
<property>controls/flight/flaps</property>
<step>0.34</step>
<min>0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<!-- carb heat control -->
<action>
<desc>carb-heat</desc>
<button>0</button>
<x>-145</x>
<y>-240</y>
<w>55</w>
<h>95</h>
<binding>
<command>property-toggle</command>
<property>controls/anti-ice/engine/carb-heat</property>
</binding>
</action>
<!-- throttle control -->
<action>
<name>big decrease</name>
<button>0</button>
<x>-45</x>
<y>-215</y>
<w>45</w>
<h>90</h>
<binding>
<command>property-adjust</command>
<property>controls/engines/engine/throttle</property>
<step>-0.07</step>
<min>0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>big increase</name>
<button>0</button>
<x>0</x>
<y>-215</y>
<w>45</w>
<h>90</h>
<binding>
<command>property-adjust</command>
<property>controls/engines/engine/throttle</property>
<step>0.07</step>
<min>0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>big decrease</name>
<button>0</button>
<x>-30</x>
<y>-315</y>
<w>45</w>
<h>100</h>
<binding>
<command>property-adjust</command>
<property>controls/engines/engine/throttle</property>
<step>-0.07</step>
<min>0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>big increase</name>
<button>0</button>
<x>15</x>
<y>-315</y>
<w>50</w>
<h>100</h>
<binding>
<command>property-adjust</command>
<property>controls/engines/engine/throttle</property>
<step>0.07</step>
<min>0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<!-- mixture control -->
<action>
<name>small decrease</name>
<button>0</button>
<x>80</x>
<y>-215</y>
<w>45</w>
<h>90</h>
<binding>
<command>property-adjust</command>
<property>controls/engines/engine/mixture</property>
<step>-0.03</step>
<min>0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>c172p-2d-panel.xml
</action>
<action>
<name>small increase</name>
<button>0</button>
<x>125</x>
<y>-215</y>
<w>45</w>
<h>90</h>
<binding>
<command>property-adjust</command>
<property>controls/engines/engine/mixture</property>
<step>0.03</step>
<min>0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>small decrease</name>
<button>0</button>
<x>110</x>
<y>-315</y>
<w>50</w>
<h>100</h>
<binding>
<command>property-adjust</command>
<property>controls/engines/engine/mixture</property>
<step>-0.03</step>
<min>0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>c172p-2d-panel.xml
</action>
<action>
<name>small increase</name>
<button>0</button>
<x>160</x>
<y>-315</y>
<w>50</w>
<h>100</h>
<binding>
<command>property-adjust</command>
<property>controls/engines/engine/mixture</property>
<step>0.03</step>
<min>0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</actions>
</instrument>
</instruments>
</PropertyList>

Binary file not shown.

Binary file not shown.

13605
Aircraft/c172p/Models/c172p.ac Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,675 @@
<?xml version="1.0"?>
<PropertyList>
<path>c172p.ac</path>
<!-- Temporarily use the 2D panel hack, until I have time to make
3D instruments -->
<panel>
<!-- <name>PanelInstruments</name> -->
<path>Aircraft/c172p/Models/c172p-2d-panel.xml</path>
<bottom-left>
<x-m>-0.37</x-m>
<y-m>-0.50</y-m>
<z-m>-0.10</z-m>
</bottom-left>
<bottom-right>
<x-m>-0.37</x-m>
<y-m> 0.50</y-m>
<z-m>-0.10</z-m>
</bottom-right>
<top-left>
<x-m>-0.37</x-m>
<y-m>-0.50</y-m>
<z-m> 0.25</z-m>
</top-left>
</panel>
<model>
<name>MagCompass</name>
<path>Aircraft/Instruments-3d/mag-compass.xml</path>
<offsets>
<x-m>-0.35</x-m>
<y-m>0.00</y-m>
<z-m>0.16</z-m>
</offsets>
</model>
<!-- LOD for the model as a whole -->
<animation>
<type>range</type>
<min-m>0</min-m>
<max-m>10000</max-m>
</animation>
<!-- Controls -->
<animation>
<name>CarbHeatGroup</name>
<object-name>CarbHeat</object-name>
<object-name>CarbHeatBack</object-name>
<object-name>CarbHeatRod</object-name>
</animation>
<animation>
<name>ThrottleGroup</name>
<object-name>Throttle</object-name>
<object-name>ThrottleRod</object-name>
</animation>
<animation>
<name>MixtureGroup</name>
<object-name>Mixture</object-name>
<object-name>MixtureRod</object-name>
</animation>
<animation>
<name>FlapSwitchGroup</name>
<object-name>FlapSwitch</object-name>
<object-name>FlapSwitchRod</object-name>
</animation>
<animation>
<name>ElectronicsGroup</name>
<object-name>TaxiLightSwitch</object-name>
<object-name>LandingLightSwitch</object-name>
<object-name>PitotHeatSwitch</object-name>
<object-name>NavLightSwitch</object-name>
<object-name>BeaconSwitch</object-name>
<object-name>StrobeSwitch</object-name>
<!--
<object-name>ElectronicsLabels</object-name>
<object-name>ElectronicsLabels2</object-name>
-->
</animation>
<!-- <animation>
<name>ControlsGroup</name>
<object-name>PanelInstruments</object-name>
<object-name>ElectronicsGroup</object-name>
<object-name>LeftYoke</object-name>
<object-name>RightYoke</object-name>
<object-name>CarbHeatGroup</object-name>
<object-name>ThrottleGroup</object-name>
<object-name>MixtureGroup</object-name>
<object-name>FlapSwitchGroup</object-name>
<object-name>TrimWheel</object-name>
</animation> -->
<!-- <animation>
<type>range</type>
<object-name>ControlsGroup</object-name>
<min-m>0</min-m>
<max-m>10.0</max-m>
</animation> -->
<animation>
<type>translate</type>
<object-name>LeftYoke</object-name>
<object-name>RightYoke</object-name>
<property>controls/flight/elevator</property>
<factor>-0.03</factor>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>LeftYoke</object-name>
<property>controls/flight/aileron</property>
<factor>-45</factor>
<center>
<x-m>-0.23</x-m>
<y-m>-0.245</y-m>
<z-m>-0.13</z-m>
</center>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>RightYoke</object-name>
<property>controls/flight/aileron</property>
<factor>-45</factor>
<center>
<x-m>-0.23</x-m>
<y-m>0.245</y-m>
<z-m>-0.13</z-m>
</center>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>translate</type>
<object-name>CarbHeatGroup</object-name>
<property>controls/anti-ice/engine[0]/carb-heat</property>
<factor>-0.04</factor>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>translate</type>
<object-name>ThrottleGroup</object-name>
<property>controls/engines/engine[0]/throttle</property>
<factor>-0.10</factor>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>translate</type>
<object-name>MixtureGroup</object-name>
<property>controls/engines/engine[0]/mixture</property>
<factor>-0.10</factor>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<property>controls/flight/flaps</property>
<object-name>FlapSwitchGroup</object-name>
<factor>60</factor>
<offset-deg>-30</offset-deg>
<axis>
<x>0.0</x>
<y>1.0</y>
<z>0.0</z>
</axis>
<center>
<x-m>-0.39</x-m>
<y-m>0.19</y-m>
<z-m>-0.25</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>TrimWheel</object-name>
<property>controls/flight/elevator-trim</property>
<factor>-360</factor>
<axis>
<x>0.0</x>
<y>1.0</y>
<z>0.0</z>
</axis>
<center>
<x-m>-0.41</x-m>
<y-m>-0.04</y-m>
<z-m>-0.46</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>TaxiLightSwitch</object-name>
<property>controls/lighting/taxi-light</property>
<factor>-55</factor>
<axis>
<x>0.0</x>
<y>1.0</y>
<z>0.0</z>
</axis>
<center>
<x-m>-0.363</x-m>
<y-m>0</y-m>
<z-m>-0.221</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>LandingLightSwitch</object-name>
<property>controls/lighting/landing-lights</property>
<factor>-55</factor>
<axis>
<x>0.0</x>
<y>1.0</y>
<z>0.0</z>
</axis>
<center>
<x-m>-0.363</x-m>
<y-m>0</y-m>
<z-m>-0.221</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>PitotHeatSwitch</object-name>
<property>controls/anti-ice/pitot-heat</property>
<factor>-55</factor>
<axis>
<x>0.0</x>
<y>1.0</y>
<z>0.0</z>
</axis>
<center>
<x-m>-0.363</x-m>
<y-m>0</y-m>
<z-m>-0.269</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>NavLightSwitch</object-name>
<property>controls/lighting/nav-lights</property>
<factor>-55</factor>
<axis>
<x>0.0</x>
<y>1.0</y>
<z>0.0</z>
</axis>
<center>
<x-m>-0.363</x-m>
<y-m>0</y-m>
<z-m>-0.269</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>BeaconSwitch</object-name>
<property>controls/lighting/beacon</property>
<factor>-55</factor>
<axis>
<x>0.0</x>
<y>1.0</y>
<z>0.0</z>
</axis>
<center>
<x-m>-0.363</x-m>
<y-m>0</y-m>
<z-m>-0.269</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>StrobeSwitch</object-name>
<property>controls/lighting/strobe</property>
<factor>-55</factor>
<axis>
<x>0.0</x>
<y>1.0</y>
<z>0.0</z>
</axis>
<center>
<x-m>-0.363</x-m>
<y-m>0</y-m>
<z-m>-0.269</z-m>
</center>
</animation>
<!-- Interior -->
<animation>
<name>InteriorGroup</name>
<object-name>Cabin</object-name>
<object-name>Panel</object-name>
<object-name>PilotSeat</object-name>
<object-name>CopilotSeat</object-name>
<object-name>BackSeat</object-name>
<object-name>MagCompass</object-name>
</animation>
<animation>
<type>range</type>
<object-name>InteriorGroup</object-name>
<min-m>0</min-m>
<max-m>50</max-m>
</animation>
<!-- Airframe -->
<animation>
<type>select</type>
<object-name>Propeller</object-name>
<condition>
<less-than>
<property>engines/engine[0]/rpm</property>
<value>200</value>
</less-than>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>Propeller.Slow</object-name>
<condition>
<and>
<greater-than>
<property>engines/engine[0]/rpm</property>
<value>190</value>
</greater-than>
<less-than>
<property>engines/engine[0]/rpm</property>
<value>1200</value>
</less-than>
</and>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>Propeller.Fast</object-name>
<condition>
<greater-than>
<property>engines/engine[0]/rpm</property>
<value>1200</value>
</greater-than>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>LeftNavLightOn</object-name>
<object-name>RightNavLightOn</object-name>
<object-name>RearNavLightOn</object-name>
<condition>
<property>controls/lighting/nav-lights</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>LeftNavLightOff</object-name>
<object-name>RightNavLightOff</object-name>
<object-name>RearNavLightOff</object-name>
<condition>
<not>
<property>controls/lighting/nav-lights</property>
</not>
</condition>
</animation>
<animation>
<name>BeaconFlasher</name>
<type>timed</type>
<object-name>BeaconOff</object-name>
<object-name>BeaconOn</object-name>
<duration-sec>1.0</duration-sec>
</animation>
<animation>
<type>select</type>
<object-name>BeaconFlasher</object-name>
<condition>
<property>controls/lighting/beacon</property>
</condition>
</animation>
<!-- Experimental Taxi and Landing Lights -->
<animation>
<type>spin</type>
<object-name>Propeller</object-name>
<property>engines/engine[0]/rpm</property>
<factor>-1</factor>
<center>
<x-m>-1.77</x-m>
<y-m>0</y-m>
<z-m>-0.12</z-m>
</center>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>spin</type>
<object-name>Propeller.Slow</object-name>
<property>engines/engine[0]/rpm</property>
<factor>-0.1</factor>
<center>
<x-m>-1.77</x-m>
<y-m>0</y-m>
<z-m>-0.12</z-m>
</center>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>spin</type>
<object-name>Propeller.Fast</object-name>
<property>engines/engine[0]/rpm</property>
<factor>-0.001</factor>
<center>
<x-m>-1.77</x-m>
<y-m>0</y-m>
<z-m>-0.12</z-m>
</center>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>NoseWheel</object-name>
<object-name>NoseWheelStrut</object-name>
<object-name>Axle</object-name>
<property>surface-positions/rudder-pos-norm</property>
<factor>-30.0</factor>
<center>
<x-m>-0.9</x-m>
<y-m>0</y-m>
<z-m>-0.59</z-m>
</center>
<axis>
<x>0.25</x>
<y>0.00</y>
<z>1.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>LeftAileron</object-name>
<property>surface-positions/left-aileron-pos-norm</property>
<interpolation>
<entry>
<ind>-1.0</ind>
<dep>-15</dep>
</entry>
<entry>
<ind>0.0</ind>
<dep>0</dep>
</entry>
<entry>
<ind>1.0</ind>
<dep>20</dep>
</entry>
</interpolation>
<center>
<x-m>1.1</x-m>
<y-m>-1.96</y-m>
<z-m>0.35</z-m>
</center>
<axis>
<x>0.49</x>
<y>2.65</y>
<z>-0.03</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>RightAileron</object-name>
<property>surface-positions/right-aileron-pos-norm</property>
<interpolation>
<entry>
<ind>-1.0</ind>
<dep>20</dep>
</entry>
<entry>
<ind>0.0</ind>
<dep>0</dep>
</entry>
<entry>
<ind>1.0</ind>
<dep>-15</dep>
</entry>
</interpolation>
<center>
<x-m>1.1</x-m>
<y-m>1.96</y-m>
<z-m>0.35</z-m>
</center>
<axis>
<x>-0.49</x>
<y>2.65</y>
<z>0.03</z>
</axis>
</animation>
<animation>
<type>translate</type>
<object-name>LeftFlap</object-name>
<object-name>RightFlap</object-name>
<property>surface-positions/flap-pos-norm</property>
<factor>0.15</factor>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.2</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>LeftFlap</object-name>
<property>surface-positions/flap-pos-norm</property>
<factor>30</factor>
<center>
<x-m>0.76</x-m>
<y-m>-0.53</y-m>
<z-m>0.32</z-m>
</center>
<axis>
<x>0.0</x>
<y>1.0</y>
<z>-0.1</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>RightFlap</object-name>
<property>surface-positions/flap-pos-norm</property>
<factor>30</factor>
<center>
<x-m>0.76</x-m>
<y-m>-0.53</y-m>
<z-m>0.32</z-m>
</center>
<axis>
<x>0.0</x>
<y>1.0</y>
<z>0.1</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>Elevators</object-name>
<object-name>ElevatorTrimTab</object-name>
<property>surface-positions/elevator-pos-norm</property>
<interpolation>
<entry>
<ind>-1.0</ind>
<dep>-28</dep>
</entry>
<entry>
<ind>0</ind>
<dep>0</dep>
</entry>
<entry>
<ind>1.0</ind>
<dep>23</dep>
</entry>
</interpolation>
<center>
<x-m>4.84</x-m>
<y-m>0.0</y-m>
<z-m>-0.17</z-m>
</center>
<axis>
<x>0.0</x>
<y>1.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>ElevatorTrimTab</object-name>
<property>controls/flight/elevator-trim</property>
<factor>25</factor>
<center>
<x-m>5.06</x-m>
<y-m>1.12</y-m>
<z-m>-0.18</z-m>
</center>
<axis>
<x>0.17</x>
<y>-0.82</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>Rudder</object-name>
<object-name>RearNavLightOn</object-name>
<object-name>RearNavLightOff</object-name>
<property>surface-positions/rudder-pos-norm</property>
<factor>17.5</factor>
<center>
<x-m>4.84</x-m>
<y-m>0.0</y-m>
<z-m>-.16</z-m>
</center>
<axis>
<x>0.25</x>
<y>0.0</y>
<z>1.0</z>
</axis>
</animation>
</PropertyList>

View file

@ -0,0 +1,48 @@
<?xml version="1.0"?>
<!--
label-bcn
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>labelbcn</name>
<w-base>14</w-base>
<h-base>12</h-base>
<layers>
<layer>
<name>face</name>
<texture>
<path>Aircraft/Instruments/Textures/flaps.rgb</path>
<x1>0.47</x1>
<y1>0.39</y1>
<x2>0.65</x2>
<y2>0.52</y2>
</texture>
</layer>
</layers>
</PropertyList>

View file

@ -0,0 +1,42 @@
<!--
label-lng
Started summer 2000 by David Megginson, david@megginson.com.
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>labellng</name>
<w-base>14</w-base>
<h-base>12</h-base>
<layers>
<layer>
<name>face</name>
<texture>
<path>Aircraft/Instruments/Textures/flaps.rgb</path>
<x1>0.65</x1>
<y1>0.49</y1>
<x2>0.82</x2>
<y2>0.62</y2>
</texture>
</layer>
</layers>
</PropertyList>

View file

@ -0,0 +1,43 @@
<!--
label-nav
Started summer 2000 by David Megginson, david@megginson.com.
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>labelnav</name>
<w-base>14</w-base>
<h-base>12</h-base>
<layers>
<layer>
<name>face</name>
<texture>
<path>Aircraft/Instruments/Textures/flaps.rgb</path>
<x1>0.47</x1>
<y1>0.50</y1>
<x2>0.65</x2>
<y2>0.63</y2>
</texture>
</layer>
</layers>
</PropertyList>

View file

@ -0,0 +1,42 @@
<!--
label-pto
Started summer 2000 by David Megginson, david@megginson.com.
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>labelbcn</name>
<w-base>14</w-base>
<h-base>12</h-base>
<layers>
<layer>
<name>face</name>
<texture>
<path>Aircraft/Instruments/Textures/flaps.rgb</path>
<x1>0.47</x1>
<y1>0.29</y1>
<x2>0.65</x2>
<y2>0.42</y2>
</texture>
</layer>
</layers>
</PropertyList>

View file

@ -0,0 +1,42 @@
<!--
label-sto
Started summer 2000 by David Megginson, david@megginson.com.
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>labelbcn</name>
<w-base>14</w-base>
<h-base>12</h-base>
<layers>
<layer>
<name>face</name>
<texture>
<path>Aircraft/Instruments/Textures/flaps.rgb</path>
<x1>0.65</x1>
<y1>0.39</y1>
<x2>0.82</x2>
<y2>0.52</y2>
</texture>
</layer>
</layers>
</PropertyList>

View file

@ -0,0 +1,42 @@
<!--
label-tax
Started summer 2000 by David Megginson, david@megginson.com.
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>labelbcn</name>
<w-base>14</w-base>
<h-base>12</h-base>
<layers>
<layer>
<name>face</name>
<texture>
<path>Aircraft/Instruments/Textures/flaps.rgb</path>
<x1>0.65</x1>
<y1>0.29</y1>
<x2>0.82</x2>
<y2>0.42</y2>
</texture>
</layer>
</layers>
</PropertyList>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,274 @@
<?xml version="1.0"?>
<!-- KAP 140 Autopilot Configuration -->
<!-- Each component is evaluated in the order specified. You can make up -->
<!-- property names to pass the result of one component on to a subsequent -->
<!-- component. -->
<PropertyList>
<!-- =============================================================== -->
<!-- Roll Axis Modes -->
<!-- =============================================================== -->
<!-- Nav hold (NAV) Mode-->
<pid-controller>
<name>Nav hold (NAV) Mode</name>
<debug>false</debug>
<enable>
<prop>/autopilot/KAP140/locks/nav-hold</prop>
<value>nav</value>
</enable>
<input>
<prop>/instrumentation/nav/heading-needle-deflection</prop>
</input>
<reference>
<value>0.0</value>
</reference>
<output>
<prop>/autopilot/KAP140/settings/target-intercept-angle</prop>
</output>
<config>
<Kp>2.0</Kp> <!-- proportional gain -->
<beta>1.0</beta> <!-- input value weighing factor -->
<alpha>0.1</alpha> <!-- low pass filter weighing factor -->
<gamma>0.0</gamma> <!-- input value weighing factor for -->
<!-- unfiltered derivative error -->
<Ti>15.0</Ti> <!-- integrator time -->
<Td>0.0</Td> <!-- derivator time -->
<u_min>-45.0</u_min> <!-- minimum output clamp -->
<u_max>45.0</u_max> <!-- maximum output clamp -->
</config>
</pid-controller>
<!-- Approach hold (APR) Mode-->
<pid-controller>
<name>Approach hold (APR) Mode</name>
<debug>false</debug>
<enable>
<prop>/autopilot/KAP140/locks/apr-hold</prop>
<value>apr</value>
</enable>
<input>
<prop>/instrumentation/nav/heading-needle-deflection</prop>
</input>
<reference>
<value>0.0</value>
</reference>
<output>
<prop>/autopilot/KAP140/settings/target-intercept-angle</prop>
</output>
<config>
<Kp>2.0</Kp> <!-- proportional gain -->
<beta>1.0</beta> <!-- input value weighing factor -->
<alpha>0.1</alpha> <!-- low pass filter weighing factor -->
<gamma>0.0</gamma> <!-- input value weighing factor for -->
<!-- unfiltered derivative error -->
<Ti>15.0</Ti> <!-- integrator time -->
<Td>0.001</Td> <!-- derivator time -->
<u_min>-45.0</u_min> <!-- minimum output clamp -->
<u_max>45.0</u_max> <!-- maximum output clamp -->
</config>
</pid-controller>
<!-- Backcourse hold (REV) Mode-->
<pid-controller>
<name>Backcourse hold (REV) Mode</name>
<debug>false</debug>
<enable>
<prop>/autopilot/KAP140/locks/rev-hold</prop>
<value>rev</value>
</enable>
<input>
<prop>/instrumentation/nav/heading-needle-deflection</prop>
<scale>-1.0</scale>
</input>
<reference>
<value>0.0</value>
</reference>
<output>
<prop>/autopilot/KAP140/settings/target-intercept-angle</prop>
</output>
<config>
<Kp>2.0</Kp> <!-- proportional gain -->
<beta>1.0</beta> <!-- input value weighing factor -->
<alpha>0.1</alpha> <!-- low pass filter weighing factor -->
<gamma>0.0</gamma> <!-- input value weighing factor for -->
<!-- unfiltered derivative error -->
<Ti>15.0</Ti> <!-- integrator time -->
<Td>0.0</Td> <!-- derivator time -->
<u_min>-45.0</u_min> <!-- minimum output clamp -->
<u_max>45.0</u_max> <!-- maximum output clamp -->
</config>
</pid-controller>
<!-- Heading Select (HDG) Mode -->
<pid-controller>
<name>Heading Select (HDG) Mode</name>
<debug>false</debug>
<enable>
<prop>/autopilot/KAP140/locks/hdg-hold</prop>
<value>hdg</value>
</enable>
<input>
<prop>/autopilot/internal/heading-bug-error-deg</prop> -->
<!-- <prop>/instrumentation/gps/true-bug-error-deg</prop> -->
</input>
<reference>
<prop>/autopilot/KAP140/settings/target-intercept-angle</prop>
</reference>
<output>
<prop>/autopilot/KAP140/settings/target-turn-rate</prop>
</output>
<config>
<Kp>-0.05</Kp> <!-- proportional gain -->
<beta>1.0</beta> <!-- input value weighing factor -->
<alpha>0.1</alpha> <!-- low pass filter weighing factor -->
<gamma>0.0</gamma> <!-- input value weighing factor for -->
<!-- unfiltered derivative error -->
<Ti>15.0</Ti> <!-- integrator time -->
<Td>0.0</Td> <!-- derivator time -->
<u_min>-1.0</u_min> <!-- minimum output clamp -->
<u_max>1.0</u_max> <!-- maximum output clamp -->
</config>
</pid-controller>
<!-- Wing leveler (ROL) Mode -->
<pid-controller>
<name>Wing Leveler (ROL) Mode</name>
<debug>false</debug>
<enable>
<prop>/autopilot/KAP140/locks/roll-axis</prop>
<value>trn</value>
</enable>
<input>
<prop>/instrumentation/turn-indicator/indicated-turn-rate</prop>
</input>
<reference>
<prop>/autopilot/KAP140/settings/target-turn-rate</prop>
</reference>
<output>
<prop>/controls/flight/aileron</prop>
</output>
<config>
<Kp>0.15</Kp> <!-- proportional gain -->
<beta>1.0</beta> <!-- input value weighing factor -->
<alpha>0.1</alpha> <!-- low pass filter weighing factor -->
<gamma>0.0</gamma> <!-- input value weighing factor for -->
<!-- unfiltered derivative error -->
<Ti>15.0</Ti> <!-- integrator time -->
<Td>0.0</Td> <!-- derivator time -->
<u_min>-0.25</u_min> <!-- minimum output clamp -->
<u_max>0.25</u_max> <!-- maximum output clamp -->
</config>
</pid-controller>
<!-- =============================================================== -->
<!-- Pitch Axis Modes -->
<!-- =============================================================== -->
<!-- Altitude Hold (ALT) Mode -->
<pid-controller>
<name>Altitude Hold (ALT) Mode</name>
<debug>false</debug>
<enable>
<prop>/autopilot/KAP140/locks/alt-hold</prop>
<value>alt</value>
</enable>
<input>
<prop>/systems/static[0]/pressure-inhg[0]</prop>
</input>
<reference>
<prop>/autopilot/KAP140/settings/target-alt-pressure</prop>
</reference>
<output>
<prop>/autopilot/KAP140/settings/target-pressure-rate</prop>
</output>
<config>
<Kp>0.125</Kp> <!-- proportional gain -->
<beta>1.0</beta> <!-- input value weighing factor -->
<alpha>0.1</alpha> <!-- low pass filter weighing factor -->
<gamma>0.0</gamma> <!-- input value weighing factor for -->
<!-- unfiltered derivative error -->
<Ti>12.0</Ti> <!-- integrator time -->
<Td>0.0</Td> <!-- derivator time -->
<u_min>-0.007</u_min> <!-- minimum output clamp -->
<u_max>0.007</u_max> <!-- maximum output clamp -->
</config>
</pid-controller>
<!-- Glideslope Hold (GS) Mode -->
<pid-controller>
<name>Glideslope Hold (GS) Mode</name>
<debug>false</debug>
<enable>
<prop>/autopilot/KAP140/locks/gs-hold</prop>
<value>gs</value>
</enable>
<input>
<prop>/instrumentation/nav/gs-needle-deflection</prop>
</input>
<reference>
<value>0.0</value>
</reference>
<output>
<prop>/autopilot/KAP140/settings/target-pressure-rate</prop>
</output>
<config>
<Kp>0.025</Kp> <!-- proportional gain -->
<beta>1.0</beta> <!-- input value weighing factor -->
<alpha>0.1</alpha> <!-- low pass filter weighing factor -->
<gamma>0.0</gamma> <!-- input value weighing factor for -->
<!-- unfiltered derivative error -->
<Ti>15.0</Ti> <!-- integrator time -->
<Td>0.0</Td> <!-- derivator time -->
<u_min>-0.001</u_min> <!-- minimum output clamp -->
<u_max>0.017</u_max> <!-- maximum output clamp -->
</config>
</pid-controller>
<filter>
<name>pressure-rate-filter</name>
<debug>false</debug>
<type>double-exponential</type>
<input>/autopilot/internal/pressure-rate</input>
<output>/autopilot/internal/filtered-pressure-rate</output>
<filter-time>0.1</filter-time>
</filter>
<!-- Vertical Speed (VS) Mode -->
<pid-controller>
<name>Vertical Speed (VS) Mode</name>
<debug>false</debug>
<enable>
<prop>/autopilot/KAP140/locks/pitch-axis</prop>
<value>vs</value>
</enable>
<input>
<prop>/autopilot/internal/filtered-pressure-rate</prop>
</input>
<reference>
<prop>/autopilot/KAP140/settings/target-pressure-rate</prop>
</reference>
<output>
<prop>/controls/flight/elevator</prop>
</output>
<config>
<Kp>5.0</Kp> <!-- proportional gain -->
<beta>1.0</beta> <!-- input value weighing factor -->
<alpha>0.1</alpha> <!-- low pass filter weighing factor -->
<gamma>0.0</gamma> <!-- input value weighing factor for -->
<!-- unfiltered derivative error -->
<Ti>4.0</Ti> <!-- integrator time -->
<Td>0.0</Td> <!-- derivator time -->
<u_min>-0.5</u_min> <!-- minimum output clamp -->
<u_max>0.5</u_max> <!-- maximum output clamp -->
</config>
</pid-controller>
</PropertyList>

View file

@ -0,0 +1,500 @@
<?xml version="1.0"?>
<!-- 28 Volt electrical system -->
<PropertyList>
<!-- Supplier list -->
<supplier>
<name>Battery 1</name>
<prop>/systems/electrical/suppliers/battery[0]</prop>
<kind>battery</kind>
<volts>28</volts> <!-- needs to be > 24.5, but this is a guess -->
<amps>60</amps> <!-- I have no idea! -->
</supplier>
<supplier>
<name>Alternator 1</name>
<prop>/systems/electrical/suppliers/alternator[0]</prop>
<kind>alternator</kind>
<rpm-source>/engines/engine[0]/rpm</rpm-source>
<volts>28</volts> <!-- stubbed in -->
<amps>60</amps> <!-- from the 172S Skyhawk Information Manual -->
</supplier>
<supplier>
<name>External 1</name>
<prop>/systems/electrical/suppliers/external[0]</prop>
<kind>external</kind>
<volts>0</volts> <!-- by default not connected -->
<amps>0</amps>
</supplier>
<!-- Bus list -->
<bus>
<name>Electrical Bus 1</name>
<prop>/systems/electrical/outputs/bus[0]</prop>
</bus>
<bus>
<name>Electrical Bus 2</name>
<prop>/systems/electrical/outputs/bus[1]</prop>
</bus>
<bus>
<name>Essential/Cross Feed Bus</name>
<prop>/systems/electrical/outputs/bus-essential</prop>
</bus>
<bus>
<name>Avionics Bus 1</name>
<prop>/systems/electrical/outputs/bus-avionics[0]</prop>
</bus>
<bus>
<name>Avionics Bus 2</name>
<prop>/systems/electrical/outputs/bus-avionics[1]</prop>
</bus>
<bus>
<!-- this is a fictitious entity replacing a more complex arrangement of relays -->
<name>Virtual Bus 1</name>
</bus>
<!-- Specific Outputs -->
<output>
<name>Starter 1 Power</name>
<prop>/systems/electrical/outputs/starter[0]</prop>
</output>
<!-- Electrical Bus 1 Outputs -->
<output>
<name>Cabin Lights Power</name>
<prop>/systems/electrical/outputs/cabin-lights</prop>
</output>
<output>
<name>Instrument Power</name>
<prop>/systems/electrical/outputs/instr-ignition-switch</prop>
</output>
<output>
<name>Fuel Pump Power</name>
<prop>/systems/electrical/outputs/fuel-pump</prop>
</output>
<output>
<name>Landing Light Power</name>
<prop>/systems/electrical/outputs/landing-light</prop>
</output>
<output>
<name>Beacon Power</name>
<prop>/systems/electrical/outputs/beacon</prop>
</output>
<output>
<name>Flaps Power</name>
<prop>/systems/electrical/outputs/flaps</prop>
</output>
<!-- Electrical Bus 2 Outputs -->
<output>
<name>Turn Coordinator Power</name>
<prop>/systems/electrical/outputs/turn-coordinator</prop>
</output>
<output>
<name>Map Lights Power</name>
<prop>/systems/electrical/outputs/map-lights</prop>
</output>
<output>
<name>Instrument Lights Power</name>
<prop>/systems/electrical/outputs/instrument-lights</prop>
</output>
<output>
<name>Strobe Lights Power</name>
<prop>/systems/electrical/outputs/strobe-lights</prop>
</output>
<output>
<name>Taxi Lights Power</name>
<prop>/systems/electrical/outputs/taxi-lights</prop>
</output>
<output>
<name>Pitot Heat Power</name>
<prop>/systems/electrical/outputs/pitot-heat</prop>
</output>
<!-- Essential/Cross Feed Bus Outputs -->
<output>
<name>Annunciator Power</name>
<prop>/systems/electrical/outputs/annunciators</prop>
</output>
<!-- <output> -->
<!-- <name>Master Switch Power</name> -->
<!-- <prop>/systems/electrical/outputs/master-switch</prop> -->
<!-- </output> -->
<!-- Avionics Bus 1 -->
<output>
<name>Avionics Fan Power</name>
<prop>/systems/electrical/outputs/avionics-fan</prop>
</output>
<output>
<name>GPS Power</name>
<prop>/systems/electrical/outputs/gps</prop>
</output>
<output>
<name>HSI Power</name>
<prop>/systems/electrical/outputs/hsi</prop>
</output>
<output>
<name>NavCom 1 Power</name>
<prop>/systems/electrical/outputs/nav[0]</prop>
</output>
<output>
<name>DME Power</name>
<prop>/systems/electrical/outputs/dme</prop>
</output>
<output>
<name>Audio Panel 1 Power</name>
<prop>/systems/electrical/outputs/audio-panel[0]</prop>
</output>
<!-- Avionics Bus 2 -->
<output>
<name>NavCom 2 Power</name>
<prop>/systems/electrical/outputs/nav[1]</prop>
</output>
<output>
<name>Audio Panel 2 Power</name>
<prop>/systems/electrical/outputs/audio-panel[1]</prop>
</output>
<output>
<name>Transponder Power</name>
<prop>/systems/electrical/outputs/transponder</prop>
</output>
<output>
<name>Autopilot Power</name>
<prop>/systems/electrical/outputs/autopilot</prop>
</output>
<output>
<name>ADF Power</name>
<prop>/systems/electrical/outputs/adf</prop>
</output>
<!-- connect in power sources -->
<connector>
<input>Alternator 1</input>
<output>Virtual Bus 1</output>
<switch>
<prop>/controls/engines/engine[0]/master-alt</prop>
</switch>
</connector>
<connector>
<input>External 1</input>
<output>Virtual Bus 1</output>
</connector>
<connector>
<input>Battery 1</input>
<output>Virtual Bus 1</output>
<switch>
<prop>/controls/engines/engine[0]/master-bat</prop>
</switch>
</connector>
<!-- connect starter output -->
<connector>
<input>Virtual Bus 1</input>
<output>Starter 1 Power</output>
<switch>
<prop>/controls/engines/engine[0]/starter</prop>
<initial-state>off</initial-state>
</switch>
</connector>
<!-- connect bus 1 & 2 -->
<connector>
<input>Virtual Bus 1</input>
<output>Electrical Bus 1</output>
<switch>
<prop>/controls/circuit-breakers/bus1</prop>
</switch>
</connector>
<connector>
<input>Virtual Bus 1</input>
<output>Electrical Bus 2</output>
<switch>
<prop>/controls/circuit-breakers/bus2</prop>
</switch>
</connector>
<!-- connect the essential / cross feed bus -->
<connector>
<input>Electrical Bus 1</input>
<input>Electrical Bus 2</input>
<output>Essential/Cross Feed Bus</output>
</connector>
<!-- connect avionics bus 1 & 2 -->
<connector>
<input>Electrical Bus 1</input>
<output>Avionics Bus 1</output>
<switch>
<prop>/controls/circuit-breakers/avn-bus-1</prop>
</switch>
<switch>
<prop>/controls/switches/master-avionics</prop>
</switch>
</connector>
<connector>
<input>Electrical Bus 2</input>
<output>Avionics Bus 2</output>
<switch>
<prop>/controls/circuit-breakers/avn-bus-2</prop>
</switch>
<switch>
<prop>/controls/switches/master-avionics</prop>
</switch>
</connector>
<!-- connect bus 1 outputs -->
<connector>
<input>Electrical Bus 1</input>
<output>Cabin Lights Power</output>
<switch>
<prop>/controls/circuit-breakers/cabin-lights-pwr</prop>
</switch>
</connector>
<connector>
<input>Electrical Bus 1</input>
<output>Instrument Power</output>
<switch>
<prop>/controls/circuit-breakers/instr-ignition-switch</prop>
</switch>
</connector>
<connector>
<input>Electrical Bus 1</input>
<output>Fuel Pump Power</output>
<switch>
<prop>/controls/engines/engine[0]/fuel-pump</prop>
</switch>
</connector>
<connector>
<input>Electrical Bus 1</input>
<output>Landing Light Power</output>
<switch>
<prop>/controls/switches/landing-light</prop>
</switch>
</connector>
<connector>
<input>Electrical Bus 1</input>
<output>Beacon Power</output>
<switch>
<prop>/controls/switches/flashing-beacon</prop>
</switch>
</connector>
<connector>
<input>Electrical Bus 1</input>
<output>Flaps Power</output>
<switch>
<prop>/controls/circuit-breakers/flaps</prop>
</switch>
</connector>
<!-- connect bus 2 outputs -->
<connector>
<input>Electrical Bus 2</input>
<output>Turn Coordinator Power</output>
<switch>
<prop>/controls/circuit-breakers/turn-coordinator</prop>
</switch>
</connector>
<connector>
<input>Electrical Bus 2</input>
<output>Map Lights Power</output>
<switch>
<prop>/controls/switches/nav-lights</prop>
</switch>
</connector>
<connector>
<input>Electrical Bus 2</input>
<output>Instrument Lights Power</output>
<switch>
<prop>/controls/circuit-breakers/instrument-lights</prop>
</switch>
</connector>
<connector>
<input>Electrical Bus 2</input>
<output>Strobe Lights Power</output>
<switch>
<prop>/controls/switches/strobe-lights</prop>
</switch>
</connector>
<connector>
<input>Electrical Bus 2</input>
<output>Taxi Lights Power</output>
<switch>
<prop>/controls/switches/taxi-lights</prop>
</switch>
</connector>
<connector>
<input>Electrical Bus 2</input>
<output>Pitot Heat Power</output>
<switch>
<prop>/controls/switches/pitot-heat</prop>
</switch>
</connector>
<!-- connect Essential/Crossfeed Bus outputs -->
<connector>
<input>Essential/Cross Feed Bus</input>
<output>Annunciator Power</output>
<switch>
<prop>/controls/circuit-breakers/warn</prop>
</switch>
</connector>
<!-- <connector> -->
<!-- <input>Essential/Cross Feed Bus</input> -->
<!-- <output>Master Switch Power</output> -->
<!-- <switch> <prop>/controls/circuit-breakers/alt-fld</prop> </switch> -->
<!-- </connector> -->
<!-- connect Avionics Bus 1 outputs -->
<connector>
<input>Avionics Bus 1</input>
<output>Avionics Fan Power</output>
<switch>
<prop>/controls/circuit-breakers/avn-fan</prop>
</switch>
</connector>
<connector>
<input>Avionics Bus 1</input>
<output>GPS Power</output>
<switch>
<prop>/controls/circuit-breakers/gps</prop>
</switch>
</connector>
<connector>
<input>Avionics Bus 1</input>
<output>HSI Power</output>
<switch>
<prop>/controls/circuit-breakers/gyro</prop>
</switch>
</connector>
<connector>
<input>Avionics Bus 1</input>
<output>NavCom 1 Power</output>
<switch>
<prop>/controls/circuit-breakers/nav-com-1</prop>
</switch>
</connector>
<connector>
<input>Avionics Bus 1</input>
<output>DME Power</output>
<switch>
<prop>/controls/circuit-breakers/dme</prop>
</switch>
</connector>
<connector>
<input>Avionics Bus 1</input>
<output>Audio Panel 1 Power</output>
<switch>
<prop>/controls/circuit-breakers/nav-com-audio-1</prop>
</switch>
</connector>
<!-- Avionics Bus 2 -->
<connector>
<input>Avionics Bus 2</input>
<output>NavCom 2 Power</output>
<switch>
<prop>/controls/circuit-breakers/nav-com-2</prop>
</switch>
</connector>
<connector>
<input>Avionics Bus 2</input>
<output>Audio Panel 2 Power</output>
<switch>
<prop>/controls/circuit-breakers/nav-com-audio-2</prop>
</switch>
</connector>
<connector>
<input>Avionics Bus 2</input>
<output>Transponder Power</output>
<switch>
<prop>/controls/circuit-breakers/xpndr</prop>
</switch>
</connector>
<connector>
<input>Avionics Bus 2</input>
<output>Autopilot Power</output>
<switch>
<prop>/controls/circuit-breakers/autopilot</prop>
</switch>
</connector>
<connector>
<input>Avionics Bus 2</input>
<output>ADF Power</output>
<switch>
<prop>/controls/circuit-breakers/adf</prop>
</switch>
</connector>
</PropertyList>

View file

@ -0,0 +1,239 @@
<?xml version="1.0"?>
<PropertyList>
<fx>
<crank>
<name>engstart</name>
<path>Sounds/engstart.wav</path>
<property>/engines/engine/cranking</property>
<volume>
<offset>0.4</offset>
</volume>
</crank>
<crank>
<name>crank</name>
<mode>looped</mode>
<path>Sounds/cranking.wav</path>
<condition>
<property>/engines/engine/cranking</property>
<not>
<property>/engines/engine/running</property>
</not>
</condition>
<volume>
<offset>0.5</offset>
</volume>
</crank>
<crank>
<name>cough</name>
<path>Sounds/coughing.wav</path>
<property>/engines/engine/running</property>
<volume>
<offset>0.3</offset>
</volume>
</crank>
<engine>
<name>engine</name>
<mode>looped</mode>
<path>Sounds/wasp.wav</path>
<property>/engines/engine/running</property>
<volume>
<property>/engines/engine/mp-osi</property>
<factor>0.00375</factor>
<min>0.15</min>
<max>0.5</max>
</volume>
<volume>
<property>/orientation/alpha-deg</property>
<type>log</type>
<min>1.0</min>
<max>1.5</max>
</volume>
<volume>
<property>/sim/current-view/internal</property>
<offset>1.0</offset>
<factor>-0.7</factor>
</volume>
<pitch>
<property>/engines/engine/rpm</property>
<factor>0.0004</factor>
<min>0.5</min>
<max>2.0</max>
<offset>0.15</offset>
</pitch>
</engine>
<propeller>
<name>propeller</name>
<mode>looped</mode>
<path>Sounds/turboprop1.wav</path>
<property>/engines/engine/running</property>
<volume>
<property>/orientation/alpha-deg</property>
<type>log</type>
<min>0.2</min>
<max>1.0</max>
</volume>
<volume>
<property>/sim/current-view/internal</property>
<factor>0.5</factor>
</volume>
<pitch>
<property>/engines/engine/mp-osi</property>
<factor>0.0036</factor>
<min>0.5</min>
<max>2.0</max>
<offset>0.9</offset>
</pitch>
</propeller>
<rumble>
<name>rumble</name>
<mode>looped</mode>
<path>Sounds/rumble.wav</path>
<condition>
<or>
<property>/gear/gear[0]/wow</property>
<property>/gear/gear[1]/wow</property>
<property>/gear/gear[2]/wow</property>
</or>
<!-- <property>/sim/current-view/internal</property> -->
</condition>
<volume>
<property>/velocities/airspeed-kt</property>
<type>log</type>
<factor>0.25</factor>
</volume>
</rumble>
<!-- the c172 doesn't have a retractable landing gear
<gear>
<name>gear</name>
<mode>in-transit</mode>
<path>Sounds/gear.wav</path>
<property>/gear/gear[0]/position-norm</property>
</gear>
<gear>
<name>gear-lock</name>
<path>Sounds/gear-lck.wav</path>
<condition>
<greater-than>
<property>/gear/gear[0]/position-norm</property>
<value>0.9</value>
</greater-than>
</condition>
</gear>
-->
<squeal>
<name>squeal</name>
<path>Sounds/squeal.wav</path>
<condition>
<or>
<property>/gear/gear[0]/wow</property>
<property>/gear/gear[1]/wow</property>
<property>/gear/gear[2]/wow</property>
</or>
</condition>
<volume>
<property>/velocities/speed-down-fps</property>
<factor>0.5</factor>
<max>1.0</max>
</volume>
<volume>
<property>/velocities/airspeed-kt</property>
<factor>0.01</factor>
<max>1.0</max>
</volume>
<volume>
<internal>dt_stop</internal>
<factor>0.05</factor>
<max>1.0</max>
</volume>
<pitch>
<property>/velocities/airspeed-kt</property>
<factor>0.0025</factor>
<offset>1.2</offset>
</pitch>
</squeal>
<flap>
<name>flaps</name>
<mode>in-transit</mode>
<path>Sounds/flaps.wav</path>
<property>/surface-positions/flap-pos-norm</property>
<volume>
<factor>0.8</factor>
</volume>
<reference-dist>10.0</reference-dist>
<max-dist>20.0</max-dist>
</flap>
<wind>
<name>wind</name>
<mode>looped</mode>
<path>Sounds/wind.wav</path>
<property>/velocities/airspeed-kt</property>
<volume>
<property>/position/altitude-ft</property>
<factor>-0.000015</factor>
<offset>1.0</offset>
<min>0.1</min>
<max>1.0</max>
</volume>
<volume>
<property>/velocities/airspeed-kt</property>
<factor>0.0015</factor>
<min>0.03</min>
<max>0.25</max>
</volume>
<pitch>
<property>/velocities/airspeed-kt</property>
<factor>0.0035</factor>
<offset>1.25</offset>
</pitch>
</wind>
<stall>
<name>stall</name>
<mode>looped</mode>
<path>Sounds/stall.wav</path>
<condition>
<and>
<property>/sim/alarms/stall-warning</property>
<greater-than>
<property>/velocities/airspeed-kt</property>
<value>10</value>
</greater-than>
<not>
<property>/gear/gear[0]/wow</property>
<property>/gear/gear[1]/wow</property>
<property>/gear/gear[2]/wow</property>
</not>
</and>
<!-- <property>/sim/current-view/internal</property> -->
</condition>
<volume>
<property>/sim/alarms/stall-warning</property>
<max>1.0</max>
</volume>
<reference-dist>10.0</reference-dist>
<max-dist>20.0</max-dist>
</stall>
<!-- no binding yet?
<click>
<name>click</name>
<path>Sounds/click.wav</path>
</click>
-->
</fx>
</PropertyList>

View file

@ -0,0 +1,116 @@
<?xml version="1.0"?>
<!--
************************************************************************
JSBSim Cessna 172P with 3D cockpit.
Started October 23 2001 by John Check, fgpanels@rockfish.net
************************************************************************
-->
<PropertyList>
<sim>
<description>Cessna 172P Skyhawk (1981 model)</description>
<author>David Megginson</author>
<status>production</status>
<flight-model archive="y">jsb</flight-model>
<aero archive="y">c172p</aero>
<model>
<path archive="y">Aircraft/c172p/Models/c172p.xml</path>
</model>
<!-- hide the 2D panel -->
<panel>
<visibility archive="y">false</visibility>
</panel>
<!-- position the pilot viewpoint and angle -->
<view>
<internal archive="y">true</internal>
<config>
<x-offset-m archive="y">-0.21</x-offset-m>
<y-offset-m archive="y">0.30</y-offset-m>
<z-offset-m archive="y">0.36</z-offset-m>
<pitch-offset-deg>-12</pitch-offset-deg>
</config>
</view>
<systems>
<autopilot>
<path>Aircraft/c172p/Systems/KAP140.xml</path>
</autopilot>
<electrical>
<path>Aircraft/c172p/c172-electrical.xml</path>
</electrical>
</systems>
<sound>
<path archive="y">Aircraft/c172p/c172-sound.xml</path>
</sound>
</sim>
<!-- trim for level cruise -->
<controls>
<flight>
<aileron-trim>0.027</aileron-trim>
<rudder-trim>0.0</rudder-trim>
</flight>
<engines>
<engine n="0">
<magnetos>3</magnetos>
</engine>
</engines>
</controls>
<autopilot>
<config>
<min-climb-speed-kt type="float">70.0</min-climb-speed-kt>
<best-climb-speed-kt type="float">75.0</best-climb-speed-kt>
<target-climb-rate-fpm type="float">500.0</target-climb-rate-fpm>
<target-descent-rate-fpm type="float">1000.0</target-descent-rate-fpm>
<elevator-adj-factor type="float">4000.0</elevator-adj-factor>
<integral-contribution type="float">0.01</integral-contribution>
<zero-pitch-throttle type="float">0.45</zero-pitch-throttle>
<zero-pitch-trim-full-throttle type="float">0.14</zero-pitch-trim-full-throttle>
</config>
</autopilot>
<consumables>
<fuel>
<tank n="0">
<level-gal_us>20</level-gal_us>
</tank>
<tank n="1">
<level-gal_us>20</level-gal_us>
</tank>
</fuel>
</consumables>
<instrumentation>
<attitude-indicator>
<config>
<tumble-flag archive="y" type="bool">true</tumble-flag>
</config>
</attitude-indicator>
</instrumentation>
<engines>
<engine>
<rpm type="double">700</rpm>
</engine>
</engines>
<nasal>
<kap140>
<file>Aircraft/c172p/kap140.nas</file>
</kap140>
</nasal>
</PropertyList>

677
Aircraft/c172p/c172p.xml Normal file
View file

@ -0,0 +1,677 @@
<FDM_CONFIG NAME="c172" VERSION="1.65">
<!--
File: c172p.xml
Author: David Megginson (based on c172r.xml by Tony Peden)
CVS Version: $Id$
Function: Models a 1981 Cessna 172P.
Sources:
Tony Peden, c172r.xml, JSBSim (http://jsbsim.sourceforge.net/).
Jan Roskam, Airplane Flight Dynamics and Automatic Flight
Controls. Part I. DARcorporation, 1995.
Notes:
Roskam's data is for a 182, not a 172, but it should be close
enough. He gives linear coefficients for three states:
1. Climb (5.4 deg alpha).
2. Cruise (0 deg alpha).
3. Approach (4 deg alpha, and presumably, full flaps).
I have extrapolated small tables from this data to account for the
effects of flaps and alpha, especially in the lateral coefficients.
-->
<METRICS>
<!--
// Wing area (ft^2)
// Wing span (ft)
// Wing avg. chord (ft)
// H. Tail Area (ft^2)
// Wing MAC to H.Tail MAC (ft)
// V. Tail Area (ft^2)
// Wing MAC to V.Tail MAC (ft)
// Ixx
// Iyy
// Izz
// Ixz
// Empty weight
// Center of gravity location, empty weight, in aircraft's own structural coord
// system. X, Y, Z, in inches
// Pilot's eyepoint location, in aircraft's own coord system, FROM cg.
// X, Y, Z, in inches
AC_AERORP 43.2 0.0 59.4
-->
AC_WINGAREA 174 <!-- square feet -->
AC_WINGSPAN 35.8 <!-- ft -->
AC_CHORD 4.9 <!-- ft -->
AC_HTAILAREA 21.9 <!-- square feet -->
AC_HTAILARM 15.7 <!-- ft -->
AC_VTAILAREA 16.5 <!-- square feet -->
AC_LV 15.7 <!-- ft -->
AC_IXX 948
AC_IYY 1346
AC_IZZ 1967
AC_IXZ 0
AC_EMPTYWT 1500
AC_AERORP 43.2 0.0 59.4
AC_CGLOC 41.0 0.0 36.5
<!-- Pilot -->
AC_POINTMASS 180.0 36.0 -14.0 24.0
<!-- Co-pilot -->
<!-- AC_POINTMASS 180.0 36.0 14.0 24.0 -->
AC_EYEPTLOC 37.0 0.0 48.0
AC_VRP 42.6 0.0 38.5
</METRICS>
<UNDERCARRIAGE>
<!--
The gear parameters that can be specified are as follows, IN ORDER OF APPEARANCE:
AC_GEAR
<name> name of gear entry - no spaces allowed
<X> <Y> <Z> Gear location in aircraft body coords in inches
<spring constant> spring constant in lbs/ft
<damping coefficient> damping coefficient in lbs/ft/sec
<dynamic friction coefficient> Self-explanatory: sliding friction coefficient
<static friction coefficient> Self-explanatory: "onset" friction coefficient
<rolling friction coefficient> Self-explanatory: rolling friction coefficient
<steerability attribute> One of <STEERABLE | FIXED | CASTERED>
<brake group membership> One of <LEFT | CENTER | RIGHT | NOSE | TAIL | NONE>
<max steer angle> Maximum steerable angle in degrees
<retraction attribute> <RETRACT | FIXED>
-->
AC_GEAR NOSE -6.8 0.0 -20.0 1800 600 0.5 0.8 0.02 STEERABLE NONE 10 FIXED
AC_GEAR LEFT_MAIN 58.2 -43.0 -17.9 5400 1600 0.5 0.8 0.02 FIXED LEFT 0 FIXED
AC_GEAR RIGHT_MAIN 58.2 43.0 -17.9 5400 1600 0.5 0.8 0.02 FIXED RIGHT 0 FIXED
AC_GEAR TAIL_SKID 188.0 0.0 8.0 20000 1000 0.2 0.2 0.2 FIXED NONE 0 FIXED
AC_GEAR LEFT_TIP 43.2 -214.8 59.4 10000 2000 0.2 0.2 0.2 FIXED NONE 0 FIXED
AC_GEAR RIGHT_TIP 43.2 214.8 59.4 10000 2000 0.2 0.2 0.2 FIXED NONE 0 FIXED
</UNDERCARRIAGE>
<PROPULSION>
<!--
TANKS SECTION
Tank locations and characteristics, empty weight, in aircraft's own coord system:
X, Y, Z, in inches
effective radius of tank, in inches (for fuel slosh, if/when modeled)
capacity in pounds
Current contents, in pounds
ENGINE[S] SECTION
Engine[s] is|are specified by giving engine name (which corresponds to an engine
definition file in the "engines" directory) followed by x, y, z placement and
pitch and yaw orientation. Coordinates are given in inches in the structural
coordinate frame. Angles for pitch and yaw are specified in radians.
AC_ENGINE name x y z pitch yaw
THRUSTER[S] SECTION
AC_THRUSTER name x y z pitch yaw
-->
<AC_ENGINE FILE="eng_io320">
XLOC -19.7
YLOC 0.0
ZLOC 26.6
PITCH 0.0
YAW 0.0
FEED 0
FEED 1
<AC_THRUSTER FILE="prop_75in2f">
XLOC -37.7
YLOC 0.0
ZLOC 26.6
PITCH 0.0
YAW 0
P_FACTOR 10.0
SENSE 1.0
</AC_THRUSTER>
</AC_ENGINE>
<AC_TANK TYPE="FUEL" NUMBER="0">
XLOC 56.0
YLOC -112.0
ZLOC 59.4
RADIUS 29.4
CAPACITY 185.0
CONTENTS 100.0
</AC_TANK>
<AC_TANK TYPE="FUEL" NUMBER="1">
XLOC 56.0
YLOC 112.0
ZLOC 59.4
RADIUS 29.4
CAPACITY 185.0
CONTENTS 100.0
</AC_TANK>
</PROPULSION>
<FLIGHT_CONTROL NAME="c172">
<COMPONENT NAME="Pitch Trim Sum" TYPE="SUMMER">
INPUT fcs/elevator-cmd-norm
INPUT fcs/pitch-trim-cmd-norm
CLIPTO -1 1
</COMPONENT>
<COMPONENT NAME="Elevator Control" TYPE="AEROSURFACE_SCALE">
INPUT fcs/pitch-trim-sum
MIN -28
MAX 23
OUTPUT fcs/elevator-pos-rad
GAIN 0.01745
</COMPONENT>
<COMPONENT NAME="Roll Trim Sum" TYPE="SUMMER">
INPUT fcs/aileron-cmd-norm
INPUT fcs/roll-trim-cmd-norm
CLIPTO -1 1
</COMPONENT>
<COMPONENT NAME="Left Aileron Control" TYPE="AEROSURFACE_SCALE">
INPUT fcs/roll-trim-sum
MIN -20
MAX 15
GAIN 0.01745
OUTPUT fcs/left-aileron-pos-rad
</COMPONENT>
<COMPONENT NAME="Right Aileron Control" TYPE="AEROSURFACE_SCALE">
INPUT fcs/roll-trim-sum
MIN -20
MAX 15
GAIN -0.01745
OUTPUT fcs/right-aileron-pos-rad
</COMPONENT>
<COMPONENT NAME="Yaw Trim Sum" TYPE="SUMMER">
INPUT fcs/rudder-cmd-norm
INPUT fcs/yaw-trim-cmd-norm
CLIPTO -1 1
</COMPONENT>
<COMPONENT NAME="Rudder Control" TYPE="AEROSURFACE_SCALE">
INPUT fcs/yaw-trim-sum
MIN -16
MAX 16
GAIN 0.01745
OUTPUT fcs/rudder-pos-rad
</COMPONENT>
<COMPONENT NAME="Flaps Control" TYPE="KINEMAT">
INPUT fcs/flap-cmd-norm
DETENTS 4
0 0
10 2
20 1
30 1
OUTPUT fcs/flap-pos-deg
</COMPONENT>
</FLIGHT_CONTROL>
<AERODYNAMICS>
AC_ALPHALIMITS -0.087 0.28
AC_HYSTLIMITS 0.09 0.36
<AXIS NAME="LIFT">
<GROUP NAME="CLb">
Basic_lift
<!-- Peden -->
<FACTOR NAME="kCLge" TYPE="VECTOR">
Change_in_lift_due_to_ground_effect
13
aero/h_b-mac-ft
none
0.0 1.203
0.1 1.127
0.15 1.090
0.2 1.073
0.3 1.046
0.4 1.055
0.5 1.019
0.6 1.013
0.7 1.008
0.8 1.006
0.9 1.003
1.0 1.002
1.1 1.0
</FACTOR>
<!-- Peden -->
<COEFFICIENT NAME="CLwbh" TYPE="TABLE">
Lift_due_to_alpha
17
2
aero/alpha-rad
aero/stall-hyst-norm
aero/qbar-psf | metrics/Sw-sqft
0 1
-0.09 -0.22 -0.22
0 0.25 0.25
0.09 0.73 0.73
0.1 0.83 0.78
0.12 0.92 0.79
0.14 1.02 0.81
0.16 1.08 0.82
0.17 1.13 0.83
0.19 1.19 0.85
0.21 1.25 0.86
0.24 1.35 0.88
0.26 1.44 0.9
0.28 1.47 0.92
0.3 1.43 0.95
0.32 1.38 0.99
0.34 1.3 1.05
0.36 1.15 1.15
</COEFFICIENT>
<!-- Peden -->
<COEFFICIENT NAME="CLDf" TYPE="VECTOR">
Delta_lift_due_to_flap_deflection
4
fcs/flap-pos-deg
aero/qbar-psf | metrics/Sw-sqft
0 0
10 0.20
20 0.30
30 0.35
</COEFFICIENT>
</GROUP>
<!-- Roskam p.481 -->
<COEFFICIENT NAME="CLDe" TYPE="VALUE">
Lift_due_to_Elevator_Deflection
aero/qbar-psf | metrics/Sw-sqft | fcs/elevator-pos-rad
0.43
</COEFFICIENT>
<!-- Roskam p.481 -->
<COEFFICIENT NAME="CLadot" TYPE="VALUE">
Lift_due_to_alpha_rate
aero/qbar-psf | metrics/Sw-sqft | aero/alphadot-rad_sec | aero/ci2vel
1.7
</COEFFICIENT>
<!-- Roskam p.481 -->
<COEFFICIENT NAME="CLq" TYPE="VALUE">
Lift_due_to_pitch_rate
aero/qbar-psf | metrics/Sw-sqft | velocities/q-aero-rad_sec | aero/ci2vel
3.9
</COEFFICIENT>
</AXIS>
<AXIS NAME="DRAG">
<!-- Roskam p.481 -->
<COEFFICIENT NAME="CDo" TYPE="VALUE">
Drag_at_zero_lift
aero/qbar-psf | metrics/Sw-sqft
0.0270
</COEFFICIENT>
<GROUP NAME="CDb">
Basic_drag
<!-- Peden -->
<FACTOR NAME="kCDge" TYPE="VECTOR">
Change_in_drag_due_to_ground_effect
13
aero/h_b-mac-ft
none
0.0 0.048
0.1 0.515
0.15 0.629
0.2 0.709
0.3 0.815
0.4 0.882
0.5 0.928
0.6 0.962
0.7 0.988
0.8 1.0
0.9 1.0
1.0 1.0
1.1 1.0
</FACTOR>
<!-- Peden -->
<COEFFICIENT NAME="CDDf" TYPE="VECTOR">
Delta_drag_due_to_flap_deflection
4
fcs/flap-pos-deg
aero/qbar-psf | metrics/Sw-sqft
0 0
10 0.007
20 0.012
30 0.018
</COEFFICIENT>
<!-- Peden -->
<COEFFICIENT NAME="CDwbh" TYPE="TABLE">
Drag_due_to_alpha
26
4
aero/alpha-rad
fcs/flap-pos-deg
aero/qbar-psf | metrics/Sw-sqft
0 10 20 30
-0.0872664 0.00407143 3.8165e-05 0.000512444 0.00137231
-0.0698132 0.0013424 0.000440634 0.00248067 0.00412341
-0.0523599 8.96747e-05 0.00231942 0.0059252 0.00835082
-0.0349066 0.000313268 0.00567451 0.0108461 0.0140545
-0.0174533 0.00201318 0.0105059 0.0172432 0.0212346
0 0.0051894 0.0168137 0.0251167 0.0298909
0.0174533 0.00993967 0.0247521 0.0346492 0.0402205
0.0349066 0.0162201 0.0342207 0.0457119 0.0520802
0.0523599 0.0240308 0.0452195 0.0583047 0.0654701
0.0698132 0.0333717 0.0577485 0.0724278 0.0803902
0.0872664 0.0442427 0.0718077 0.088081 0.0968405
0.10472 0.056644 0.0873971 0.105265 0.114821
0.122173 0.0705754 0.104517 0.123978 0.134332
0.139626 0.086037 0.123166 0.144222 0.155373
0.15708 0.096239 0.135317 0.157346 0.168984
0.174533 0.106859 0.147857 0.170848 0.182966
0.191986 0.118034 0.160954 0.184905 0.197503
0.209439 0.129765 0.174606 0.199517 0.212596
0.226893 0.142366 0.189176 0.215072 0.228643
0.244346 0.156452 0.205363 0.23231 0.246406
0.261799 0.172732 0.223956 0.252059 0.266733
0.279253 0.178209 0.230187 0.258667 0.273529
0.296706 0.171598 0.222665 0.25069 0.265325
0.314159 0.161786 0.211468 0.2388 0.253089
0.331613 0.147493 0.19508 0.221364 0.235129
0.349066 0.109678 0.151171 0.174408 0.186649
</COEFFICIENT>
</GROUP>
<!-- Roskam p.481 -->
<COEFFICIENT NAME="CDDe" TYPE="VALUE">
Drag_due_to_Elevator_Deflection
aero/qbar-psf | metrics/Sw-sqft | fcs/mag-elevator-pos-rad
0
</COEFFICIENT>
<!-- Peden -->
<COEFFICIENT NAME="CDbeta" TYPE="VALUE">
Drag_due_to_sideslip
aero/qbar-psf | metrics/Sw-sqft | aero/mag-beta-rad
0.17
</COEFFICIENT>
</AXIS>
<AXIS NAME="SIDE">
<!-- based on Roskam p.482, clamped to +/-20deg beta -->
<COEFFICIENT NAME="CYb" TYPE="TABLE">
Side_force_due_to_beta
3
2
aero/beta-rad
fcs/flap-pos-deg
aero/qbar-psf | metrics/Sw-sqft
0 30
-0.349 0.137 0.106
0 0 0
0.349 -0.137 -0.106
</COEFFICIENT>
<!-- Roskam p.482 -->
<COEFFICIENT NAME="CYda" TYPE="VALUE">
Side_force_due_to_aileron
aero/qbar-psf | metrics/Sw-sqft | fcs/left-aileron-pos-rad
0
</COEFFICIENT>
<!-- Roskam p.482 -->
<COEFFICIENT NAME="CYdr" TYPE="VALUE">
Side_force_due_to_rudder
aero/qbar-psf | metrics/Sw-sqft | fcs/rudder-pos-rad
0.187
</COEFFICIENT>
<!-- based on Roskam p.482 -->
<COEFFICIENT NAME="CYp" TYPE="TABLE">
Side_force_due_to_roll_rate
2
2
aero/alpha-rad
fcs/flap-pos-deg
aero/qbar-psf | metrics/Sw-sqft | aero/bi2vel | velocities/p-aero-rad_sec
0 30
0.000 -0.075 -0.161
0.094 -0.145 -0.231
</COEFFICIENT>
<!-- based on Roskam p.482 -->
<COEFFICIENT NAME="CYr" TYPE="TABLE">
Side_force_due_to_yaw_rate
2
2
aero/alpha-rad
fcs/flap-pos-deg
aero/qbar-psf | metrics/Sw-sqft | aero/bi2vel | velocities/r-aero-rad_sec
0 30
0.000 0.214 0.162
0.094 0.267 0.215
</COEFFICIENT>
</AXIS>
<AXIS NAME="ROLL">
<!-- based on Roskam p.482, clamped to +/-20deg beta -->
<COEFFICIENT NAME="Clb" TYPE="VECTOR">
Roll_moment_due_to_beta
3
aero/beta-rad
aero/qbar-psf | metrics/Sw-sqft | metrics/bw-ft
-0.349 0.0322
0 0
0.349 -0.0322
</COEFFICIENT>
<!-- Roskam p.482 -->
<COEFFICIENT NAME="Clp" TYPE="VALUE">
Roll_moment_due_to_roll_rate_(roll_damping)
aero/qbar-psf | metrics/Sw-sqft | metrics/bw-ft | aero/bi2vel | velocities/p-aero-rad_sec
-0.484
</COEFFICIENT>
<!-- based on Roskam p.482 -->
<COEFFICIENT NAME="Clr" TYPE="TABLE">
Roll_moment_due_to_yaw_rate
2
2
aero/alpha-rad
fcs/flap-pos-deg
aero/qbar-psf | metrics/Sw-sqft | metrics/bw-ft | aero/bi2vel | velocities/r-aero-rad_sec
0 30
0.000 0.0798 0.1246
0.094 0.1869 0.2317
</COEFFICIENT>
<!-- Roskam p.482 -->
<COEFFICIENT NAME="ClDa" TYPE="VALUE">
Roll_moment_due_to_aileron
aero/qbar-psf | metrics/Sw-sqft | metrics/bw-ft | fcs/left-aileron-pos-rad
0.229
</COEFFICIENT>
<!-- Roskam p.482 -->
<COEFFICIENT NAME="Cldr" TYPE="VALUE">
Roll_moment_due_to_rudder
aero/qbar-psf | metrics/Sw-sqft | metrics/bw-ft | fcs/rudder-pos-rad
0.0147
</COEFFICIENT>
</AXIS>
<AXIS NAME="PITCH">
<!-- Peden -->
<COEFFICIENT NAME="Cmo" TYPE="VALUE">
Pitching_moment_at_zero_alpha
aero/qbar-psf | metrics/Sw-sqft | metrics/cbarw-ft
0.1
</COEFFICIENT>
<!-- Peden -->
<COEFFICIENT NAME="Cmalpha" TYPE="VALUE">
Pitch_moment_due_to_alpha
aero/qbar-psf | metrics/Sw-sqft | metrics/cbarw-ft | aero/alpha-rad
-1.8
</COEFFICIENT>
<!-- Roskam p.481 -->
<COEFFICIENT NAME="Cmq" TYPE="VALUE">
Pitch_moment_due_to_pitch_rate
aero/qbar-psf | metrics/Sw-sqft | metrics/cbarw-ft | aero/ci2vel | velocities/q-aero-rad_sec
-12.4
</COEFFICIENT>
<!-- based on Roskam p.481 -->
<COEFFICIENT NAME="Cmadot" TYPE="VALUE">
Pitch_moment_due_to_alpha_rate
aero/qbar-psf | metrics/Sw-sqft | metrics/cbarw-ft | aero/ci2vel | aero/alphadot-rad_sec
-7.27
</COEFFICIENT>
<!-- Roskam p.481 -->
<COEFFICIENT NAME="Cmde" TYPE="VALUE">
Pitch_moment_due_to_elevator_deflection
aero/qbar-psf | metrics/Sw-sqft | metrics/cbarw-ft | fcs/elevator-pos-rad
-1.122
</COEFFICIENT>
<!-- Peden -->
<COEFFICIENT NAME="Cmdf" TYPE="VECTOR">
Delta_pitching_moment_due_to_flap_deflection
4
fcs/flap-pos-deg
aero/qbar-psf | metrics/Sw-sqft | metrics/cbarw-ft
0 0
10 -0.0654
20 -0.0981
30 -0.1140
</COEFFICIENT>
</AXIS>
<AXIS NAME="YAW">
<!-- based on Roskam p.482, clamped to +/-20deg beta -->
<COEFFICIENT NAME="Cnb" TYPE="VECTOR">
Yaw_moment_due_to_beta
3
aero/beta-rad
aero/qbar-psf | metrics/Sw-sqft | metrics/bw-ft
-0.349 -0.0205
0 0
0.349 0.0205
</COEFFICIENT>
<!-- Roskam p.482 -->
<COEFFICIENT NAME="Cnp" TYPE="VALUE">
Yaw_moment_due_to_roll_rate
aero/qbar-psf | metrics/Sw-sqft | metrics/bw-ft | aero/bi2vel | velocities/p-aero-rad_sec
-0.0278
</COEFFICIENT>
<!-- Roskam p.482 -->
<COEFFICIENT NAME="Cnr" TYPE="VALUE">
Yaw_moment_due_to_yaw_rate
aero/qbar-psf | metrics/Sw-sqft | metrics/bw-ft | aero/bi2vel | velocities/r-aero-rad_sec
-0.0937
</COEFFICIENT>
<!-- Peden -->
<COEFFICIENT NAME="Cnda" TYPE="VALUE">
Yaw_moment_due_to_aileron
aero/qbar-psf | metrics/Sw-sqft | metrics/bw-ft | fcs/left-aileron-pos-rad
-0.0053
</COEFFICIENT>
<!-- Peden -->
<COEFFICIENT NAME="Cndr" TYPE="VALUE">
Yaw_moment_due_to_rudder
aero/qbar-psf | metrics/Sw-sqft | metrics/bw-ft | fcs/rudder-pos-rad
-0.043
</COEFFICIENT>
</AXIS>
</AERODYNAMICS>
<!--
OUTPUT section definition
The following specifies the way that JSBSim writes out data.
NAME is the filename you want the output to go to
TYPE can be:
CSV Comma separated data. If a filename is supplied then the data
goes to that file. If COUT or cout is specified, the data goes
to stdout. If the filename is a null filename the data goes to
stdout, as well.
SOCKET Will eventually send data to a socket output, where NAME
would then be the IP address of the machine the data should be
sent to. DON'T USE THIS YET!
TABULAR Columnar data. NOT IMPLEMENTED YET!
TERMINAL Output to terminal. NOT IMPLEMENTED YET!
NONE Specifies to do nothing. THis setting makes it easy to turn on and
off the data output without having to mess with anything else.
The arguments that can be supplied, currently, are
RATE_IN_HZ An integer rate in times-per-second that the data is output. This
value may not be *exactly* what you want, due to the dependence
on dt, the cycle rate for the FDM.
The following parameters tell which subsystems of data to output:
SIMULATION ON|OFF
ATMOSPHERE ON|OFF
MASSPROPS ON|OFF
AEROSURFACES ON|OFF
RATES ON|OFF
VELOCITIES ON|OFF
FORCES ON|OFF
MOMENTS ON|OFF
POSITION ON|OFF
COEFFICIENTS ON|OFF
GROUND_REACTIONS ON|OFF
FCS ON|OFF
PROPULSION ON|OFF
NOTE that Time is always output with the data.
-->
<OUTPUT NAME="JSBout172.csv" TYPE="NONE">
RATE_IN_HZ 20
SIMULATION OFF
ATMOSPHERE ON
MASSPROPS ON
AEROSURFACES ON
RATES ON
VELOCITIES ON
FORCES ON
MOMENTS ON
POSITION ON
COEFFICIENTS ON
GROUND_REACTIONS ON
FCS ON
PROPULSION ON
</OUTPUT>
</FDM_CONFIG>