Giter VIP home page Giter VIP logo

infiniteflight-api's People

Contributors

0x6e69636f avatar carmichaelalonso avatar giacomolaw avatar prollin avatar tomthetank46 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

infiniteflight-api's Issues

Taxi lights?

In the lights section, it says TaxiLights. But IF doesn't have taxi lights? ๐Ÿ˜•

New API Docs for Engines and Autopilot

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

Some quite similar requests fail but it's not clear why

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 :

  • None of the examples provide the length of the data string.
  • From the 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                                      :[]}

Command to reset / re-center camera

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": []}

GetFlightPlan command

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.