FGAIS: Difference between revisions

Jump to navigation Jump to search
1,303 bytes removed ,  28 October 2012
Line 29: Line 29:
* http://www.marinetraffic.com/ais/
* http://www.marinetraffic.com/ais/


== Status ==
== Status (10/2012) ==
Some proof of concept source code is available here: http://clemaez.fr/flightgear/fgais_src.tar.gz
As of 28/10/2012, the modified fgms version is already able to:
 
* download JSON feeds from planefinder.net in a background thread
For the moment I have no idea what to do more... there is a lot of bug (it's normal... it's in development) but I think that my tool is not started as he should. I have a lot of questions without answer like :
* parse the downloaded information
* My tool is here to generate AI traffic but since he send packet in MP every aircraft are considered like MP traffic not like AI traffic. I prefer to see these aircraft as AI traffic (it means to include it into flightgear source)
* populate internal data structures
* My tool send position of worldwide aircraft to every client but the client situated at Paris is not interested by the aircraft situated at New York. (it means to receive position of client and send only aircraft position within 100nm for example)
* filter all traffic based on a range of 100nm
* My tool is not able to update position of aircraft. Each 6 seconds every aircrafts are deleted then re-sent like new aircraft. I can't compare previous position with current position for example. it's a big problem because acceleration/velocity calculation is impossible.
* determine if the traffic is accelerating/delecerating
* My tool should send aircraft position of the previous position in order to keep a position in advance for interpolation calculation. Currently my tool parse aircraft position then send them over MP. But he should parse aircraft position, then parse a second time aircraft position in order to know if the aircraft is moving (heading change, climbing, descending) then send the acceleration/velocity. In this way the client receive the real time - 1 position.
 
A fgms fork is maybe the good solution but I'm not sure to have enough skills for that...


== Planned Features ==
== Planned Features ==

Navigation menu