Implement simple help system with global and aircraft specific dialogs: The gui.nas changes have been discussed with Andy. All ac have a help dialog, but some are empty. (This wouldn't have been necessary, as the system falls back to the "Common Aircraft Keys" if an aircraft has no help defined, but an empty dialog is less confusing and encourages to be filled with interesting information. :-) I scanned all aircraft files for interesting performance data and added some to the dialogs (stall speed, etc.) The Concorde and the p51d have (over?)complete dialogs and can serve as examples. The format is documented in $FG_ROOT/Nasa/gui.nas. There is also a couple of other, minor fixes. The following files have ugly MSDOS line endings: $FG_ROOT/Aircraft/Hunter/hunter{-2tanks,}-set.xml $FG_ROOT/Aircraft/A380/A380-set.xml The Concorde-jsbsim.nas file is a useless copy of the real */nas file, which is in Nasal/. I'was debugging the Concorde and wondered why changes to this file had no effect ... (Fixed Concorde in the help-ac.diff patch: don't use "interpol" keyword as variable.)
120 lines
2.7 KiB
XML
120 lines
2.7 KiB
XML
<?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>
|
|
|
|
<help>
|
|
<title>Cessna 172P</title>
|
|
</help>
|
|
|
|
</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>
|