1
0
Fork 0

Factor out common configuration for the Cessna 310 variants.

This commit is contained in:
david 2003-04-05 15:03:37 +00:00
parent b7f1ccffa0
commit 3a40d40b6d
10 changed files with 149 additions and 494 deletions

101
Aircraft/c310-base.xml Normal file
View file

@ -0,0 +1,101 @@
<?xml version="1.0"?>
<!--
************************************************************************
Common configuration for all C310 models.
************************************************************************
-->
<PropertyList>
<sim>
<systems>
<electrical>
<path>Aircraft/c310/c310-electrical.xml</path>
</electrical>
</systems>
<sound>
<audible>true</audible>
<path>Aircraft/c310/c310-sound.xml</path>
</sound>
</sim>
<controls>
<engines>
<engine n="0">
<magnetos>3</magnetos>
</engine>
<engine n="1">
<magnetos>3</magnetos>
</engine>
</engines>
</controls>
<consumables>
<fuel>
<tank n="0">
<level-gal_us archive="y">14</level-gal_us>
</tank>
<tank n="1">
<level-gal_us archive="y">14</level-gal_us>
</tank>
<tank n="2">
<level-gal_us archive="y">14</level-gal_us>
</tank>
<tank n="3">
<level-gal_us archive="y">14</level-gal_us>
</tank>
</fuel>
</consumables>
<engines>
<engine n="0">
<rpm>1000</rpm>
</engine>
<engine n="1">
<rpm>1000</rpm>
</engine>
</engines>
<autopilot>
<config>
<min-climb-speed-kt type="float">81.0</min-climb-speed-kt>
<best-climb-speed-kt type="float">107.0</best-climb-speed-kt>
<target-climb-rate-fpm type="float">1000.0</target-climb-rate-fpm>
<target-descent-rate-fpm type="float">1000.0</target-descent-rate-fpm>
<elevator-adj-factor type="float">3000.0</elevator-adj-factor>
<integral-contribution type="float">0.004</integral-contribution>
<zero-pitch-throttle type="float">0.45</zero-pitch-throttle>
<zero-pitch-trim-full-throttle type="float">0.11</zero-pitch-trim-full-throttle>
</config>
</autopilot>
<input>
<keyboard>
<key n="60">
<name>&lt;</name>
<desc>Rudder Trim Left</desc>
<binding>
<command>property-adjust</command>
<property>/controls/flight/rudder-trim</property>
<min type="double">-1.0</min>
<step type="double">-0.001</step>
</binding>
</key>
<key n="62">
<name>&gt;</name>
<desc>Rudder Trim Right</desc>
<binding>
<command>property-adjust</command>
<property>/controls/flight/rudder-trim</property>
<max type="double">1.0</max>
<step type="double">0.001</step>
</binding>
</key>
</keyboard>
</input>
</PropertyList>

View file

@ -10,25 +10,11 @@ March 2002 Jim Wilson, jimw@kelcomaine.com
************************************************************************
-->
<PropertyList>
<PropertyList include="c310u3a-jsbsim-set.xml">
<sim>
<description>Cessna 310</description>
<flight-model>jsb</flight-model>
<aero>c310</aero>
<systems>
<electrical>
<path>Aircraft/c310/c310-electrical.xml</path>
</electrical>
</systems>
<sound>
<audible>true</audible>
<path>Aircraft/c310/c310-sound.xml</path>
</sound>
<description>Cessna 310 with IFR panel</description>
<panel>
<path>Aircraft/c310/c310-ifr-panel.xml</path>
@ -38,90 +24,8 @@ March 2002 Jim Wilson, jimw@kelcomaine.com
<path>Aircraft/c310/c310-mini-panel.xml</path>
</panel_2>
<model>
<path>Aircraft/c310u3a/Models/c310u3a.xml</path>
</model>
<instrument-options>
<dg>
<style>1</style>
</dg>
</instrument-options>
</sim>
<consumables>
<fuel>
<tank n="0">
<level-gal_us archive="y">14</level-gal_us>
</tank>
<tank n="1">
<level-gal_us archive="y">14</level-gal_us>
</tank>
<tank n="2">
<level-gal_us archive="y">14</level-gal_us>
</tank>
<tank n="3">
<level-gal_us archive="y">14</level-gal_us>
</tank>
</fuel>
</consumables>
<controls>
<aileron-trim>-0.026</aileron-trim>
<magnetos n="0">3</magnetos>
<magnetos n="1">3</magnetos>
</controls>
<engines>
<engine n="0">
<rpm>1000</rpm>
</engine>
<engine n="1">
<rpm>1000</rpm>
</engine>
</engines>
<autopilot>
<config>
<min-climb-speed-kt type="float">81.0</min-climb-speed-kt>
<best-climb-speed-kt type="float">107.0</best-climb-speed-kt>
<target-climb-rate-fpm type="float">1000.0</target-climb-rate-fpm>
<target-descent-rate-fpm type="float">1000.0</target-descent-rate-fpm>
<elevator-adj-factor type="float">6000.0</elevator-adj-factor>
<integral-contribution type="float">0.004</integral-contribution>
<zero-pitch-throttle type="float">0.45</zero-pitch-throttle>
<zero-pitch-trim-full-throttle type="float">0.11</zero-pitch-trim-full-throttle>
</config>
</autopilot>
<input>
<keyboard>
<key n="60">
<name>&lt;</name>
<desc>Rudder Trim Left</desc>
<binding>
<command>property-adjust</command>
<property>/controls/flight/rudder-trim</property>
<min type="double">-1.0</min>
<step type="double">-0.001</step>
</binding>
</key>
<key n="62">
<name>&gt;</name>
<desc>Rudder Trim Right</desc>
<binding>
<command>property-adjust</command>
<property>/controls/flight/rudder-trim</property>
<max type="double">1.0</max>
<step type="double">0.001</step>
</binding>
</key>
</keyboard>
</input>
</PropertyList>

View file

@ -0,0 +1,21 @@
<?xml version="1.0"?>
<!--
************************************************************************
Common configuration for all JSBSim C310 models.
************************************************************************
-->
<PropertyList include="c310-base.xml">
<sim>
<flight-model>jsb</flight-model>
<aero>c310</aero>
</sim>
<controls>
<aileron-trim>-0.026</aileron-trim>
</controls>
</PropertyList>

View file

@ -0,0 +1,18 @@
<?xml version="1.0"?>
<!--
************************************************************************
Common configuration for all YASim C310 models.
************************************************************************
-->
<PropertyList include="c310-base.xml">
<sim>
<flight-model>yasim</flight-model>
<aero>c310</aero>
<fuel-fraction>1.0</fuel-fraction>
</sim>
</PropertyList>

View file

@ -10,26 +10,11 @@ October 23 2001 John Check, fgpanels@rockfish.net
************************************************************************
-->
<PropertyList>
<PropertyList include="c310-yasim-base.xml">
<sim>
<description>Cessna 310 (YASim)</description>
<flight-model>yasim</flight-model>
<aero>c310</aero>
<fuel-fraction>1.0</fuel-fraction>
<systems>
<electrical>
<path>Aircraft/c310/c310-electrical.xml</path>
</electrical>
</systems>
<sound>
<audible>true</audible>
<path>Aircraft/c310/c310-sound.xml</path>
</sound>
<panel>
<path>Aircraft/c310/c310-vfr-panel.xml</path>
<visibility>true</visibility>
@ -41,12 +26,8 @@ October 23 2001 John Check, fgpanels@rockfish.net
<model>
<path>Aircraft/c310u3a/Models/c310u3a.xml</path>
</model>
</sim>
<controls>
<magnetos n="0">3</magnetos>
<magnetos n="1">3</magnetos>
</controls>
</sim>
</PropertyList>

View file

@ -1,6 +1,6 @@
<?xml version="1.0"?>
<PropertyList>
<PropertyList include="c310-jsbsim-base.xml">
<sim>
@ -9,20 +9,6 @@
<virtual-cockpit archive="y">true</virtual-cockpit>
<allow-toggle-cockpit archive="y">false</allow-toggle-cockpit>
<flight-model archive="y">jsb</flight-model>
<aero archive="y">c310</aero>
<systems>
<electrical>
<path>Aircraft/c310/c310-electrical.xml</path>
</electrical>
</systems>
<sound>
<audible>true</audible>
<path>Aircraft/c310/c310-sound.xml</path>
</sound>
<panel>
<visibility>false</visibility>
</panel>
@ -42,78 +28,5 @@
</view>
</sim>
<consumables>
<fuel>
<tank n="0">
<level-gal_us archive="y">14</level-gal_us>
</tank>
<tank n="1">
<level-gal_us archive="y">14</level-gal_us>
</tank>
<tank n="2">
<level-gal_us archive="y">14</level-gal_us>
</tank>
<tank n="3">
<level-gal_us archive="y">14</level-gal_us>
</tank>
</fuel>
</consumables>
<controls>
<aileron-trim>-0.026</aileron-trim>
<magnetos n="0">3</magnetos>
<magnetos n="1">3</magnetos>
</controls>
<engines>
<engine n="0">
<rpm type="double">1000</rpm>
</engine>
<engine n="1">
<rpm type="double">1000</rpm>
</engine>
</engines>
<autopilot>
<config>
<min-climb-speed-kt type="float">81.0</min-climb-speed-kt>
<best-climb-speed-kt type="float">107.0</best-climb-speed-kt>
<target-climb-rate-fpm type="float">1000.0</target-climb-rate-fpm>
<target-descent-rate-fpm type="float">1000.0</target-descent-rate-fpm>
<elevator-adj-factor type="float">3000.0</elevator-adj-factor>
<integral-contribution type="float">0.004</integral-contribution>
<zero-pitch-throttle type="float">0.45</zero-pitch-throttle>
<zero-pitch-trim-full-throttle type="float">0.11</zero-pitch-trim-full-throttle>
</config>
</autopilot>
<input>
<keyboard>
<key n="60">
<name>&lt;</name>
<desc>Rudder Trim Left</desc>
<binding>
<command>property-adjust</command>
<property>/controls/flight/rudder-trim</property>
<min type="double">-1.0</min>
<step type="double">-0.001</step>
</binding>
</key>
<key n="62">
<name>&gt;</name>
<desc>Rudder Trim Right</desc>
<binding>
<command>property-adjust</command>
<property>/controls/flight/rudder-trim</property>
<max type="double">1.0</max>
<step type="double">0.001</step>
</binding>
</key>
</keyboard>
</input>
</PropertyList>

View file

@ -10,7 +10,7 @@ March 2002 Jim Wilson, jimw@kelcomaine.com
************************************************************************
-->
<PropertyList>
<PropertyList include="c310-jsbsim-base.xml">
<sim>
@ -19,20 +19,6 @@ March 2002 Jim Wilson, jimw@kelcomaine.com
<virtual-cockpit archive="y">true</virtual-cockpit>
<allow-toggle-cockpit archive="y">true</allow-toggle-cockpit>
<flight-model archive="y">jsb</flight-model>
<aero archive="y">c310</aero>
<systems>
<electrical>
<path>Aircraft/c310/c310-electrical.xml</path>
</electrical>
</systems>
<sound>
<audible>true</audible>
<path>Aircraft/c310/c310-sound.xml</path>
</sound>
<panel>
<path>Aircraft/c310u3a/c310u3a-panel.xml</path>
<visibility>false</visibility>
@ -61,77 +47,4 @@ March 2002 Jim Wilson, jimw@kelcomaine.com
</sim>
<consumables>
<fuel>
<tank n="0">
<level-gal_us archive="y">14</level-gal_us>
</tank>
<tank n="1">
<level-gal_us archive="y">14</level-gal_us>
</tank>
<tank n="2">
<level-gal_us archive="y">14</level-gal_us>
</tank>
<tank n="3">
<level-gal_us archive="y">14</level-gal_us>
</tank>
</fuel>
</consumables>
<controls>
<aileron-trim>-0.026</aileron-trim>
<magnetos n="0">3</magnetos>
<magnetos n="1">3</magnetos>
</controls>
<engines>
<engine n="0">
<rpm type="double">1000</rpm>
</engine>
<engine n="1">
<rpm type="double">1000</rpm>
</engine>
</engines>
<autopilot>
<config>
<min-climb-speed-kt type="float">81.0</min-climb-speed-kt>
<best-climb-speed-kt type="float">107.0</best-climb-speed-kt>
<target-climb-rate-fpm type="float">1000.0</target-climb-rate-fpm>
<target-descent-rate-fpm type="float">1000.0</target-descent-rate-fpm>
<elevator-adj-factor type="float">3000.0</elevator-adj-factor>
<integral-contribution type="float">0.004</integral-contribution>
<zero-pitch-throttle type="float">0.45</zero-pitch-throttle>
<zero-pitch-trim-full-throttle type="float">0.11</zero-pitch-trim-full-throttle>
</config>
</autopilot>
<input>
<keyboard>
<key n="60">
<name>&lt;</name>
<desc>Rudder Trim Left</desc>
<binding>
<command>property-adjust</command>
<property>/controls/flight/rudder-trim</property>
<min type="double">-1.0</min>
<step type="double">-0.001</step>
</binding>
</key>
<key n="62">
<name>&gt;</name>
<desc>Rudder Trim Right</desc>
<binding>
<command>property-adjust</command>
<property>/controls/flight/rudder-trim</property>
<max type="double">1.0</max>
<step type="double">0.001</step>
</binding>
</key>
</keyboard>
</input>
</PropertyList>

View file

@ -10,30 +10,12 @@ March 2002 Jim Wilson, jimw@kelcomaine.com
************************************************************************
-->
<PropertyList>
<PropertyList include="c310-jsbsim-base.xml">
<sim>
<description>Cessna 310U3A</description>
<flight-model>jsb</flight-model>
<aero>c310</aero>
<systems>
<electrical>
<path>Aircraft/c310/c310-electrical.xml</path>
</electrical>
</systems>
<sound>
<audible>true</audible>
<path>Aircraft/c310/c310-sound.xml</path>
</sound>
<panel>
<path>Aircraft/c310u3a/c310u3a-panel.xml</path>
<visibility>true</visibility>
</panel>
<panel_2>
<path>Aircraft/c310/c310-mini-panel.xml</path>
</panel_2>
@ -50,78 +32,6 @@ March 2002 Jim Wilson, jimw@kelcomaine.com
</sim>
<consumables>
<fuel>
<tank n="0">
<level-gal_us archive="y">14</level-gal_us>
</tank>
<tank n="1">
<level-gal_us archive="y">14</level-gal_us>
</tank>
<tank n="2">
<level-gal_us archive="y">14</level-gal_us>
</tank>
<tank n="3">
<level-gal_us archive="y">14</level-gal_us>
</tank>
</fuel>
</consumables>
<controls>
<aileron-trim>-0.026</aileron-trim>
<magnetos n="0">3</magnetos>
<magnetos n="1">3</magnetos>
</controls>
<engines>
<engine n="0">
<rpm>1000</rpm>
</engine>
<engine n="1">
<rpm>1000</rpm>
</engine>
</engines>
<autopilot>
<config>
<min-climb-speed-kt type="float">81.0</min-climb-speed-kt>
<best-climb-speed-kt type="float">107.0</best-climb-speed-kt>
<target-climb-rate-fpm type="float">1000.0</target-climb-rate-fpm>
<target-descent-rate-fpm type="float">1000.0</target-descent-rate-fpm>
<elevator-adj-factor type="float">3000.0</elevator-adj-factor>
<integral-contribution type="float">0.004</integral-contribution>
<zero-pitch-throttle type="float">0.45</zero-pitch-throttle>
<zero-pitch-trim-full-throttle type="float">0.11</zero-pitch-trim-full-throttle>
</config>
</autopilot>
<input>
<keyboard>
<key n="60">
<name>&lt;</name>
<desc>Rudder Trim Left</desc>
<binding>
<command>property-adjust</command>
<property>/controls/flight/rudder-trim</property>
<min type="double">-1.0</min>
<step type="double">-0.001</step>
</binding>
</key>
<key n="62">
<name>&gt;</name>
<desc>Rudder Trim Right</desc>
<binding>
<command>property-adjust</command>
<property>/controls/flight/rudder-trim</property>
<max type="double">1.0</max>
<step type="double">0.001</step>
</binding>
</key>
</keyboard>
</input>
</PropertyList>

View file

@ -10,25 +10,11 @@ March 2002 Jim Wilson, jimw@kelcomaine.com
************************************************************************
-->
<PropertyList>
<PropertyList include="c310-jsbsim-base.xml">
<sim>
<description>Cessna 310U3A</description>
<flight-model>jsb</flight-model>
<aero>c310</aero>
<systems>
<electrical>
<path>Aircraft/c310/c310-electrical.xml</path>
</electrical>
</systems>
<sound>
<audible>true</audible>
<path>Aircraft/c310/c310-sound.xml</path>
</sound>
<panel>
<path>Aircraft/c310u3a/c310u3a-panel.xml</path>
@ -50,78 +36,6 @@ March 2002 Jim Wilson, jimw@kelcomaine.com
</sim>
<consumables>
<fuel>
<tank n="0">
<level-gal_us archive="y">14</level-gal_us>
</tank>
<tank n="1">
<level-gal_us archive="y">14</level-gal_us>
</tank>
<tank n="2">
<level-gal_us archive="y">14</level-gal_us>
</tank>
<tank n="3">
<level-gal_us archive="y">14</level-gal_us>
</tank>
</fuel>
</consumables>
<controls>
<aileron-trim>-0.026</aileron-trim>
<magnetos n="0">3</magnetos>
<magnetos n="1">3</magnetos>
</controls>
<engines>
<engine n="0">
<rpm>1000</rpm>
</engine>
<engine n="1">
<rpm>1000</rpm>
</engine>
</engines>
<autopilot>
<config>
<min-climb-speed-kt type="float">81.0</min-climb-speed-kt>
<best-climb-speed-kt type="float">107.0</best-climb-speed-kt>
<target-climb-rate-fpm type="float">1000.0</target-climb-rate-fpm>
<target-descent-rate-fpm type="float">1000.0</target-descent-rate-fpm>
<elevator-adj-factor type="float">6000.0</elevator-adj-factor>
<integral-contribution type="float">0.004</integral-contribution>
<zero-pitch-throttle type="float">0.45</zero-pitch-throttle>
<zero-pitch-trim-full-throttle type="float">0.11</zero-pitch-trim-full-throttle>
</config>
</autopilot>
<input>
<keyboard>
<key n="60">
<name>&lt;</name>
<desc>Rudder Trim Left</desc>
<binding>
<command>property-adjust</command>
<property>/controls/flight/rudder-trim</property>
<min type="double">-1.0</min>
<step type="double">-0.001</step>
</binding>
</key>
<key n="62">
<name>&gt;</name>
<desc>Rudder Trim Right</desc>
<binding>
<command>property-adjust</command>
<property>/controls/flight/rudder-trim</property>
<max type="double">1.0</max>
<step type="double">0.001</step>
</binding>
</key>
</keyboard>
</input>
</PropertyList>

View file

@ -10,26 +10,11 @@ October 23 2001 John Check, fgpanels@rockfish.net
************************************************************************
-->
<PropertyList>
<PropertyList include="c310-yasim-base.xml">
<sim>
<description>Cessna 310 (YASim)</description>
<flight-model>yasim</flight-model>
<aero>c310</aero>
<fuel-fraction>1.0</fuel-fraction>
<systems>
<electrical>
<path>Aircraft/c310/c310-electrical.xml</path>
</electrical>
</systems>
<sound>
<audible>true</audible>
<path>Aircraft/c310/c310-sound.xml</path>
</sound>
<panel>
<path>Aircraft/c310/c310-vfr-panel.xml</path>
<visibility>true</visibility>
@ -43,11 +28,6 @@ October 23 2001 John Check, fgpanels@rockfish.net
</model>
</sim>
<controls>
<magnetos n="0">3</magnetos>
<magnetos n="1">3</magnetos>
</controls>
</PropertyList>