1
0
Fork 0
fgdata/Aircraft-yasim/c172.xml
j4strngs f69f6321fa Andy sez:
I just checked in YASim changes that allow for more cleaner export of
control output to the property tree (and flaps now extend slowly now,
to boot).  But this breaks the XML syntax in an incompatible way, so
you'll need to update your planes in order to run the code in CVS.
2002-03-01 07:27:26 +00:00

89 lines
No EOL
3.5 KiB
XML

<airplane mass="1950">
<!-- Approach configuration -->
<approach speed="47" aoa="16">
<control-setting axis="/controls/throttle[0]" value="0.3"/>
<control-setting axis="/controls/mixture[0]" value="1.0"/>
<control-setting axis="/controls/flaps" value="1.0"/>
</approach>
<!-- Cruise configuration -->
<cruise speed="123" alt="0">
<control-setting axis="/controls/throttle[0]" value="1.0"/>
<control-setting axis="/controls/mixture[0]" value="1.0"/>
<control-setting axis="/controls/flaps" value="0.0"/>
</cruise>
<cockpit x="-1.88" y=".33" z="0.6"/>
<fuselage ax="-.17" ay="0" az="-.51" bx="-7.16" by="0" bz=".17"
width="1.5" taper="0.2" midpoint="0.3"/>
<wing x="-2.47" y=".51" z=".68" taper=".78"
length="5.37" chord="1.54" sweep="0" dihedral="0" camber="0.1">
<stall aoa="16" width="6" peak="1.5"/>
<flap0 start="0" end=".38" lift="1.6" drag="2.0"/>
<flap1 start=".78" end="1" lift="1.5" drag="1.6"/>
<control-input axis="/controls/flaps" control="FLAP0"/>
<control-input axis="/controls/aileron" control="FLAP1" split="true"/>
<control-input axis="/controls/aileron-trim" control="FLAP1" split="true"/>
<control-output control="FLAP0" prop="/surface-positions/flap-pos-norm"/>
<control-output control="FLAP1" side="left"
prop="/surface-positions/left-aileron-pos-norm"/>
<control-output control="FLAP1" side="right"
prop="/surface-positions/right-aileron-pos-norm"/>
<control-speed control="FLAP0" transition-time="6"/>
</wing>
<hstab x="-7.16" y="0.08" z=".17" taper=".63"
length="1.71" chord="1.36" sweep="0">
<stall aoa="16" width="4" peak="1.5"/>
<flap0 start="0" end="1" lift="1.6" drag="1.8"/>
<control-input axis="/controls/elevator" control="FLAP0"/>
<control-input axis="/controls/elevator-trim" control="FLAP0"/>
<control-output control="FLAP0" prop="/surface-positions/elevator-pos-norm"/>
</hstab>
<vstab x="-7.16" y="0" z=".17" taper=".5"
length="1.71" chord="1.54" sweep="20">
<stall aoa="16" width="4" peak="1.5"/>
<flap0 start="0" end="1" lift="1.3" drag="1.5"/>
<control-input axis="/controls/rudder" control="FLAP0" invert="true"/>
<control-input axis="/controls/rudder-trim" control="FLAP0" invert="true"/>
<control-output control="FLAP0" prop="/surface-positions/rudder-pos-norm"
min="1" max="-1"/>
</vstab>
<propeller radius="1.0"
cruise-speed="86" cruise-rpm="2200"
cruise-alt="10000" cruise-power="99"
takeoff-power="160" takeoff-rpm="2500"
eng-power="160" eng-rpm="2500"
x="-.6" y="0" z="0" mass="400" moment="8">
<actionpt x="0" y="0" z="0"/>
<control-input axis="/controls/throttle[0]" control="THROTTLE"/>
<control-input axis="/controls/starter[0]" control="STARTER"/>
<control-input axis="/controls/magnetos[0]" control="MAGNETOS"/>
<control-input axis="/controls/mixture[0]" control="MIXTURE"/>
</propeller>
<gear x="-1" y="0" z="-1.5" compression=".4"> <!-- nose -->
<control-input axis="/controls/rudder" control="STEER"/>
</gear>
<gear x="-2.82" y="1.15" z="-1.36" compression=".3"> <!-- left main -->
<control-input axis="/controls/brakes[0]" control="BRAKE"/>
</gear>
<gear x="-2.82" y="-1.15" z="-1.36" compression=".3"> <!-- left main -->
<control-input axis="/controls/brakes[1]" control="BRAKE"/>
</gear>
<tank x="-2.47" y="1.36" z=".68" capacity="75"/>
<tank x="-2.47" y="-1.36" z=".68" capacity="75"/>
<ballast x="-2.0" y=".33" z="0" mass="180"/> <!-- pilot -->
<ballast x="-2.0" y="-.33" z="0" mass="180"/> <!-- passenger -->
<ballast x="-1.0" y="-.33" z="0" mass="200"/> <!-- cockpit -->
</airplane>