Code Monkey home page Code Monkey logo

Comments (6)

TimianHeber avatar TimianHeber commented on May 26, 2024

There may be a limitation in FsConnect, that I have fixed in a separate branch. I'll release this this evening, hopefully this will resolve your issue, as it should definitely work.
Here I have added external managers as an example of what you describe, where one manager polls aircraft data and the other polls SimObject data using separate requests.

from fsconnect.

sushiat avatar sushiat commented on May 26, 2024

Awesome thank you, looking forward to testing it out and simplifying the connection management.

from fsconnect.

TimianHeber avatar TimianHeber commented on May 26, 2024

I've done the release now and hopefully your issue have been resolved. Please let me know if you still have any issues or requests and good luck!

from fsconnect.

sushiat avatar sushiat commented on May 26, 2024

Thank you again, just updated to the new version and requesting different struct types is now working perfectly with a single connection. Still have to develop further before I can test setting some values back into the sim. The only thing that I'm not sure your library can do yet that I still need to get working is setting the time in sim. From what I read so far that can only be done by sending in an event, the simvars are read only. If I get the rest implemented and you don't have time I will check if I can get that working and send you a pull request if I do.

from fsconnect.

TimianHeber avatar TimianHeber commented on May 26, 2024

Great! Regarding setting the time, pull requests are great, but even if you only figure out the preferred way to do it and drop me a line, I can do the rest.

from fsconnect.

sushiat avatar sushiat commented on May 26, 2024

I was just going to copy+paste the event id's I found for set zulu time, when I noticed your dev branch on which it looks like you already have it implemented. Nice job. I'm still one or two steps away from implementing this, currently trying to figure out a way to detect pausing in the sim and before I open an issue I thought I just quickly ask:

  1. I know from reading and monitoring the simvars for time etc. that pausing from the sim is a bit of a nightmare when it comes to detecting it from simconnect (especially active pause, from what I read there isn't a really a way to detect it).
  2. But I read on an fsuipc7 discussion thread that they managed to detect the ESC menu, any chance you happen to know how?
  3. I experimented with the Paused property/Pause method and also subscribing to the PauseStateChanged event, and I might implement a "proper" pause from my app (I read though that the time will jump forward once you unpause (not true, utc time isn't jumping in my tests), but at least I can detect it, record it and subtract the time paused from the fligh time), problem is that I can't ensure that no user will just hit ESC and think it's paused anyway

Any and all help would be greatly appreciated and I will make sure we properly give credit to your library once we make our code public.

from fsconnect.

Related Issues (9)

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.