Re: Yasim hang/crash

[email protected] Wed, 20 Jul 2005 15:54:17 +0200
Newsgroups gmane.games.flightgear.flightmodel
Message-ID <[email protected]>
On Wednesday 20 July 2005 15:51, I wrote:

> However I am not able to load the fdm into flightgear. I don't get an error
> message, flightgear just freezes. So I began tweaking settings and I recon
> I tracked the problem down to the wing section (swapping my wing with
> j3cub's wing worked). I've attatched the file, so you can have a look.

Darn, forgot to attatch. So here it is:

_______________________________________________
Flightgear-flightmodel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-flightmodel
2f585eeea02e2c79d7b1d8c4963bae2d
ask21-mi.xml (text/xml, 4.6 KB)
<airplane mass="1090">

<!-- Approach configuration -->
<approach speed="40" aoa="14" fuel="0">
  <control-setting axis="/controls/engines/engine[0]/throttle" value="0.0"/>
  <!--<control-setting axis="/controls/engines/engine[0]/rotorengineon" value="0"/>-->
  <!--<control-setting axis="/controls/flight/flaps" value="0.0"/>-->
  <control-setting axis="/controls/flight/flaps" value="1.0"/>
  <solve-weight idx="0" weight="170"/>
  <solve-weight idx="1" weight="170"/>
  <!--<solve-weight idx="2" weight="100"/>
  <solve-weight idx="3" weight="100"/>
  <solve-weight idx="4" weight="115"/>-->
</approach>

<!-- Cruise configuration -->
<cruise speed="75" alt="7500" fuel="1.0">
  <control-setting axis="/controls/engines/engine[0]/throttle" value="1.0"/>
  <!--<control-setting axis="/controls/engines/engine[0]/mixture" value="0.7"/>-->
  <!--<control-setting axis="/controls/flight/flaps" value="0.0"/>-->
  <control-setting axis="/controls/flight/flaps" value="0.0"/>
  <solve-weight idx="0" weight="170"/>
  <solve-weight idx="1" weight="170"/>
  <!--<solve-weight idx="2" weight="100"/>
  <solve-weight idx="3" weight="100"/>
  <solve-weight idx="4" weight="115"/>-->
</cruise>

<cockpit x="1.5" y="0" z="0.85"/>

<fuselage ax="3.2" ay="0" az="0.45" bx="-4.7" by="0" bz="0.64"
          width="0.7" taper="0.1" midpoint="0.2"/>
<!--twist should be positive, but as the original has different airfoils in the wing, I leave it at -2
	  I am not shure about the camber value, probably needs tweaking
	  all in all, much guesswork here-->
<wing x="0.15" y="0.3" z="0.6" taper="0.33" incidence="2" twist="-2"
      length="8.2" chord="1.5" sweep="-3" dihedral="5" camber="0.1">
  <stall aoa="13" width="5.0" peak="1.5"/>
  <spoiler start="2.35" end="3.8" lift="0.5" drag="2"/>
  <flap0 start="4.85" end="7.6" lift="1.2" drag="1.2"/>
  <control-input axis="/controls/flight/flaps" control="SPOILER"/>
  <control-input axis="/controls/flight/aileron" control="FLAP0" split="true"/>
  <control-input axis="/controls/flight/aileron-trim" control="FLAP0" split="true"/>
  <control-output control="SPOILER" prop="/surface-positions/spoiler-pos-norm"/>
  <control-output control="FLAP0" side="left"
		  prop="/surface-positions/left-aileron-pos-norm"/>
  <control-output control="FLAP0" side="right"
		  prop="/surface-positions/right-aileron-pos-norm"/>
</wing>

<hstab x="-4.55" y="0" z="2" taper="0.4" effectiveness="2" incidence="-1"
       length="1.5" chord="0.5" sweep="3">
  <stall aoa="17" width="3" peak="1.5"/>
  <flap0 start="0" end="1.5" lift="1.65" drag="1.2"/>
  <control-input axis="/controls/flight/elevator" control="FLAP0"/>
  <control-input axis="/controls/flight/elevator-trim" control="FLAP0"/>
  <control-output control="FLAP0" prop="/surface-positions/elevator-pos-norm"/>
</hstab>

<vstab x="-4.6" y="0" z="0.6" taper="0.5"
       length="1.4" chord="1" sweep="5">
  <stall aoa="16" width="4" peak="1.5"/>
  <flap0 start="0" end="1" lift="1.3" drag="1.1"/>
  <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"
		  min="1" max="-1"/>
</vstab>

<propeller radius="0.75"
	   cruise-speed="90" cruise-rpm="3000"
           cruise-alt="6000" cruise-power="35"
           takeoff-power="44" takeoff-rpm="3200"
           eng-power="56" eng-rpm="6500"
           x="-0.6" y="0" z="0.6" mass="200" moment="2"
	   gear-ratio="0.5"
	   bsfc="1">
  <actionpt x="-0.6" y="0" z="1.8"/>
  <control-input axis="/controls/engines/engine[0]/throttle" control="THROTTLE"/>
  <control-input axis="/controls/engines/engine[0]/starter" control="STARTER"/>
  <control-input axis="/controls/engines/engine[0]/magnetos" control="MAGNETOS"/>
  <!--<control-input axis="/controls/engines/engine[0]/mixture" control="MIXTURE"/>-->
</propeller>


<gear x="2.3" y="0" z="0.1" compression=".05"> <!-- nose --></gear>

<gear x="0" y="0" z="0" compression=".05"> <!-- main -->
  <!--<control-input axis="/controls/flight/flaps" control="BRAKE"/><!brakes are toggled when spoilers are fully retracted-->
  <!--<control-input axis="/controls/gear/brake-parking" control="BRAKE" split="true"/>-->
</gear>

<gear x="-4.5" y="-1.5" z="0.5" compression=".05"> <!-- tail -->
</gear>

<tank x="-0.5" y="0" z="0.6" capacity="50"/> 


<ballast x="2.0" y="0" z="0" mass="400"/> <!-- cockpit -->

<!-- Pilot, copilot, left passenger, right passenger, baggage -->
<weight x="1.75" y="0" z="0.6" mass-prop="/sim/weight[0]/weight-lb"/>
<weight x="0.75" y="0" z="0.6" mass-prop="/sim/weight[1]/weight-lb"/>

</airplane>