FGAIS: Difference between revisions

Jump to navigation Jump to search
612 bytes added ,  3 November 2012
Line 153: Line 153:


=== Milestone: Use dedicated planefinder.net json api===
=== Milestone: Use dedicated planefinder.net json api===
As you can see the Json format has changed. We need to redone the parser... But this new Json format is more standard ("key":"value") thus maybe we can use a Json reader library ?
Before I wasn't use a Json library because their public feed use a special Json format who required a specified parser, but now we can use a standard library.
The good new with this new API is that it provide the climbrate. We no longer need to calculate it thus no longer need to store m_PrevAircraftList.
Also we need to change the download() in order to make a POST request with Curl... (I've no idea how it's doable for now)


I suggest to continue to use the public API for now in order to help us to continue to experiment movement/velocity...
I suggest to continue to use the public API for now in order to help us to continue to experiment movement/velocity...

Navigation menu