Did anybody think about feeding real-life and real-time traffic into FlightGear ?
Pawel.
jalocha wrote in Fri Mar 23, 2012 8:46 pm:Did anybody think about feeding real-life and real-time traffic into FlightGear ?
durk wrote:Subject: GA and commercial AI TrafficMD-Terp wrote:If I recall correctly from browsing the developers' mailing list, there is sort of a "holistic approach" being considered and possibly even developed, and I believe it involves coordinating all types of AI traffic across the multiplayer network (or perhaps a parallel to it), but that's probably a 3.0 feature.
That's more or less correct. I'm currently (spare-time-depending) working on integrating the two systems. I'm beginning to realize that, in order to make the commercial traffic interact with ATC, I have to remove the old "local traffic" AI and ATC modules altogether and re-implement these within a single framework.
durk wrote:Is it possible to design/redesign the AI stuff so that it propogates
across multiple computers or cores via some IPC process -- most likely
sockets.
As far as I can tell, the infrastructure is almost in place to do so.
Considering that the multiplayer system is based on the AIModels system, it
should be possible (with a few code modifications).
So, the way you could set this up would be to run a multiplayer server locally,
and configure all your FlightGear computers with multiplayer enabled and the
traffic manager disabled. Make sure that all these machines are setup to
communicate with the local multiplayer server.
Next (and this step still requires a code modification of the AIModels C++
code), enable AIModels and the traffic manager to run on one master machine
(most likely the same computer that also runs the FDM, and handles user input.
The only thing that not in place yet is that the regular AIAircraft are exposed
to the multiplayer system. I haven't gotten around to do this yet, but my guess
is that this should be fairly easy to achieve, since (as mentioned above) both
the Multiplayer system is based on the AIModels infrastructure.
I would be very happy to dive into this at a later stage (after getting the
basics for the AI/ATC system going). If you would like to play with this, I'd
be happy to assist though.
Cheers,
Durk
Previously Durk mentioned in a post (18 months ago maybe) his thoughts of
running the AI as a separate process, from this I had a tinker with the
multiplayer code. In my case the master machine does not generate the window
views. I found by adding a routine to echo the data received from the MP
server to the slaves, It worked fine, one data stream to the MP server, only
one instance on the MP server from me, and MP aircraft all appeared on the
slaves.
jalocha wrote in Fri Mar 23, 2012 9:40 pm: I receive this data locally at my place and I could feed them into whatever server if only someone tells me what protocol to use.
Multiple output formats are supported:
* Raw (or minimally processed) output of packet data
* Parsed text
* SQLite database
* KML for use with Google Earth
* SBS-1-compatible output for use with e.g. PlanePlotter or Virtual
Radar Server
* FlightGear multiplayer interface for real-time display of traffic
within the simulator
Azendale wrote in Sun Feb 08, 2015 10:52 pm:...the Software Defined Radios that can pick up this signal are not that expensive (but finding 1090mhz antennas for this in the US might be another story).
Hooray wrote in Tue Feb 10, 2015 1:38 pm:You should be all set, see:
https://github.com/bistromath/gr-air-mo ... -air-modesMultiple output formats are supported:
* Raw (or minimally processed) output of packet data
* Parsed text
* SQLite database
* KML for use with Google Earth
* SBS-1-compatible output for use with e.g. PlanePlotter or Virtual
Radar Server
* FlightGear multiplayer interface for real-time display of traffic
within the simulator
All you need is a supported hardware device and things should just work - you could even host your own fgms server that people could connect to in order to see the injected traffic (analogous to fgais): https://github.com/bistromath/gr-air-mo ... ghtgear.py
Users browsing this forum: No registered users and 1 guest