On 03/19/2009 04:43 PM, Lauri Peltonen wrote: > First of all I'd like to say hi to all as this is my first message to > this list! Hi :)
Hi. I hope your contributions meet a better fate than mine have. > Then, when messing around with fg, I noticed that the current atmosphere > model is somewhat correct only on troposphere (around 12km or so), and I > think some aircrafts we have can go higher than that. > > So I did some improvements on that function. At low altitudes it behaves > (almost) like the old one. It also has latitude dependency, and it > should behave quite well up to 85km. Of course, that is a bit overkill. You could have saved yourself a lot of work by posting a question before writing all this code. The code to do all this has existed for years. A nice table-driven implementation. It does this and more (notably linking the _pressure_ versus height dependence to the temperature). Pressure is kinda important for realistic altimetry, engine performance, et cetera. Let me know if you are interested in this. The code was never seriously considered for incorporation into the "official" version. ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Flightgear-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-devel

