infiniteflight / infiniteflight-api Goto Github PK
View Code? Open in Web Editor NEWInfinite Flight API documentation and samples
Infinite Flight API documentation and samples
Hi @prollin and @mlaban , as mentioned here by @epaga, it would be great to have some docs on Engines API : how to start/stop all or individually, for example (I guess their status is in the Airplane State content)
Also, it would be cool to have some precise docs on how to toggle the NAV and APPR modes with the API (which commands with which params) ; and the Autopilot.GetState command seems to have been deprecated ?
You can add it to the Readme or just answer here and I'll do it
Thanks !
See you soon
I'm currently toying around with the infinite flight connect API and got it working through a node.js application. I'm receiving responses from the app and can set AP, breaks, etc. It's also possible to set a waypoint for the Flight plan, but i'm trying to get the current FP and it's not working.
The IFCTestApp show a command for this (Commands.FlightPlan.GetFlightPlan
, here) but when I try I don't get a response.
I'm on mac so I can't test the IFCTestApp, but i'm doubting if it actually works there. Can anybody confirm?
By fail I mean : IF won't execute the command.
Some very similar requests fail but I can't understand why. It doesn't seem to be an encoding problem nor a question of length, see these examples :
7b
byte, everything is similar.This will fail (called with Java Socket class) :
0000 00 30 7b 22 43 6f 6d 6d 61 6e 64 22 3a 22 43 6f .0{"Command":"Co
0010 6d 6d 61 6e 64 73 2e 46 6c 61 70 73 44 6f 77 6e mmands.FlapsDown
0020 22 2c 22 50 61 72 61 6d 65 74 65 72 73 22 3a 5b ","Parameters":[
0030 5d 7d ]}
This will work (called with Javascript, with encoding through uint8Array etc):
0000 30 00 00 00 7b 22 43 6f 6d 6d 61 6e 64 22 3a 22 0...{"Command":"
0010 43 6f 6d 6d 61 6e 64 73 2e 46 6c 61 70 73 44 6f Commands.FlapsDo
0020 77 6e 22 2c 22 50 61 72 61 6d 65 74 65 72 73 22 wn","Parameters"
0030 3a 5b 5d 7d :[]}
Other Aircraft
These docs may be updated with information about other aircraft. More information can be found on the Infinite Flight Community forum API category.
The link is a 404
Would be great to have a command to reset the camera orientation, like when we double-tap the screen. Something like { "Command": "Commands.ResetCamera", "Parameters": []}
In the lights section, it says TaxiLights
. But IF doesn't have taxi lights? ๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.