Curtis L. Olson wrote:
Curtis L. Olson wrote:

I'll try and check in my changes shortly.


Ok, committed. Now what we *really* need is a mechanism to update weather condtions as we fly based on the nearest weather station.

First of all, thanks for adding this to the code while I was away, especially since your busy schedule at this time. But on the other hand, maybe I should go away more often after a commit :-)


Then to clarify some things, the MetarEnvironment inherits the InterpolateEnvironment because it gives some nice features which would be sad to lose otherwise.

I hadn't found out how to initialize the temperatures and visibility, but it looks like this has been taken care of now.

Indeed, the code reads the metar code at startup only. I had it setup to fetch the data every reset (handy for getting the right weather when changing airports, but unfortunately at this time every time the users presses 'z' or 'Z' to change visibility the weather subsystem gets reset, causing the code to fetch the metar data every time.

I haven't had any thoughts on how to update the weather while flying around other than the fact that it might be a good idea to have hexagonal cloud chunks each representing (a mix of) the reported cloud base at distant metar stations.

Erik

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

Reply via email to