On Thursday 17 September 2009 10:15:02 am Vivian Meazza wrote:

>
> --airport=EGNM, then you will see an AIAircraft (B737 in Easyjet livery)
> rise vertically off the ground and eventually disappear.
>
> The relevant code seems (Durk's) seems to be:
>
> AIAircraft line # 416
>
>         if (getGroundElevationM(SGGeod::fromGeodM(pos, 20000), alt, 0))
>             tgt_altitude_ft = alt * SG_METER_TO_FEET;
>

Just to add two cents: I've seen more or less similar behavior in recent 
versions of FlightGear, but only in cases where two or more AIAircraft got on 
top of each other for one reason or the other (i.e. at airports with no or 
insufficient parking. Each successive call to getGroundElevation would put the 
lowest aircraft on top of the other, and slowly the pairs/triplets/whatever 
would climb up in the air. 

Interestingly, a recent update to the heading calculation library functions 
inadvertently broke the distance keeping code, and made aircraft deliberately 
taxi on top of each other. Combined with the ground elevation problem, this 
gave some pretty spaced out visuals ... :-) The distance keeping code is fixed 
now, except for a (hopefully) minor problem with the distance to user 
controlled aircraft, which is still on my TODO list. 

IIRC, I ran flightgear with the EHAM scenery last week, and didn't notice 
anything unusual. Unfortunately, I'm extremely busy right now, so I can't be 
of much help at the moment, but I might have a look at EHAM as well as EGNM, 
just to see whether I can replicate the problem.

Cheers,
Durk

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to