[Flightgear-devel] DC-3 crash fixed

2002-12-21 Thread Andy Ross
Curtis L. Olson wrote:
 actually my guess is that due to the gear problem, it probably
 crashes instantly so nothing will work at all with it.

Yup, that was it.  Sorry, I've been ignoring this one.  I recently
changed the default gear spring strength.  But taildraggers have
different c.g. configurations, and the aircraft was falling through
the ground on initialization.  Fixed.

 And of course, in air starts don't work for YAsim models, so... :-)
 Andy, I'd be happy if we were forced to specify velocity in kts (and
 then maybe mach for the faster aircraft.)

The units don't really matter.  I can convert between them just fine.
What I'm confused by is the API for how to tell which units are being
used.  JSBSim does this in FGInitialConditions, but I got a little
lost trying to figure out where the information there comes from.

Andy

--
Andrew J. RossNextBus Information Systems
Senior Software Engineer  Emeryville, CA
[EMAIL PROTECTED]  http://www.nextbus.com
Men go crazy in conflagrations.  They only get better one by one.
 - Sting (misquoted)


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel



Re: [Flightgear-devel] DC-3 crash fixed

2002-12-21 Thread Tony Peden
On Sat, 2002-12-21 at 10:52, Andy Ross wrote:
 Curtis L. Olson wrote:
   actually my guess is that due to the gear problem, it probably
   crashes instantly so nothing will work at all with it.
 
 Yup, that was it.  Sorry, I've been ignoring this one.  I recently
 changed the default gear spring strength.  But taildraggers have
 different c.g. configurations, and the aircraft was falling through
 the ground on initialization.  Fixed.
 
   And of course, in air starts don't work for YAsim models, so... :-)
   Andy, I'd be happy if we were forced to specify velocity in kts (and
   then maybe mach for the faster aircraft.)
 
 The units don't really matter.  I can convert between them just fine.
 What I'm confused by is the API for how to tell which units are being
 used.  JSBSim does this in FGInitialConditions, but I got a little
 lost trying to figure out where the information there comes from.

Which information?
 
 Andy
-- 
Tony Peden [EMAIL PROTECTED]


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel



Re: [Flightgear-devel] DC-3 crash fixed

2002-12-21 Thread David Megginson
Tony Peden writes:

   The units don't really matter.  I can convert between them just fine.
   What I'm confused by is the API for how to tell which units are being
   used.  JSBSim does this in FGInitialConditions, but I got a little
   lost trying to figure out where the information there comes from.
  
  Which information?

He means which velocity is normative.

Andy, you can just stick with properties and look at
/sim/startup/speed-set to find out which speed to use:

'knots'
- get the calibrated airspeed from /velocities/airspeed-kt (kcas
  would be a better value here)

'UVW'
- get the local velocities from /velocities/uBody-fps,
  /velocities/vBody-fps, and /velocities/wBody-fps

'NED'
- get the NED velocities from /velocities/speed-north-fps,
  /velocities/speed-east-fps, and /velocities/speed-down-fps

'mach'
- get the current mach number from /velocities/mach

I make no attempt to justify this system, much less to claim that it's
elegant, but it does work.

You should also look at the /sim/startup/onground and
/sim/startup/trim properties to see how you should set up the plane.
If the trim property is true, Tony always trims the plane to a steady
state for JSBSim, and people will assume that the same will work with
YASim.


All the best,


David

-- 
David Megginson, [EMAIL PROTECTED], http://www.megginson.com/

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel