Re: [Flightgear-devel] YASim update

2001-12-24 Thread Andrew Ross

David Megginson wrote:
 > It's committed to the CVS, and the DC-3 takes off fine now.  For
 > anyone wanting to try it, the command is
 >
 >   fgfs --aircraft=dc3-yasim
 >
 > I imagine that Wolfram has some 3D models linked from his site.  Some
 > DC-3 sounds would also be nice.

I found lots (!) of good stuff at this site:

   http://www.douglasdc3.com/

It's not terribly well organized, but these folks are SERIOUS
enthusiasts.  I remember downloading a set of sounds for (I think)
FS2K.  The quality and volume levels were a little mixed; it sounded
like someone just hung a microphone in the cockpit.

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] YASim update

2001-12-24 Thread David Megginson

Andrew Ross writes:

 > Indeed.  I failed to regression test a last minute change.  The DC-3
 > has propellers that are both counter rotating and variable speed --
 > I'd never tried both together, so of course it didn't work.  The right
 > side propeller governor was seeking in the wrong direction (to lower
 > RPMs).  This one-liner will fix that:

[snip]

It's committed to the CVS, and the DC-3 takes off fine now.  For
anyone wanting to try it, the command is

  fgfs --aircraft=dc3-yasim

I imagine that Wolfram has some 3D models linked from his site.  Some
DC-3 sounds would also be nice.


All the best,


David

-- 
David Megginson
[EMAIL PROTECTED]


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



Re: [Flightgear-devel] YASim update

2001-12-24 Thread Andrew Ross

David Megginson wrote:
 > Andrew Ross writes:
 > > Not having toe brakes, I had to map the braking to the "outer"
 > > ranger of the rudder.
 >
 > I'd recommend against hard-coding this mapping in the main config
 > file.  Personally, I map toe brakes to a pair of joystick buttons; we
 > also have default keyboard bindings for each toe brake.

That's on/off control only.  My experience is that this works for
directional control only at low speed.  Slamming your foot down on one
brake during a takeoff roll is not usually advisable. :)

 > Even without propwash, differential power should help the plane turn
 > as well, shouldn't it?

True, but again, this isn't an option during takeoff.  I think it's
probably best to leave the mapping there for the moment.  Prop wash
isn't very far off, and most users are going to expect the rudder
pedals to turn the nose.  But I agree in principle -- the default
mappings should match the controls that you have in the actual
aircraft.

 > This is now all in the appropriate places in the CVS repositories; I
 > renamed harrier-set.xml to harrier-yasim-set.xml and dc3-set.xml to
 > dc3-yasim-set.xml for consistency, so
 >
 >   fgfs --aircraft=dc3
 >
 > should work

Have I misunderstood something?  In my build, --aircraft=dc3 doesn't
work; I need to use dc3-yasim to match the name of the -set.xml file.
Is there any reason for tagging the YASim planes specially when there
is no overlap between the simulators?  No big deal, just extra keys to
type.

 > (I get a ground loop even when I'm stationary; oh well).

Indeed.  I failed to regression test a last minute change.  The DC-3
has propellers that are both counter rotating and variable speed --
I'd never tried both together, so of course it didn't work.  The right
side propeller governor was seeking in the wrong direction (to lower
RPMs).  This one-liner will fix that:

--- PropEngine.cpp  2001/12/19 21:35:16 1.18
+++ PropEngine.cpp  2001/12/24 17:41:34
@@ -155,7 +155,7 @@

// Convert to an acceleration here, so that big propellers
// don't seek faster than small ones.
- 
float diff = Math::abs(propTorque - targetTorque) / _moment;
+ 
float diff = Math::abs((propTorque - targetTorque) / _moment);
if(diff < 10) mod = 1 + (mod-1)*(0.1*diff);

_prop->modPitch(mod);

Have fun, (and try the Harrier!)
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] YASim update

2001-12-24 Thread David Megginson

Andrew Ross writes:

 > OK, it's a week later than I would have liked, but I've finally
 > reached a good stopping place with YASim, and have a new release
 > ready.

This is now all in the appropriate places in the CVS repositories; I
renamed harrier-set.xml to harrier-yasim-set.xml and dc3-set.xml to
dc3-yasim-set.xml for consistency, so

  fgfs --aircraft=dc3

should work (I get a ground loop even when I'm stationary; oh well).


All the best,


David

-- 
David Megginson
[EMAIL PROTECTED]


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



re: [Flightgear-devel] YASim update

2001-12-24 Thread David Megginson

Andrew Ross writes:

 > Not having toe brakes, I had to map the braking to the "outer"
 > ranger of the rudder.

I'd recommend against hard-coding this mapping in the main config
file.  Personally, I map toe brakes to a pair of joystick buttons; we
also have default keyboard bindings for each toe brake.

Even without propwash, differential power should help the plane turn
as well, shouldn't it?


All the best,


David

-- 
David Megginson
[EMAIL PROTECTED]


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