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