Comments (6)
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.
Awesome thank you, looking forward to testing it out and simplifying the connection management.
from fsconnect.
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.
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.
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.
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:
- 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).
- But I read on an fsuipc7 discussion thread that they managed to detect the ESC menu, any chance you happen to know how?
- 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)
- Client event support HOT 7
- Unable to set heading bug HOT 2
- TransmitclientEvent only with 16 bit uint. HOT 8
- Question - Subscription to Variable possible with FS-Connect?
- Not returning Transponder codes using reflection... HOT 1
- May not have permission to write SimConnect.cfg HOT 2
- SimConnect.cfg in My Documents - conflict with other mods HOT 2
- Missing enums for some simulation variables
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fsconnect.