theomessin / jetbridge Goto Github PK
View Code? Open in Web Editor NEW๐ Microsoft Flight Simulator module to allow out-of-process SimConnect clients to access MSFS inner workings as if they were in-process.
License: Other
๐ Microsoft Flight Simulator module to allow out-of-process SimConnect clients to access MSFS inner workings as if they were in-process.
License: Other
It would be good to know what the bandwidth of the SimConnect ClientData communication channel is. This would help answer some questions, such as whether it is viable to use a single uplink/downlink channel pair or whether we need separate channels per client. It will also help answer the question of whether splitting Protocol Data Units into multiple packets to allow for larger data transfers is possible.
Testing this should be pretty straightforward. We need a client to spam the Jetbridge Module with requests and for it to count the actual responses received per unit time. We then need to check what happens if multiple (I'd say at least 5) different clients spam the module with requests at the same time.
Excuse me,
Example project works normally when setting L:Var values, but how do I get current value L:Var ?
Thanks.
Can use https://docs.flightsimulator.com/html/Programming_Tools/WASM/Gauge_API/register_key_event_handler.htm as well as ClientEvents
Currently a consumer needing to get the value of a simvar at regular intervals needs to create a separate request for each refresh of each individual variable. It would be nice if a consumer was able to create their own ClientDataArea
and instruct jetbridge to subscribe to certain simvars and to update their value at e.g. every frame.
Similar to #6, however this would would be a bit more unofficial as Python isn't officially supported by SimConnect.
This is the Python SimConnect package I've been using: https://pypi.org/project/SimConnect/
The 128 byte packet size isn't enough to handle some event scripts for the WT CJ4, possibly others. For instance, pressing the BARO knob runs the script:
(L:XMLVAR_Baro1_ForcedToSTD) ! (>L:XMLVAR_Baro1_ForcedToSTD)
(L:XMLVAR_Baro1_ForcedToSTD) if{
(A:KOHLSMAN SETTING MB:1, mbars) 16 * (>L:XMLVAR_Baro1_SavedPressure)
1 (>K:BAROMETRIC_STD_PRESSURE)
} els{
1 (L:XMLVAR_Baro1_SavedPressure) (>K:2:KOHLSMAN_SET)
}
The quickest solution would be to just increase kPacketDataSize to 256 or 512. (This example was actually 257 characters)
There's a couple of people that have expressed interest in using Jetbridge in C#. I believe that a Client
equivalent would have to be implemented in C#.
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.