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.
116 lines
No EOL
5.1 KiB
XML
116 lines
No EOL
5.1 KiB
XML
<airplane mass="3903">
|
|
|
|
<approach speed="70" aoa="16">
|
|
<control-setting axis="/controls/throttle[0]" value="0.4"/>
|
|
<control-setting axis="/controls/throttle[1]" value="0.4"/>
|
|
<control-setting axis="/controls/mixture[0]" value="1.0"/>
|
|
<control-setting axis="/controls/mixture[1]" value="1.0"/>
|
|
<control-setting axis="/controls/propeller-pitch[0]" value="0.5"/>
|
|
<control-setting axis="/controls/propeller-pitch[1]" value="0.5"/>
|
|
<control-setting axis="/controls/flaps" value="1.0"/>
|
|
<control-setting axis="/controls/gear-down" value="1"/>
|
|
</approach>
|
|
<cruise speed="223" alt="20000">
|
|
<control-setting axis="/controls/throttle[0]" value="1.0"/>
|
|
<control-setting axis="/controls/throttle[1]" value="1.0"/>
|
|
<control-setting axis="/controls/mixture[0]" value="1.0"/>
|
|
<control-setting axis="/controls/mixture[1]" value="1.0"/>
|
|
<control-setting axis="/controls/propeller-pitch[0]" value="1.0"/>
|
|
<control-setting axis="/controls/propeller-pitch[1]" value="1.0"/>
|
|
<control-setting axis="/controls/flaps" value="0.0"/>
|
|
<control-setting axis="/controls/gear-down" value="0"/>
|
|
</cruise>
|
|
|
|
<cockpit x="-2.78" y="0.26" z="0.95"/>
|
|
|
|
<fuselage ax="0.00" ay="0" az="0" bx="-9.50" by="0" bz="0"
|
|
width="1.5" taper="0" midpoint="0.4"/>
|
|
|
|
<wing x="-3.65" y="0.62" z="-0.18" length ="4.68" chord ="1.68"
|
|
sweep="0" dihedral="5" taper="0.8" camber="0.1">
|
|
<stall aoa="16" width="4" peak="1.5"/>
|
|
<flap0 start="0" end=".5" lift="1.5" drag="2.0"/>
|
|
<flap1 start=".55" end=".94" lift="1.3" drag="1.5"/>
|
|
<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"/>
|
|
</wing>
|
|
|
|
<hstab x="-8.33" y="0.22" z="0.07" length ="2.34" chord ="1.24"
|
|
sweep="0" dihedral="0" taper="0.6" camber="0.1">
|
|
<stall aoa="16" width="4" peak="1.5"/>
|
|
<flap0 start="0" end="1" lift="1.5" drag="1.8"/>
|
|
<control-input axis="/controls/elevator" control="FLAP0"/>
|
|
<control-input axis="/controls/elevator-trim" control="FLAP0"/>
|
|
</hstab>
|
|
|
|
<vstab x="-8.26" y="0.00" z="0.26" length ="2.16" chord ="1.61"
|
|
sweep="36" taper="0.5">
|
|
<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"/>
|
|
</vstab>
|
|
|
|
<!-- Late model 310's had 50 gallon tip tanks, and 31.5 gallon wing
|
|
tanks. Some also had nacelle tanks, but those aren't modeled
|
|
here -->
|
|
<tank x="-3.62" y="5.30" z="0.44" capacity="300"/>
|
|
<tank x="-3.62" y="1.02" z="-0.15" capacity="189"/>
|
|
<tank x="-3.62" y="-1.02" z="-0.15" capacity="189"/>
|
|
<tank x="-3.62" y="-5.30" z="0.44" capacity="300"/>
|
|
|
|
<gear x="0.00" y="0.00" z="-1.35" compression=".5" retract-time="7">
|
|
<control-input axis="/controls/rudder" control="STEER"/>
|
|
<control-input axis="/controls/gear-down" control="EXTEND"/>
|
|
<control-speed control="EXTEND" transition-time="7"/>
|
|
</gear>
|
|
|
|
<gear x="-4.02" y="1.32" z="-1.35" compression=".5" retract-time="7">
|
|
<control-input axis="/controls/brakes[0]" control="BRAKE"/>
|
|
<control-input axis="/controls/gear-down" control="EXTEND"/>
|
|
<control-speed control="EXTEND" transition-time="7"/>
|
|
</gear>
|
|
|
|
<gear x="-4.02" y="-1.32" z="-1.35" compression=".5" retract-time="7">
|
|
<control-input axis="/controls/brakes[1]" control="BRAKE"/>
|
|
<control-input axis="/controls/gear-down" control="EXTEND"/>
|
|
<control-speed control="EXTEND" transition-time="7"/>
|
|
</gear>
|
|
|
|
<propeller x="-2.56" y="1.83" z="0.07"
|
|
mass="800" moment="12" radius="1.0"
|
|
eng-power="285" eng-rpm="2700"
|
|
turbo-mul="2" wastegate-mp="40"
|
|
cruise-power="157" cruise-speed="195"
|
|
cruise-rpm="2100" cruise-alt="20000"
|
|
min-rpm="1600" max-rpm="2700">
|
|
<actionpt x="-1.53" y="1.83" z="0.07"/>
|
|
<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"/>
|
|
<control-input axis="/controls/propeller-pitch[0]" control="ADVANCE"/>
|
|
</propeller>
|
|
|
|
<propeller x="-2.56" y="-1.83" z="0.07"
|
|
mass="800" moment="12" radius="1.0"
|
|
eng-power="285" eng-rpm="2700"
|
|
turbo-mul="2" wastegate-mp="40"
|
|
cruise-power="157" cruise-speed="195"
|
|
cruise-rpm="2100" cruise-alt="10000"
|
|
min-rpm="1600" max-rpm="2700">
|
|
<actionpt x="-1.53" y="-1.83" z="0.07"/>
|
|
<control-input axis="/controls/throttle[1]" control="THROTTLE"/>
|
|
<control-input axis="/controls/starter[1]" control="STARTER"/>
|
|
<control-input axis="/controls/magnetos[1]" control="MAGNETOS"/>
|
|
<control-input axis="/controls/mixture[1]" control="MIXTURE"/>
|
|
<control-input axis="/controls/propeller-pitch[1]" control="ADVANCE"/>
|
|
</propeller>
|
|
|
|
<ballast x="-2.78" y="0.26" z="0.0" mass="180"/> <!-- pilot -->
|
|
<ballast x="-2.2" y="0" z="0.0" mass="240"/> <!-- cockpit -->
|
|
|
|
<weight x="-4.24" y="0" z="0" mass-prop="/yasim/c310/passenger-lbs"/>
|
|
|
|
</airplane> |