Curtis L. Olson wrote: > Ok, looking further, it appears that nothing, no place, no where is > setting the runway elevation any more ... it get's initialized at > startup, but then never is updated as the aircraft moves.
Ah, which explains why I've never seen this. I only ever bother testing in the default scenery (I mean, I live here, right?), where all the useful airports are essentially at sea level. I'll try to remember to move around more. > Ok, after all that, I tried the same thing with the YASim c172 at KMYF > and something is wierd at KMYF. YASim started just fine and took off > fine, but the entire time, FGFS was spewing message about being below > ground. I wonder if it is a problem with the scenery models right > there? Oh, and a tangent: what is the purpose behind the code in main.cxx that detects aircraft below ground and resets the elevation accordingly? One immediate bug is that it's not strictly correct -- the aircraft's "position" is by convention its nose. It can easily be in a crashed state with the nose sticking up in the air. There is a hard-coded 3m "guard band" in the code that presumably is intended to correct for this, but that can break for big aircraft (747) where 3m is juse noise. I actually have it commented out in my source at home, because it interacts badly with the crash detection. It's entierly possible for the aircraft to slip "below ground" to fgfs but not to YASim (YASim only checks the gear positions right now), resulting in a non-crash. The aircraft lawn-darts at 600 kts and then drifts slowly over the ground, still reporting a huge airspeed. So far as I can tell, there are no bad reactions to removing the check entirely. Andy -- Andrew J. Ross NextBus 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
