Decoupling the AI traffic system: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 12: Line 12:
= Goals =
= Goals =
Decouple the AI traffic system from FlightGear so that it may eventually become a standalone component to be run in a separate thread or process where all communications with the fgfs core process would be handled and dispatched through an IPC-enabled version of the property tree (see [[Remote Properties]]), which would ultimately not only help improve runtime performance (of FlightGear, as well as the AI system) but also provide a possibility to handle AI state synchronization across multiple FlightGear multiplayer clients by feeding in all AI traffic via the FlightGear multiplayer server, so that all connected clients would get to see identical AI traffic, that is properly synchronized.
Decouple the AI traffic system from FlightGear so that it may eventually become a standalone component to be run in a separate thread or process where all communications with the fgfs core process would be handled and dispatched through an IPC-enabled version of the property tree (see [[Remote Properties]]), which would ultimately not only help improve runtime performance (of FlightGear, as well as the AI system) but also provide a possibility to handle AI state synchronization across multiple FlightGear multiplayer clients by feeding in all AI traffic via the FlightGear multiplayer server, so that all connected clients would get to see identical AI traffic, that is properly synchronized.
{{FGCquote
  |I've been thinking about this idea for some time now; separate out the "intelligent part of the AI code" into a separate program, and run this as a dedicated standalone program that feeds aircraft positions into flightgear. This would solve many initialization problems, because the server could run completely independently of FlightGear itself.
If somebody would care to assist in working out the details of the networking code, I'd be happy to investigate the possibilities of setting up a dedicated AI traffic server.  |{{cite web |url=http://sourceforge.net/p/flightgear/mailman/message/15645677/
    |title=<nowiki>Re: [Flightgear-devel] Programmatic control of AI traffic</nowiki>
    |author=<nowiki>Durk Talsma</nowiki>
    |date=<nowiki>2007-11-06</nowiki>
  }}
}}


= Partitioning Rationale =
= Partitioning Rationale =

Navigation menu