On Friday 22 June 2007 20:06, Chris Scruggs wrote: > I work with a company that is interested in developing methods for > interfacing one of our products with FlightGear. We produce and sell a > high-fidelity Aerospace Toolkit for the LabVIEW development environmnet. > The Toolkit helps engineers develop simulations of spacecraft flight for > model-based design work. If it helps in answering the questions product > information may be found here > (http://www.atacolorado.com/aerospace_toolkit.htm). We wish to offer users > the ability to interface the simulations they develop with FlightGear to > enhance their visualization options. > > I have searched through the documentaion and read through some of the > source code. However, I am curious if there is a document describing the > overall architecture of FlightGear that is readily available.
We are using FlightGear internally for a very similar purpose, a distributed simulation of air and ground traffic around SFO, in order to "play" with ATM, CDM and emergency services applications. Our simulation is based on a component infrastructure. The behaviour of the objects is implemented as CORBA components. FG is used for additional objects like planes, and for visualization. We can control the FG objects from the outside, e.g. a fire engine on the runway, and several instances of FG share one virtual world. Our technical approach is quite simple: A CORBA component serves as a kind of central hub for the simulation. All simulators, both FG and our own components, send their state to this central hub and obtain the states of the other objects from it. The FG integration is done using simple CORBA calls in void FGAIManager::update(double dt). This simple polling avoids the integration of event loops. For the future, we plan an integration of HLA and web services, one the side of the CCM implementation. Another possible approach is the multiplayer mode. We did not use it, because one of the goals of our work was a performance test of the CCM implementation used. Drop me a mail if you have more questions. Cheers, Rudi ps: Big thanks to the FG developers! FG is a wonderful piece of software. If you want I can provide a success story for the FG web site. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Flightgear-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-devel

