From: Torsten D. <To...@t3...> - 2011-02-06 14:34:04
|
> Hi FG developers, > > Since no further comments have been made, is there any chance to see > this patch committed in Flight Gear ? > > In case you would have additional comments or questions before > committing, I am of course open to answer them > > Cheers, > > Bertrand. Hi Bertrand, I am currently working on a more generic solution to the issue based on your patch. Currently we have at least three different places within FlightGear calculating tank contents and converting them between different units. The idea is to have a TankProperties class encapsulating all property- conversions and to have the fdm_shell create instances of the class. With that, you can write to any of it's properties (level, capacity, density) using any unit and have all other properties correct. There is no need to have this in every FDM and also in Nasal. I'm curently testing various aircraft on Windows and Linux and I hope to get this commited later today. Greetings, Torsten |