Re: [Flightgear-devel] Problems with Reset

2004-04-03 Thread Jim Wilson
Jon Stockill said:

 On Thu, 1 Apr 2004, Jim Wilson wrote:
 
  In either case the aircraft is a little too high off the pavement on restart
  and crashes.  I'll take a look later today or tomorrow unless someone else
  gets to it first.
 
 I've had problems like this just *starting* the sim with the fokker 50 
 100. They just flip over on their backs. It's almost like there's no
 contact point on the wingtips to stop them falling over if they don't
 balance perfectly on the wheels.
 

That may be related,  but I'm not sure.  AFAIK those are not completed flight
models.

Best,

Jim


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


Re: [Flightgear-devel] Problems with Reset

2004-04-03 Thread Erik Hofman
Jim Wilson wrote:
Jon Stockill said:

On Thu, 1 Apr 2004, Jim Wilson wrote:

In either case the aircraft is a little too high off the pavement on restart
and crashes.  I'll take a look later today or tomorrow unless someone else
gets to it first.
I've had problems like this just *starting* the sim with the fokker 50 
100. They just flip over on their backs. It's almost like there's no
contact point on the wingtips to stop them falling over if they don't
balance perfectly on the wheels.
That may be related,  but I'm not sure.  AFAIK those are not completed flight
models.
These are flight models as generated by aeromatic and hence quite 
complete. Although they are not fine tuned (and therefore may contain 
problems like a wrong balance).

Erik

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


Re: [Flightgear-devel] Problems with Reset

2004-04-03 Thread Jim Wilson
Erik Hofman said:

 Jim Wilson wrote:
  Jon Stockill said:
  
 On Thu, 1 Apr 2004, Jim Wilson wrote:
 
 In either case the aircraft is a little too high off the pavement on restart
 and crashes.  I'll take a look later today or tomorrow unless someone else
 gets to it first.
 
 I've had problems like this just *starting* the sim with the fokker 50 
 100. They just flip over on their backs. It's almost like there's no
 contact point on the wingtips to stop them falling over if they don't
 balance perfectly on the wheels.
  
  That may be related,  but I'm not sure.  AFAIK those are not completed flight
  models.
 
 These are flight models as generated by aeromatic and hence quite 
 complete. Although they are not fine tuned (and therefore may contain 
 problems like a wrong balance).
 

Yeah that's what I meant ;-)

Best,

Jim


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


Re: [Flightgear-devel] Problems with Reset

2004-04-02 Thread Jon Stockill
On Thu, 1 Apr 2004, Jim Wilson wrote:

 In either case the aircraft is a little too high off the pavement on restart
 and crashes.  I'll take a look later today or tomorrow unless someone else
 gets to it first.

I've had problems like this just *starting* the sim with the fokker 50 
100. They just flip over on their backs. It's almost like there's no
contact point on the wingtips to stop them falling over if they don't
balance perfectly on the wheels.

-- 
Jon Stockill
[EMAIL PROTECTED]

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


Re: [Flightgear-devel] Problems with Reset

2004-04-01 Thread Jonathan Richards
On Thursday 01 Apr 2004 2:42 pm, Marcio Shimoda wrote:
 Hi!
 After few seconds of flight, I crashed the airplane (c172-3d). Then I did
 reset FG, but when it restarted, the airplane appeared upside-down and
 pointed to the end of track. Somebody has the same problem?

Marcio
Yes, I do.  It's not often that I use the reset (I have it mapped to the 
'safed' button on the top of my Saitek X45:
http://www.saitek.com/uk/images/product/pcp/x45.jpg )
but it does just as you say.  If you switch to an external view *really fast* 
after resetting, you can see the plane tumbling down in a short fall; I have 
the impression that it starts with the nose pointing vertically upwards, but 
I can't switch views *that* fast!
I'm using CVS checked out on March 20th - time for an update!

Regards
Jonathan

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


Re: [Flightgear-devel] Problems with Reset

2004-04-01 Thread Jim Wilson
Jonathan Richards said:

 On Thursday 01 Apr 2004 2:42 pm, Marcio Shimoda wrote:
  Hi!
  After few seconds of flight, I crashed the airplane (c172-3d). Then I did
  reset FG, but when it restarted, the airplane appeared upside-down and
  pointed to the end of track. Somebody has the same problem?
 
 Marcio
 Yes, I do.  It's not often that I use the reset (I have it mapped to the 
 'safed' button on the top of my Saitek X45:
 http://www.saitek.com/uk/images/product/pcp/x45.jpg )
 but it does just as you say.  If you switch to an external view *really fast* 
 after resetting, you can see the plane tumbling down in a short fall; I have 
 the impression that it starts with the nose pointing vertically upwards, but 
 I can't switch views *that* fast!
 I'm using CVS checked out on March 20th - time for an update!
 

The reset is probably picking up the wrong elevation to reset to.  There are a
couple of things that could cause this.  Usually it has been either getting
the units getting screwed up (meters for feet) or the elevation being saved
earlier is not the correct one for the airport (i.e. the save is happening too
soon).

In either case the aircraft is a little too high off the pavement on restart
and crashes.  I'll take a look later today or tomorrow unless someone else
gets to it first.

Best,

Jim


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


Re: [Flightgear-devel] Problems with Reset

2004-04-01 Thread Jonathan Richards
On Thursday 01 Apr 2004 8:38 pm, Jim Wilson wrote:
 Jonathan Richards said:
  On Thursday 01 Apr 2004 2:42 pm, Marcio Shimoda wrote:
   Hi!
   After few seconds of flight, I crashed the airplane (c172-3d). Then I
   did reset FG, but when it restarted, the airplane appeared upside-down
   and pointed to the end of track. Somebody has the same problem?
 
  Marcio
  Yes, I do.  snip

 The reset is probably picking up the wrong elevation to reset to.  There
 are a couple of things that could cause this.  Usually it has been either
 getting the units getting screwed up (meters for feet) or the elevation
 being saved earlier is not the correct one for the airport (i.e. the save
 is happening too soon).

 In either case the aircraft is a little too high off the pavement on
 restart and crashes.  I'll take a look later today or tomorrow unless
 someone else gets to it first.


Jim
I have just checked out new cvs versions of everything, and recompiled.  
Neither the reset function, nor the menu option 'Location | Position Aircraft 
(on ground) work properly.  The reset button is bound to old-reinit-dialog 
(src/GUI/menubar.cxx) and starts the c172-3d off with a rapid forward 
somersaulting rotation some feet above the ground; I have time to complete 
three-quarters of a turn before crashing through the tarmac.   The Location 
dialog is less predictable but the outcome's never good :¬/

menubar.cxx is liberally provided with FIXME comments and refers to Deprecated 
wrappers, but I don't think that can be relevant ...?
I have pored over src/Main/fg_commands.cxx (which is, I guess, where the 
reinitialization is done - can you tell I'm out of my depth?) but I can't see 
why the re-initialization should have a different outcome to the first 
initialization - it's just re-reading the presets, AFAICS.

Jonathan




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


Re: [Flightgear-devel] Problems with Reset

2004-04-01 Thread Jim Wilson
Jonathan Richards said:


 I have pored over src/Main/fg_commands.cxx (which is, I guess, where the 
 reinitialization is done - can you tell I'm out of my depth?) but I can't see 
 why the re-initialization should have a different outcome to the first 
 initialization - it's just re-reading the presets, AFAICS.
 

Of course it shouldn't,  that's why it is a bug. :-)  I think this reinit is
done in fg_init.cxx.  In order to understand what I described you'll need to
follow up on ground elevation and how that is initialized.  It ends up being
used to position the aircraft.  The two newer FDM's will do the ground triming
quite well if the initial aircraft altitude is reasonably close to the ground
elevationbut if the aircraft is something like 150ft in the air at start,
it'll usually dive and/or flip on its way to the ground.

Best,

Jim


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