Factored out some common configuration in the C172R config files.
Retrimmed the JSBSim 172R to use more rudder and less aileron, improving coordination in cruise.
This commit is contained in:
parent
e2f795a0b9
commit
377029d492
7 changed files with 162 additions and 233 deletions
|
@ -1,51 +1,35 @@
|
|||
<?xml version="1.0"?>
|
||||
<!--
|
||||
************************************************************************
|
||||
Cessna 172 simulation config. This files ties together all the components
|
||||
used by FGFS to represent the C172. Components include the flight data
|
||||
model, instrument panel, and external 3D model.
|
||||
3D models can be downloaded from http://home.t-online.de/home/Wolfram.Kuss/
|
||||
JSBSim Cessna 172R with 3D cockpit.
|
||||
|
||||
October 23 2001 John Check, fgpanels@rockfish.net
|
||||
Started October 23 2001 by John Check, fgpanels@rockfish.net
|
||||
************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyList>
|
||||
<PropertyList include="c172r-jsbsim-base.xml">
|
||||
|
||||
<sim>
|
||||
|
||||
<description>Cessna 172 w. 3D cockpit</description>
|
||||
<description>Cessna 172R (JSBSim, 3D cockpit)</description>
|
||||
|
||||
<allow-toggle-cockpit archive="y">true</allow-toggle-cockpit>
|
||||
|
||||
<flight-model archive="y">jsb</flight-model>
|
||||
<aero archive="y">c172r</aero>
|
||||
|
||||
<systems>
|
||||
<electrical>
|
||||
<path>Aircraft/c172/c172-electrical.xml</path>
|
||||
</electrical>
|
||||
</systems>
|
||||
|
||||
<sound>
|
||||
<audible archive="y">true</audible>
|
||||
<path archive="y">Aircraft/c172/c172-sound.xml</path>
|
||||
</sound>
|
||||
<!-- hide the 2D panel -->
|
||||
|
||||
<panel>
|
||||
<visibility archive="y">false</visibility>
|
||||
</panel>
|
||||
|
||||
<model>
|
||||
<path archive="y">Aircraft/c172/Models/c172-dpm.xml</path>
|
||||
</model>
|
||||
|
||||
<!-- position the pilot viewpoint and angle -->
|
||||
|
||||
<view>
|
||||
<internal archive="y">true</internal>
|
||||
<config>
|
||||
<x-offset-m archive="y">-0.25</x-offset-m>
|
||||
<y-offset-m archive="y">0.20</y-offset-m>
|
||||
<z-offset-m archive="y">0.66</z-offset-m>
|
||||
<x-offset-m archive="y">-0.25</x-offset-m>
|
||||
<y-offset-m archive="y">0.20</y-offset-m>
|
||||
<z-offset-m archive="y">0.66</z-offset-m>
|
||||
<default-pitch-deg>-13</default-pitch-deg>
|
||||
</config>
|
||||
</view>
|
||||
|
||||
|
@ -55,43 +39,4 @@ October 23 2001 John Check, fgpanels@rockfish.net
|
|||
|
||||
</sim>
|
||||
|
||||
<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 archive="y">20</level-gal_us>
|
||||
</tank>
|
||||
<tank n="1">
|
||||
<level-gal_us archive="y">20</level-gal_us>
|
||||
</tank>
|
||||
</fuel>
|
||||
</consumables>
|
||||
|
||||
<controls>
|
||||
<aileron-trim>-.117</aileron-trim>
|
||||
<elevator-trim>0</elevator-trim>
|
||||
<rudder-trim>0</rudder-trim>
|
||||
<magnetos>3</magnetos>
|
||||
</controls>
|
||||
|
||||
<engines>
|
||||
<engine>
|
||||
<rpm>700</rpm>
|
||||
</engine>
|
||||
</engines>
|
||||
|
||||
</PropertyList>
|
||||
|
||||
|
||||
|
|
|
@ -1,51 +1,34 @@
|
|||
<?xml version="1.0"?>
|
||||
<!--
|
||||
************************************************************************
|
||||
Cessna 172 simulation config. This files ties together all the components
|
||||
used by FGFS to represent the C172. Components include the flight data
|
||||
model, instrument panel, and external 3D model.
|
||||
3D models can be downloaded from http://home.t-online.de/home/Wolfram.Kuss/
|
||||
YASim Cessna 172R with 3D cockpit.
|
||||
|
||||
October 23 2001 John Check, fgpanels@rockfish.net
|
||||
Started October 23 2001 by John Check, fgpanels@rockfish.net
|
||||
************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyList>
|
||||
<PropertyList include="c172r-yasim-base.xml">
|
||||
|
||||
<sim>
|
||||
|
||||
<description>Cessna 172 w. 3D cockpit (YASim)</description>
|
||||
<description>Cessna 172R (YASim, 3D cockpit)</description>
|
||||
|
||||
<virtual-cockpit archive="y">true</virtual-cockpit>
|
||||
|
||||
<flight-model archive="y">yasim</flight-model>
|
||||
<aero archive="y">c172</aero>
|
||||
|
||||
<systems>
|
||||
<electrical>
|
||||
<path>Aircraft/c172/c172-electrical.xml</path>
|
||||
</electrical>
|
||||
</systems>
|
||||
|
||||
<sound>
|
||||
<audible archive="y">true</audible>
|
||||
<path archive="y">Aircraft/c172/c172-sound.xml</path>
|
||||
</sound>
|
||||
<!-- hide the 2D panel -->
|
||||
|
||||
<panel>
|
||||
<visibility archive="n">false</visibility>
|
||||
</panel>
|
||||
|
||||
<model>
|
||||
<path archive="y">Aircraft/c172/Models/c172-dpm.xml</path>
|
||||
</model>
|
||||
|
||||
<!-- position the pilot viewpoint and angle -->
|
||||
|
||||
<view>
|
||||
<internal archive="y">true</internal>
|
||||
<config>
|
||||
<x-offset-m archive="y">-0.25</x-offset-m>
|
||||
<y-offset-m archive="y">0.20</y-offset-m>
|
||||
<z-offset-m archive="y">0.66</z-offset-m>
|
||||
<x-offset-m archive="y">-0.25</x-offset-m>
|
||||
<y-offset-m archive="y">0.20</y-offset-m>
|
||||
<z-offset-m archive="y">0.66</z-offset-m>
|
||||
<default-pitch-deg>-13</default-pitch-deg>
|
||||
</config>
|
||||
</view>
|
||||
|
||||
|
@ -55,42 +38,6 @@ October 23 2001 John Check, fgpanels@rockfish.net
|
|||
|
||||
</sim>
|
||||
|
||||
<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 archive="y">20</level-gal_us>
|
||||
</tank>
|
||||
<tank n="1">
|
||||
<level-gal_us archive="y">20</level-gal_us>
|
||||
</tank>
|
||||
</fuel>
|
||||
</consumables>
|
||||
|
||||
|
||||
<controls>
|
||||
<magnetos>3</magnetos>
|
||||
</controls>
|
||||
|
||||
<engines>
|
||||
<engine>
|
||||
<rpm>700</rpm>
|
||||
</engine>
|
||||
</engines>
|
||||
|
||||
|
||||
</PropertyList>
|
||||
|
||||
|
||||
|
|
59
Aircraft/c172r-base.xml
Normal file
59
Aircraft/c172r-base.xml
Normal file
|
@ -0,0 +1,59 @@
|
|||
<?xml version="1.0"?>
|
||||
<!--
|
||||
************************************************************************
|
||||
Common configuration for all C172R aircraft.
|
||||
************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<sim>
|
||||
|
||||
<systems>
|
||||
<electrical>
|
||||
<path>Aircraft/c172/c172-electrical.xml</path>
|
||||
</electrical>
|
||||
</systems>
|
||||
|
||||
<model>
|
||||
<path archive="y">Aircraft/c172/Models/c172-dpm.xml</path>
|
||||
</model>
|
||||
|
||||
<sound>
|
||||
<audible archive="y">true</audible>
|
||||
<path archive="y">Aircraft/c172/c172-sound.xml</path>
|
||||
</sound>
|
||||
|
||||
</sim>
|
||||
|
||||
<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>
|
||||
|
||||
<engines>
|
||||
<engine>
|
||||
<rpm type="double">700</rpm>
|
||||
</engine>
|
||||
</engines>
|
||||
|
||||
</PropertyList>
|
24
Aircraft/c172r-jsbsim-base.xml
Normal file
24
Aircraft/c172r-jsbsim-base.xml
Normal file
|
@ -0,0 +1,24 @@
|
|||
<?xml version="1.0"?>
|
||||
<!--
|
||||
************************************************************************
|
||||
Common configuration for JSBSim C172r aircraft.
|
||||
************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyList include="c172r-base.xml">
|
||||
|
||||
<sim>
|
||||
<flight-model archive="y">jsb</flight-model>
|
||||
<aero archive="y">c172r</aero>
|
||||
</sim>
|
||||
|
||||
<!-- trim for level cruise -->
|
||||
|
||||
<controls>
|
||||
<aileron-trim>-0.012</aileron-trim>
|
||||
<elevator-trim>0</elevator-trim>
|
||||
<rudder-trim>-0.025</rudder-trim>
|
||||
<magnetos>3</magnetos>
|
||||
</controls>
|
||||
|
||||
</PropertyList>
|
|
@ -1,35 +1,20 @@
|
|||
<?xml version="1.0"?>
|
||||
<!--
|
||||
************************************************************************
|
||||
Cessna 172 simulation config. This files ties together all the components
|
||||
used by FGFS to represent the C172. Components include the flight data
|
||||
model, instrument panel, and external 3D model.
|
||||
3D models can be downloaded from http://home.t-online.de/home/Wolfram.Kuss/
|
||||
JSBSim Cessna 172R with 2D panel.
|
||||
|
||||
October 23 2001 John Check, fgpanels@rockfish.net
|
||||
Started October 23 2001 by John Check, fgpanels@rockfish.net
|
||||
************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyList>
|
||||
<PropertyList include="c172r-jsbsim-base.xml">
|
||||
|
||||
<sim>
|
||||
|
||||
<description>Cessna 172</description>
|
||||
<description>Cessna 172R (JSBSim, 2D VFR panel).</description>
|
||||
|
||||
<!-- Use a 2D instrument panel -->
|
||||
|
||||
<flight-model archive="y">jsb</flight-model>
|
||||
<aero archive="y">c172r</aero>
|
||||
|
||||
<systems>
|
||||
<electrical>
|
||||
<path>Aircraft/c172/c172-electrical.xml</path>
|
||||
</electrical>
|
||||
</systems>
|
||||
|
||||
<sound>
|
||||
<audible archive="y">true</audible>
|
||||
<path archive="y">Aircraft/c172/c172-sound.xml</path>
|
||||
</sound>
|
||||
|
||||
<panel>
|
||||
<path>Aircraft/c172/Panels/c172-vfr-panel.xml</path>
|
||||
<visibility archive="y">true</visibility>
|
||||
|
@ -38,9 +23,14 @@ October 23 2001 John Check, fgpanels@rockfish.net
|
|||
<path>Aircraft/c172/Panels/c172-trans-mini-panel.xml</path>
|
||||
</panel_2>
|
||||
|
||||
<model>
|
||||
<path archive="y">Aircraft/c172/Models/c172-dpm.xml</path>
|
||||
</model>
|
||||
|
||||
<!-- Look down a bit over the top of the panel -->
|
||||
|
||||
<view>
|
||||
<config>
|
||||
<default-pitch-deg>-8</default-pitch-deg>
|
||||
</config>
|
||||
</view>
|
||||
|
||||
<current-view>
|
||||
<pitch-offset-deg>-8</pitch-offset-deg>
|
||||
|
@ -48,41 +38,4 @@ October 23 2001 John Check, fgpanels@rockfish.net
|
|||
|
||||
</sim>
|
||||
|
||||
<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>
|
||||
|
||||
<controls>
|
||||
<aileron-trim>-0.117</aileron-trim>
|
||||
<elevator-trim>0</elevator-trim>
|
||||
<rudder-trim>0</rudder-trim>
|
||||
<magnetos>3</magnetos>
|
||||
</controls>
|
||||
|
||||
<engines>
|
||||
<engine>
|
||||
<rpm type="double">700</rpm>
|
||||
</engine>
|
||||
</engines>
|
||||
|
||||
</PropertyList>
|
||||
|
|
25
Aircraft/c172r-yasim-base.xml
Normal file
25
Aircraft/c172r-yasim-base.xml
Normal file
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0"?>
|
||||
<!--
|
||||
************************************************************************
|
||||
Common configuration for YASim C172r aircraft.
|
||||
************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyList include="c172r-base.xml">
|
||||
|
||||
<sim>
|
||||
<flight-model archive="y">yasim</flight-model>
|
||||
<aero archive="y">c172</aero>
|
||||
<fuel-fraction>1.0</fuel-fraction>
|
||||
<fuel-fraction>1.0</fuel-fraction>
|
||||
</sim>
|
||||
|
||||
<controls>
|
||||
<magnetos>3</magnetos>
|
||||
</controls>
|
||||
|
||||
<!-- TODO: trim for level cruise -->
|
||||
|
||||
</PropertyList>
|
||||
|
||||
|
|
@ -1,67 +1,43 @@
|
|||
<?xml version="1.0"?>
|
||||
<!--
|
||||
************************************************************************
|
||||
Cessna 172 simulation config. This files ties together all the components
|
||||
used by FGFS to represent the C172. Components include the flight data
|
||||
model, instrument panel, and external 3D model.
|
||||
3D models can be downloaded from http://home.t-online.de/home/Wolfram.Kuss/
|
||||
YASim Cessna 172R with 2D panel.
|
||||
|
||||
October 23 2001 John Check, fgpanels@rockfish.net
|
||||
Started October 23 2001 by John Check, fgpanels@rockfish.net
|
||||
************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyList>
|
||||
<PropertyList include="c172r-yasim-base.xml">
|
||||
|
||||
<sim>
|
||||
|
||||
<description>Cessna 172 (YASim)</description>
|
||||
<description>Cessna 172R (YASim, 2D panel)</description>
|
||||
|
||||
<flight-model archive="y">yasim</flight-model>
|
||||
<aero archive="y">c172</aero>
|
||||
<fuel-fraction>1.0</fuel-fraction>
|
||||
<fuel-fraction>1.0</fuel-fraction>
|
||||
|
||||
<systems>
|
||||
<electrical>
|
||||
<path>Aircraft/c172/c172-electrical.xml</path>
|
||||
</electrical>
|
||||
</systems>
|
||||
|
||||
<sound>
|
||||
<audible archive="y">true</audible>
|
||||
<path archive="y">Aircraft/c172/c172-sound.xml</path>
|
||||
</sound>
|
||||
<!-- set up 2D panel -->
|
||||
|
||||
<panel>
|
||||
<path>Aircraft/c172/Panels/c172-vfr-panel.xml</path>
|
||||
<visibility archive="y">true</visibility>
|
||||
</panel>
|
||||
|
||||
<panel_2>
|
||||
<path>Aircraft/c172/Panels/c172-trans-mini-panel.xml</path>
|
||||
</panel_2>
|
||||
|
||||
<model>
|
||||
<path archive="y">Aircraft/c172/Models/c172-dpm.xml</path>
|
||||
</model>
|
||||
<!-- Look down a bit over the top of the panel -->
|
||||
|
||||
<view>
|
||||
<config>
|
||||
<default-pitch-deg>-8</default-pitch-deg>
|
||||
</config>
|
||||
</view>
|
||||
|
||||
<current-view>
|
||||
<pitch-offset-deg>-8</pitch-offset-deg>
|
||||
</current-view>
|
||||
|
||||
</sim>
|
||||
|
||||
<controls>
|
||||
<magnetos>3</magnetos>
|
||||
</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">6000.0</elevator-adj-factor>
|
||||
<integral-contribution type="float">0.008</integral-contribution>
|
||||
<zero-pitch-throttle type="float">0.45</zero-pitch-throttle>
|
||||
<zero-pitch-trim-full-throttle type="float">0.001</zero-pitch-trim-full-throttle>
|
||||
</config>
|
||||
</autopilot>
|
||||
|
||||
</PropertyList>
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue