FlightGear high-level architecture support: Difference between revisions

Jump to navigation Jump to search
m
→‎Status 04/2013: http://sourceforge.net/p/flightgear/mailman/message/34600516/
m (obsolete once/if the changelog stuff works correctly)
m (→‎Status 04/2013: http://sourceforge.net/p/flightgear/mailman/message/34600516/)
Line 43: Line 43:
<references/>
<references/>


= Status 04/2013 =  
= Status & News =
{{FGCquote|1= I've started looking at the HLA integration for FG, after some very useful discussion with Mathias Froehlich. This is just a note to say what I'm looking at and how I'm thinking of developing it. Any comments/advice is welcome - this is a new area for me. As background, we currently have a partial HLA implementation in SimGear which has a dependency on OpenRTI. As the name suggests, OpenRTI is an open-source RTI, which is developed by Mathias himself. This is all very well, but the HLA world has moved on since this code was written, and the code doesn't support some of the modern constructs. Mathias has been working on a toolkit that provides a lot of the "plumbing" required for a HLA client, in a much nicer package. This toolkit doesn't yet have a name, but would allow us to ditch most/all of the SimGear HLA code. (Note that like the current HLA dependency, this is completely optional and only required if one is compiling with the ENABLE_RTI boolean cmake option.) As a first use-case I expect to start looking at a very basic AI integration so other aircraft in the federation are displayed within FG. That doesn't really leverage the power of HLA, but should at least allow me to get to grips with the problems and architecture before moving onto more ambitious plans, including the Holy Grail of separating the viewer from the FDM. A lot of the challenge is likely to be in designing the data to be shared across the RTI, which I think will require a lot more thought than one might naively assume. -Stuart|2= {{cite web  | url    = http://sourceforge.net/p/flightgear/mailman/message/34600516/  | title  = <nowiki>[Flightgear-devel] HLA developments</nowiki>  | author = <nowiki>Stuart Buchanan</nowiki>  | date  = Nov 6th, 2015  }}}}
 
{{FGCquote
{{FGCquote
   |Currently, there is exactly one FDM controlling exactly one aircraft model in one session of FlightGear. <br/>
   |Currently, there is exactly one FDM controlling exactly one aircraft model in one session of FlightGear. <br/>
Line 67: Line 69:
   }}
   }}
}}
}}
<references/>


Simgear already has some RTI abstraction library that should help to implement HLA federates. Both, SimGear and FlightGear need to be configured/rebuilt with -DENABLE_RTI (after first installing openRTI).
Simgear already has some RTI abstraction library that should help to implement HLA federates. Both, SimGear and FlightGear need to be configured/rebuilt with -DENABLE_RTI (after first installing openRTI).

Navigation menu