8ee606eea8
Here are some updates to the KAP140 autopilot in the default c172. It now uses ailerons and elevator instead of aileron-trim and elevator-trim. I've started to "upgrade" it to the "two axis altitude preselect" version. Vertical speed select rounds to nearest 100 fpm. I've also modified the c172 electrical configuration to turn on the gps instrument. Perhaps the most important change is that the nasal script for the KAP140 has moved from data/Nasal to the c172p aircraft subdir. So it is important that you delete data/Nasal/kap140.nas. Having the kap140.nas script as a global script was not a good solution. Now it is aircraft specific, and thus included in the c172p-set.xml file. Ideally I would like it to be instrument specific, so that it would be included whenever the KAP140*.xml instruments where included on the panel.
114 lines
2.6 KiB
XML
114 lines
2.6 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>
|
|
|
|
<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.18</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/c172/c172-electrical.xml</path>
|
|
</electrical>
|
|
</systems>
|
|
|
|
<sound>
|
|
<path archive="y">Aircraft/c172/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>
|