|
From: Curtis L. O. <cu...@fl...> - 2007-12-18 21:23:54
|
Update of /var/cvs/FlightGear-0.9/data/Aircraft/BAC-TSR2
In directory baron:/tmp/cvs-serv19171
Modified Files:
BAC-TSR2-set.xml BAC-TSR2-yasim.xml
Log Message:
Lee Elliott:
It took a lot of effort to get terrain-following working well but
I'm very pleased with the results:) Still no real panel, of
course - I'll leave that to someone who enjoys doing that sort of
stuff - but I've added a few new diagnostic monitors which I've
found useful. Infact, I've actually found one of them, the
tfa-target monitor quite fascinating to watch - it gives a sort of
graphical representation of the hi-elevation target in relation to
the aircraft, in terms of height and distance, and gives an insight
to how the tfa radar works. The 200ft default agl setting seems to
cope with most things, short of very high mountains, up to speeds
of 450 kts - you can work out the max possible clearance from the
scan range (2500m), max climb-rate (120fps) and time (derived from
speed). Heh:) - if you want a bit of light entertainment just
stick in KSCK as a route waypoint from KSFO and let it fly there at
200ft on autopilot:) If you do it all using auto-takeoff and the
autopilot, it only takes three mouse clicks - one to take off, one
to engage TF and one to select continuous TFA mode from the popup:)
Apart from adding the TFA stuff and fixing the instruments I've also
re-worked some aspects of the YASim config that I wasn't happy
with, along with re-writing most of the Nasal. In view of this and
the lack of a real cockpit I've dropped the status back down to
alpha.
Anyway, I guess the update summary should be:
YASim config revised to include the correct number and approximate
capacities of the fuel tanks and locate them in roughly the right
places. Increased the approach aoa - old film footage seemed to
show a higher approach aoa.
Re-wrote/re-organised all of the Nasal scripts - all varified.
Fixed existing diagnostic/development instruments and added a few
more relating to the autopilot and terrain-following/avoidance
system.
Added Nasal.geo based terrain-following/avoidance system.
Index: BAC-TSR2-set.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/BAC-TSR2/BAC-TSR2-set.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -C 2 -r1.8 -r1.9
*** BAC-TSR2-set.xml 4 May 2007 16:41:59 -0000 1.8
--- BAC-TSR2-set.xml 18 Dec 2007 19:33:35 -0000 1.9
***************
*** 4,8 ****
BAC TSR2 simulation config.
! 2005-08-07 Lee Elliott
************************************************************************
-->
--- 4,8 ----
BAC TSR2 simulation config.
! 2007-12-17 Lee Elliott
************************************************************************
-->
***************
*** 16,20 ****
<flight-model>yasim</flight-model>
! <status>beta</status>
<author>Lee Elliott</author>
<aero>BAC-TSR2-yasim</aero>
--- 16,20 ----
<flight-model>yasim</flight-model>
! <status>alpha</status>
<author>Lee Elliott</author>
<aero>BAC-TSR2-yasim</aero>
***************
*** 39,43 ****
<view n="100">
! <name>Cockpit View</name>
<type>lookfrom</type>
<internal archive="y">true</internal>
--- 39,43 ----
<view n="100">
! <name>Rear Cockpit View</name>
<type>lookfrom</type>
<internal archive="y">true</internal>
***************
*** 88,116 ****
</config>
</view>
- <!--
- <view n="102">
- <name>Ground Observer View</name>
- <type>lookat</type>
- <config>
- <eye-lat-deg-path>/sim/view[102]/latitude-deg</eye-lat-deg-path>
- <eye-lon-deg-path>/sim/view[102]/longitude-deg</eye-lon-deg-path>
- <eye-alt-ft-path>/sim/view[102]/altitude-ft</eye-alt-ft-path>
- <eye-roll-deg-path>/sim/view[102]/roll-deg</eye-roll-deg-path>
- <eye-pitch-deg-path>/sim/view[102]/pitch-deg</eye-pitch-deg-path>
- <eye-heading-deg-path>/sim/view[102]/heading-deg</eye-heading-deg-path>
-
- <at-model type="bool">true</at-model>
- <at-model-idx type="int">0</at-model-idx>
-
- <ground-level-nearplane-m type="double">1.0f</ground-level-nearplane-m>
- <default-field-of-view-deg type="double">55.0</default-field-of-view-deg>
- <x-offset-m type="double">0</x-offset-m>
- <y-offset-m type="double">0</y-offset-m>
- <z-offset-m type="double">0</z-offset-m>
- <target-z-offset-m archive="y" type="double">10.0</target-z-offset-m>
- </config>
- </view>
- -->
<current-view>
<field-of-view>55.0</field-of-view>
--- 88,92 ----
***************
*** 142,148 ****
<path>Aircraft/BAC-TSR2/Systems/BAC-TSR2-autopilot.xml</path>
</autopilot>
- <electrical>
- <path>Aircraft/BAC-TSR2/Systems/BAC-TSR2-electrical.xml</path>
- </electrical>
</systems>
--- 118,121 ----
***************
*** 173,176 ****
--- 146,210 ----
</flaps>
+ <gui>
+ <dialogs>
+ <TFA-popup>
+ <config>
+ <dialog include="Dialogs/TFA-popup.xml"/>
+ </config>
+ </TFA-popup>
+ </dialogs>
+ </gui>
+
+ <!-- AoA Indexer target 12.0 deg -->
+ <aoa-indexer>
+ <too-slow-deg>13.5</too-slow-deg> <!-- target +1.5 deg -->
+ <slow-deg>12.5</slow-deg> <!-- target +0.5 deg -->
+ <fast-deg>11.5</fast-deg> <!-- target -0.5 deg -->
+ <too-fast-deg>10.5</too-fast-deg> <!-- target -1.5 deg -->
+ </aoa-indexer>
+
+ <help>
+ <title>BBAC-TSR2</title>
+ <key>
+ <name>j/k</name>
+ <desc>decrease/increase spoilers</desc>
+ </key>
+ <key>
+ <name>K</name>
+ <desc>toggle trajectory markers</desc>
+ </key>
+ <key>
+ <name>U</name>
+ <desc>update drop view position</desc>
+ </key>
+ <line>Approach AoA 12.0 deg</line>
+ <line></line>
+ <line>AP Modes</line>
+ <line> AH - Altitude hold</line>
+ <line> TF - Terrain follow/AGL hold</line>
+ <line> TO - Auto take-off</line>
+ <line> IL - ILS/Auto landing</line>
+ <line> MC - Mach Climb</line>
+ <line></line>
+ <line>Click on AP Mode to turn off all A/P locks.</line>
+ <line></line>
+ <line>The 2D VFR panel is just a place-holder for the radio instruments</line>
+ <line> - use the 2D development mini-panel to control the aircraft (Shift-s)</line>
+ <line></line>
+ <line>Set the Altitude hold and TF/AGL settings via the autopilot menu.</line>
+ <line>or the popup dialog. If an AP Mode is grayed out it is not available.</line>
+ <line></line>
+ <line>To use Mach-Climb mode click on the light blue M in the speed</line>
+ <line>instrument to select mach-hold mode, set the required mach</line>
+ <line>you want to maintain, select MC and then either turn off</line>
+ <line>speed locks (Ctrl-s) and set the throttles manually or select</line>
+ <line>KIAS hold (yellow K) and set a high speed - this will force</line>
+ <line>the throttles to 100%</line>
+ <line></line>
+ <line>Some diagnostic/development instruments will be displayed</line>
+ <line>depending on the AP modes engaged - they are not precisely</line>
+ <line>calibrated.</line>
+ </help>
+
</sim>
***************
*** 187,201 ****
</binding>
</key>
! <!-- Update Ground Observer View position -->
! <!--
! <key n="81">
! <name>Q</name>
! <desc>Update Ground Observer View position</desc>
! <binding n="0">
! <command>nasal</command>
! <script>TSR2.update_ground_observer_view_pos()</script>
! </binding>
! </key>
! -->
<!-- Update Drop View position -->
<key n="85">
--- 221,225 ----
</binding>
</key>
!
<!-- Update Drop View position -->
<key n="85">
***************
*** 207,211 ****
</binding>
</key>
!
</keyboard>
</input>
--- 231,235 ----
</binding>
</key>
!
</keyboard>
</input>
***************
*** 220,246 ****
<autopilot>
<settings>
! <target-agl-ft type="float">800</target-agl-ft>
<target-altitude-ft type="float">3000</target-altitude-ft>
! <target-pitch-deg type="float">10</target-pitch-deg>
<target-climb-rate-fps type="float">0</target-climb-rate-fps>
<ground-roll-heading-deg type="float">-999.9</ground-roll-heading-deg>
<target-speed-kt type="float">350.0</target-speed-kt>
<target-mach type="float">0.86</target-mach>
! <approach-AoA-deg type="float">9.0</approach-AoA-deg>
! <auto-flap-target-deg type="float">6.0</auto-flap-target-deg>
</settings>
<locks>
! <auto-take-off type="string">Enabled</auto-take-off>
! <auto-landing type="string">Enabled</auto-landing>
! <rudder-control type="string">Initialised</rudder-control>
! <approach-AoA-lock type="string">Initialised</approach-AoA-lock>
! <auto-flap-control type="string">Manual</auto-flap-control>
</locks>
- <internal>
- <target-climb-rate-fps type="double">0.0</target-climb-rate-fps>
- </internal>
-
</autopilot>
--- 244,272 ----
<autopilot>
<settings>
! <target-agl-ft type="float">200</target-agl-ft>
<target-altitude-ft type="float">3000</target-altitude-ft>
! <target-pitch-deg type="float">0</target-pitch-deg>
! <target-aoa-deg type="float">0</target-aoa-deg>
! <target-roll-deg type="float">0</target-roll-deg>
<target-climb-rate-fps type="float">0</target-climb-rate-fps>
<ground-roll-heading-deg type="float">-999.9</ground-roll-heading-deg>
<target-speed-kt type="float">350.0</target-speed-kt>
<target-mach type="float">0.86</target-mach>
! <approach-aoa-deg type="float">12.0</approach-aoa-deg>
! <rotate-speed-kt type="float">110.0</rotate-speed-kt>
! <rotate-deg type="float">13.0</rotate-deg>
</settings>
<locks>
! <pitch type="string">initialised</pitch>
! <roll type="string">initialised</roll>
! <altitude type="string">initialised</altitude>
! <heading type="string">initialised</heading>
! <auto-takeoff type="string">enabled</auto-takeoff>
! <auto-landing type="string">enabled</auto-landing>
! <rudder type="string">initialised</rudder>
! <aoa type="string">initialised</aoa>
</locks>
</autopilot>
***************
*** 282,290 ****
<minimized type="bool" archive="y">true</minimized>
</radar>
</instrumentation>
<nasal>
<TSR2>
! <file>Aircraft/BAC-TSR2/Nasal/BAC-TSR2.nas</file>
<script>start_up();</script>
</TSR2>
--- 308,341 ----
<minimized type="bool" archive="y">true</minimized>
</radar>
+ <terrain-radar>
+ <hi-elev>
+ <alt-ft type="double">-9999.9</alt-ft>
+ <lat-deg type="double">-9999.9</lat-deg>
+ <lon-deg type="double">-9999.9</lon-deg>
+ <dist-m type="double">-9999.9</dist-m>
+ <collision-status type="string">initialised</collision-status>
+ </hi-elev>
+ <settings>
+ <mode type="string">extend</mode>
+ <state type="string">off</state>
+ <range-m type="double">2500</range-m>
+ <step-m type="double">250</step-m>
+ <max-climb-rate-fps type="double">120</max-climb-rate-fps>
+ <hi-elev-markers type="string">initialised</hi-elev-markers>
+ </settings>
+ </terrain-radar>
</instrumentation>
<nasal>
<TSR2>
! <file>Aircraft/BAC-TSR2/Nasal/BAC-TSR2-startup.nas</file>
! <file>Aircraft/BAC-TSR2/Nasal/BAC-TSR2-dropview.nas</file>
! <file>Aircraft/BAC-TSR2/Nasal/BAC-TSR2-trajectory-markers.nas</file>
! <file>Aircraft/BAC-TSR2/Nasal/BAC-TSR2-auto-takeoff.nas</file>
! <file>Aircraft/BAC-TSR2/Nasal/BAC-TSR2-auto-landing.nas</file>
! <file>Aircraft/BAC-TSR2/Nasal/BAC-TSR2-altitude-hold-monitor.nas</file>
! <file>Aircraft/BAC-TSR2/Nasal/BAC-TSR2-heading-hold-monitor.nas</file>
! <file>Aircraft/BAC-TSR2/Nasal/BAC-TSR2-yaw-monitor.nas</file>
! <file>Aircraft/BAC-TSR2/Nasal/BAC-TSR2-tfa.nas</file>
<script>start_up();</script>
</TSR2>
Index: BAC-TSR2-yasim.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/BAC-TSR2/BAC-TSR2-yasim.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -C 2 -r1.3 -r1.4
*** BAC-TSR2-yasim.xml 12 Aug 2005 18:13:07 -0000 1.3
--- BAC-TSR2-yasim.xml 18 Dec 2007 19:33:35 -0000 1.4
***************
*** 4,132 ****
the original aircraft. Lee Elliott.
! The ailerons are a hack on this fdm - the real aircraft
! use all moving tail planes for roll and this model had a
! very high roll rate so they've been made relatively
! ineffective and in the model/anim file the aileron surface
! positions actually operate on the tailplanes.
! -->
! <airplane mass="54750">
! <!-- Approach configuration -->
! <approach speed="120" aoa="9.0">
! <control-setting axis="/controls/engines/engine[0]/throttle" value="0.6"/>
! <control-setting axis="/controls/engines/engine[1]/throttle" value="0.6"/>
! <control-setting axis="/controls/flight/flaps" value="1.0"/>
! <control-setting axis="/controls/flight/spoiler" value="0.0"/>
! <control-setting axis="/controls/gear/gear-down" value="1"/>
! </approach>
! <!-- Cruise configuration -->
! <!-- <cruise speed="1179" alt="45000"> -->
! <cruise speed="650" alt="0">
! <control-setting axis="/controls/engines/engine[0]/throttle" value="0.95"/>
! <control-setting axis="/controls/engines/engine[1]/throttle" value="0.95"/>
! <control-setting axis="/controls/engines/engine[0]/afterburner" value="0.0"/>
! <control-setting axis="/controls/engines/engine[1]/afterburner" value="0.0"/>
! <control-setting axis="/controls/flight/flaps" value="0.0"/>
! <control-setting axis="/controls/gear/gear-down" value="0"/>
! </cruise>
! <cockpit x="8.5" y="0.0" z="1.0"/>
! <fuselage ax="11.4" ay="0" az="0.5" bx="-13.4" by="0" bz=".8"
! width="2.0" taper="0.5" midpoint="0.3"/>
! <!-- Wing -->
! <wing x="-4.90" y="1.6" z="2.0" taper="0.32"
! length="4.04" chord="7.20" sweep="43" dihedral="0.0" camber="0.01">
! <stall aoa="30" width="1" peak="1.3"/>
! <flap0 start="0.0" end="1.0" lift="1.3" drag="1.45"/>
! <spoiler start="0.54" end="0.86" lift="1.0" drag="8.0"/>
! <control-input axis="/controls/flight/flaps" control="FLAP0"/>
- <control-input axis="/controls/flight/spoilers" control="SPOILER"/>
! <control-output control="FLAP0" side="left" prop="/surface-positions/left-flap-pos-norm"/>
! <control-output control="FLAP0" side="right" prop="/surface-positions/right-flap-pos-norm"/>
! <control-output control="SPOILER" side="left" prop="/surface-positions/left-upper-spoiler-pos-norm"/>
! <control-output control="SPOILER" side="right" prop="/surface-positions/right-upper-spoiler-pos-norm"/>
! <control-output control="SPOILER" side="left" prop="/surface-positions/left-lower-spoiler-pos-norm"/>
! <control-output control="SPOILER" side="right" prop="/surface-positions/right-lower-spoiler-pos-norm"/>
! <control-speed control="FLAP0" transition-time="15"/>
! <control-speed control="SPOILER" transition-time="4.0"/>
! </wing>
<!-- HStab -->
! <hstab x="-11.41" y="1.38" z="0.55" taper="0.14" effectiveness="2.0"
! length="3.13" chord="4.1" sweep="47.7" dihedral="0.0">
! <stall aoa="35.0" width="1" peak="1.5"/>
! <flap0 start="0" end="1" lift="1.5" drag="1.5"/>
!
! <control-input axis="/controls/flight/elevator" control="FLAP0"/>
! <control-input axis="/controls/flight/elevator-trim" control="FLAP0"/>
! <control-input axis="/controls/flight/aileron" src0="-1" src1="1" dst0="-0.1" dst1="0.1" control="FLAP0" split="true"/>
! <control-input axis="/controls/flight/aileron-trim" src0="-1" src1="1" dst0="-0.1" dst1="0.1" control="FLAP0" split="true"/>
! <control-output control="FLAP0" side="left" prop="/surface-positions/left-elevator-pos-norm"/>
! <control-output control="FLAP0" side="right" prop="/surface-positions/right-elevator-pos-norm"/>
! <control-speed control="FLAP0" transition-time="4.0"/>
! </hstab>
<!-- Rudder -->
! <vstab x="-10.0" y="0" z="1.38" taper=".176" effectiveness="1.0"
! length="4.5" chord="4.0" sweep="50">
! <stall aoa="28.0" width="3" peak="1.5"/>
! <flap0 start="0" end="1" lift="1.5" drag="1.3"/>
! <control-input axis="/controls/flight/rudder" control="FLAP0" invert="true"/>
! <control-output control="FLAP0" prop="/surface-positions/rudder-pos-norm"/>
! <control-speed control="FLAP0" transition-time="0.5"/>
! </vstab>
<!-- Wing tips -->
! <mstab x="-7.70" y="4.66" z="2.0" taper="0.47" effectiveness="1.0"
! length="1.1" chord="2.34" sweep="43" dihedral="-38">
! <stall aoa="30.0" width="1" peak="1.3"/>
! </mstab>
<!-- Landing Gear -->
<!-- nose -->
! <gear x="3.8" y="0" z="-2.2" retract-time="7" compression="0.6" spring="0.8">
! <control-input axis="/controls/flight/rudder" control="STEER" square="true"/>
! <control-input axis="/controls/gear/gear-down" control="EXTEND"/>
! <control-speed control="EXTEND" transition-time="7"/>
! <control-output control="EXTEND" prop="/gear/gear[0]/position-norm"/>
! <control-output control="STEER" prop="/gear/gear[0]/steering-norm"/>
! </gear>
<!-- left main -->
! <gear x="-5.38" y="2.5" z="-2.2" retract-time="7" compression="0.6" spring="0.8">
! <control-input axis="/controls/gear/brake-left" control="BRAKE"/>
! <control-input axis="/controls/gear/brake-parking" control="BRAKE"/>
! <control-input axis="/controls/gear/gear-down" control="EXTEND"/>
! <control-speed control="EXTEND" transition-time="7"/>
! <control-output control="EXTEND" prop="/gear/gear[1]/position-norm"/>
! </gear>
<!-- right main -->
! <gear x="-5.38" y="-2.5" z="-2.2" retract-time="7" compression="0.6" spring="0.8">
! <control-input axis="/controls/gear/brake-right" control="BRAKE"/>
! <control-input axis="/controls/gear/brake-parking" control="BRAKE"/>
! <control-input axis="/controls/gear/gear-down" control="EXTEND"/>
! <control-speed control="EXTEND" transition-time="7"/>
! <control-output control="EXTEND" prop="/gear/gear[2]/position-norm"/>
! </gear>
<!-- Canopy -->
<gear x="3.0" y="0.0" z="0.6" retract-time="4" compression="0.6">
<control-input axis="/controls/gear/brake-parking" control="EXTEND"/>
--- 4,318 ----
the original aircraft. Lee Elliott.
! General characteristics
! * Crew: 2
! * Length: 89 ft ½ in (27.12 m)
! * Wingspan: 37 ft 1¾ in (11.27 m)
! * Height: 23 ft 9 in (7.24 m)
! * Wing area: 702.9 ft² (65.3 m²)
! * Empty weight: 54,750 lb (24,834 kg)
! * Loaded weight: 79,573 lb (36,169 kg)
! * Max takeoff weight: 102,200 lb (46,357 kg)
! * Powerplant: 2Ã Bristol-Siddeley Olympus BOl.22R (Mk. 320) turbojet
! o Dry thrust: 19,610 lb (87.23 kN) each
! o Thrust with afterburner: 30,610 lbf (136.7 kN) each
! * Tot fuel: 5588 Gal (33528lb) (80% in wing tanks, rest in fuselage)
! Performance
! * Maximum speed: Mach 2.15
! * Range: 1,150 (1,850 km)
! * Service ceiling: 54,000 ft (16,459 m)
! * Rate of climb: 50,000 ft/min (16,000 m/min)
! * Thrust/weight: 0.77
! Armament
! * Internal weapons bay, 20 ft (6 m) with 1 Red Beard (nuclear) or 6 x 1,000 lb (450 kg) HE bombs,
! * or 4 x 37 rocket packs or nuclear weaponry on inner pylons only.
! Maximum of 20,000 lbs (9,000 kg) of bombs.
! -->
!
! <airplane mass="54750">
! <!-- Approach configuration -->
! <approach speed="140" aoa="12.0" fuel="0.9">
! <control-setting axis="/controls/engines/engine[0]/throttle" value="0.6"/>
! <control-setting axis="/controls/engines/engine[1]/throttle" value="0.6"/>
! <control-setting axis="/controls/engines/engine[0]/afterburner" value="0.0"/>
! <control-setting axis="/controls/engines/engine[1]/afterburner" value="0.0"/>
! <control-setting axis="/controls/flight/flaps" value="1.0"/>
! <control-setting axis="/controls/flight/spoiler" value="0.0"/>
! <control-setting axis="/controls/gear/gear-down" value="1"/>
! </approach>
!
! <!-- Cruise configuration -->
! <cruise speed="650" alt="0" fuel="0.9">
! <control-setting axis="/controls/engines/engine[0]/throttle" value="0.95"/>
! <control-setting axis="/controls/engines/engine[1]/throttle" value="0.95"/>
! <control-setting axis="/controls/engines/engine[0]/afterburner" value="0.0"/>
! <control-setting axis="/controls/engines/engine[1]/afterburner" value="0.0"/>
! <control-setting axis="/controls/flight/flaps" value="0.0"/>
! <control-setting axis="/controls/flight/spoiler" value="0.0"/>
! <control-setting axis="/controls/gear/gear-down" value="0"/>
! </cruise>
! <!--
! <cruise speed="1179" alt="45000">
! <control-setting axis="/controls/engines/engine[0]/throttle" value="1.0"/>
! <control-setting axis="/controls/engines/engine[1]/throttle" value="1.0"/>
! <control-setting axis="/controls/engines/engine[0]/afterburner" value="1.0"/>
! <control-setting axis="/controls/engines/engine[1]/afterburner" value="1.0"/>
! <control-setting axis="/controls/flight/flaps" value="0.0"/>
! <control-setting axis="/controls/gear/gear-down" value="0"/>
! </cruise>
! -->
! <cockpit x="8.5" y="0.0" z="1.0"/>
!
! <fuselage ax="11.4" ay="0" az="0.5"
! bx="-13.4" by="0" bz=".8"
! width="2.0"
! taper="0.5"
! midpoint="0.3"/>
!
! <!-- Wing -->
! <wing x="-4.90" y="1.6" z="2.0"
! length="4.04"
! chord="7.20"
! sweep="43"
! taper="0.32"
! dihedral="0.0"
! camber="0.01">
!
! <stall aoa="20"
! width="1.0"
! peak="1.3"/>
!
! <flap0 start="0.0" end="1.0"
! lift="1.3"
! drag="1.45"/>
!
! <spoiler start="0.54" end="0.86"
! lift="1.0"
! drag="8.0"/>
!
! <control-input axis="/controls/flight/flaps"
! control="FLAP0"/>
!
! <control-input axis="/controls/flight/spoilers"
! control="SPOILER"/>
!
! <control-output control="FLAP0"
! prop="/surface-positions/left-flap-pos-norm"
! side="left"/>
!
! <control-output control="FLAP0"
! prop="/surface-positions/right-flap-pos-norm"
! side="right"/>
!
! <control-output control="FLAP0"
! prop="/surface-positions/flap-pos-norm"/>
!
! <control-output control="SPOILER"
! prop="/surface-positions/left-upper-spoiler-pos-norm"
! side="left"/>
!
! <control-output control="SPOILER"
! prop="/surface-positions/right-upper-spoiler-pos-norm"
! side="right"/>
!
! <control-output control="SPOILER"
! prop="/surface-positions/left-lower-spoiler-pos-norm"
! side="left"/>
!
! <control-output control="SPOILER"
! prop="/surface-positions/right-lower-spoiler-pos-norm"
! side="right"/>
! <control-speed control="FLAP0"
! transition-time="15"/>
! <control-speed control="SPOILER"
! transition-time="4.0"/>
!
! </wing>
<!-- HStab -->
! <hstab x="-11.41" y="1.38" z="0.55"
! length="3.13"
! chord="4.1"
! sweep="47.7"
! taper="0.14"
! dihedral="0.0"
! idrag="0.1"
! effectiveness="2.5">
!
! <stall aoa="35.0"
! width="3"
! peak="1.5"/>
!
! <flap0 start="0" end="1"
! lift="1.9"
! drag="1.3"/>
!
! <control-input axis="/controls/flight/elevator"
! control="FLAP0"/>
!
! <control-input axis="/controls/flight/elevator-trim"
! control="FLAP0"/>
!
! <control-input axis="/controls/flight/aileron"
! control="FLAP0"
! split="true"
! src0="-1" src1="1"
! dst0="-0.1" dst1="0.1"/>
!
! <control-input axis="/controls/flight/aileron-trim"
! control="FLAP0"
! split="true"
! src0="-1" src1="1"
! dst0="-1" dst1="1"/>
!
! <control-output control="FLAP0"
! prop="/surface-positions/left-elevator-pos-norm"
! side="left"/>
!
! <control-output control="FLAP0"
! prop="/surface-positions/right-elevator-pos-norm"
! side="right"/>
! <control-output control="FLAP0"
! prop="/surface-positions/elevator-pos-norm"/>
! <control-speed control="FLAP0"
! transition-time="2.0"/>
! </hstab>
<!-- Rudder -->
! <vstab x="-10.0" y="0" z="1.38" taper=".176"
! length="4.5"
! chord="4.0"
! sweep="50"
! idrag="0.1"
! effectiveness="1.0">
!
! <stall aoa="28.0"
! width="3"
! peak="1.5"/>
!
! <flap0 start="0" end="1"
! lift="1.5"
! drag="1.3"/>
!
! <control-input axis="/controls/flight/rudder"
! control="FLAP0"
! invert="true"/>
!
! <control-input axis="/controls/flight/rudder-trim"
! control="FLAP0"
! invert="true"/>
! <control-output control="FLAP0"
! prop="/surface-positions/rudder-pos-norm"/>
! <control-speed control="FLAP0"
! transition-time="2.0"/>
! </vstab>
<!-- Wing tips -->
! <mstab x="-7.70" y="4.66" z="2.0"
! length="1.1"
! chord="2.34"
! sweep="43"
! taper="0.47"
! dihedral="-38"
! effectiveness="1.0">
!
! <stall aoa="30.0"
! width="1"
! peak="1.3"/>
!
! </mstab>
<!-- Landing Gear -->
<!-- nose -->
! <gear x="3.8" y="0" z="-2.2"
! compression="0.6"
! spring="0.5">
!
! <control-input axis="/controls/flight/rudder"
! control="STEER"
! square="true"/>
!
! <control-input axis="/controls/gear/gear-down"
! control="EXTEND"/>
!
! <control-output control="EXTEND"
! prop="/gear/gear[0]/position-norm"/>
!
! <control-output control="STEER"
! prop="/gear/gear[0]/steering-norm"/>
!
! <control-speed control="EXTEND"
! transition-time="7"/>
!
! </gear>
<!-- left main -->
! <gear x="-5.38" y="2.5" z="-2.2"
! compression="0.6"
! spring="0.5"
! damp="1.5"
! sfric="2.0">
!
! <control-input axis="/controls/gear/brake-left"
! control="BRAKE"/>
!
! <control-input axis="/controls/gear/brake-parking"
! control="BRAKE"/>
!
! <control-input axis="/controls/gear/gear-down"
! control="EXTEND"/>
!
! <control-output control="EXTEND"
! prop="/gear/gear[1]/position-norm"/>
!
! <control-speed control="EXTEND"
! transition-time="7"/>
!
! </gear>
<!-- right main -->
! <gear x="-5.38" y="-2.5" z="-2.2"
! compression="0.6"
! spring="0.5"
! damp="1.5"
! sfric="2.0">
!
! <control-input axis="/controls/gear/brake-right"
! control="BRAKE"/>
!
! <control-input axis="/controls/gear/brake-parking"
! control="BRAKE"/>
!
! <control-input axis="/controls/gear/gear-down"
! control="EXTEND"/>
!
! <control-output control="EXTEND"
! prop="/gear/gear[2]/position-norm"/>
!
! <control-speed control="EXTEND"
! transition-time="7"/>
!
! </gear>
<!-- Canopy -->
+ <!--
<gear x="3.0" y="0.0" z="0.6" retract-time="4" compression="0.6">
<control-input axis="/controls/gear/brake-parking" control="EXTEND"/>
***************
*** 134,155 ****
<control-output control="EXTEND" prop="/gear/canopy/position-norm"/>
</gear>
! <jet x="-8.0" y="-1.0" z="0.4" mass="4000" thrust="16600" afterburner="30600">
! <control-input axis="/controls/engines/engine[0]/throttle" control="THROTTLE"/>
! <control-input axis="/controls/engines/engine[0]/afterburner" control="REHEAT"/>
! </jet>
!
! <jet x="-8.0" y="1.0" z="0.4" mass="4000" thrust="16600" afterburner="30600">
! <control-input axis="/controls/engines/engine[1]/throttle" control="THROTTLE"/>
! <control-input axis="/controls/engines/engine[1]/afterburner" control="REHEAT"/>
! </jet>
!
! <tank x="-4.0" y="0.0" z="0.5" jet="true" capacity="13000"/>
! <tank x="-5.0" y="2.5" z="1.7" jet="true" capacity="11000"/>
! <tank x="-5.0" y="-2.5" z="1.7" jet="true" capacity="11000"/>
!
! <ballast x="8.5" y="0" z="0" mass="2000"/> <!-- Cockpit -->
! <ballast x="4.0" y="0" z="0" mass="2000"/> <!-- avionics -->
! <ballast x="-6.0" y="0" z="0" mass="100"/> <!-- Trim ballast -->
</airplane>
--- 320,392 ----
<control-output control="EXTEND" prop="/gear/canopy/position-norm"/>
</gear>
+ -->
+
+ <!-- Engines -->
+ <jet x="-8.0" y="-1.0" z="0.8"
+ mass="7000"
+ thrust="19610"
+ afterburner="30610">
+
+ <control-input axis="/controls/engines/engine[0]/throttle"
+ control="THROTTLE"/>
+
+ <control-input axis="/controls/engines/engine[0]/afterburner"
+ control="REHEAT"/>
+
+ </jet>
+
+ <jet x="-8.0" y="1.0" z="0.8"
+ mass="7000"
+ thrust="19610"
+ afterburner="30610">
+
+ <control-input axis="/controls/engines/engine[1]/throttle"
+ control="THROTTLE"/>
+
+ <control-input axis="/controls/engines/engine[1]/afterburner"
+ control="REHEAT"/>
+
+ </jet>
+
+ <!--
+ Fuel tanks (5 fuselage tanks + integral wing tanks)
+ Locations and capacities estimated.
+ -->
+ <tank x="2.0" y="0.0" z="0.8"
+ jet="true"
+ capacity="13000"/>
+
+ <tank x="-0.72" y="0.8" z="0.8"
+ jet="true"
+ capacity="4000"/>
+
+ <tank x="-0.72" y="-0.8" z="0.8"
+ jet="true"
+ capacity="4000"/>
+
+ <tank x="-6.10" y="0.6" z="0.8"
+ jet="true"
+ capacity="2911"/>
+
+ <tank x="-6.10" y="-0.6" z="0.8"
+ jet="true"
+ capacity="2911"/>
+
+ <tank x="-5.60" y="2.85" z="1.85"
+ jet="true"
+ capacity="3352"/>
+
+ <tank x="-5.60" y="-2.85" z="1.85"
+ jet="true"
+ capacity="3352"/>
+
+ <ballast x="8.5" y="0" z="0"
+ mass="2000"/> <!-- Cockpit -->
+
+ <ballast x="4.0" y="0" z="0"
+ mass="3000"/> <!-- avionics -->
! <ballast x="6.0" y="0" z="0"
! mass="10"/> <!-- Trim ballast -->
</airplane>
|