mobiflight / mobiflight-wasm-module Goto Github PK
View Code? Open in Web Editor NEWThe WASM module is the interface between MobiFlight and MSFS2020
License: MIT License
The WASM module is the interface between MobiFlight and MSFS2020
License: MIT License
How do I install this? I don't need the whole MobilFlight Connector application, I just need this standalone WASM module.
Hi,
I get multiple comiling errors for files like:
intrin.h
stdarg.h
I have previously seen this error in other projects when there is a code error.
Thanks in advance
/Stephen
The workaround is to defer Custom Client open timing.
I do believe there is potential race condition
Several applications now use the Mobiflight-WASM to access L-Vars and A-Vars. If they would run at the same time, it would lead to issues, since the LVar access is not made for a mulit client scenario.
Multi client access for LVars via the mobiflight wasm module is needed.
The README indicates that we can use the module to set a variable using the following syntax:
MF.SimVars.Set(5 (>L:MyVar))
It claims that the calculator code "5 (>L:MyVar)" will be executed.
However, reading the code and testing this out, it appears that the correct syntax is actually:
MF.SimVars.Set.5 (>L:MyVar)
This will execute everything after "Set." using execute_calculator_code.
Thanks for open-sourcing this module. When I get a chance I'll open a PR!
Great Thanks to MobiFlight, I found I have no reason to develop a new module, except to reuse mobiflight. it is a great gift of open source community.
After I deeply developed a client based on your module, I found a serious performance issue.
micro stuttering is seen regularly every xxx ms. a sudden frame drop regularly be seen in below screenshot
From a user experience, it is not acceptable.
By removing Community\mobiflight-event-module, micro stuttering is gone.
Background: I am developing a SimConnect client calling MobiFlight module.
With 1.0.0 the WASM module only works on the first run. When stopping, and using Run mode again, no values will be sent until they change.
On discord we had multiple users complaining that MF Connector was not able to connect to the WASM module. Reinstall of the WASM module would fix the issue.
There was one user who provided a file to test with where a 0x0000005 SimConnect exception is raised.
See https://discord.com/channels/608690978081210392/1204007981633642506/1204145350336843828
WASM only supports SimVars float. But what if "(A:TITLE,String)"?
The switches used to startup the Kodiak 100 are working from my stream deck except the ignition switch KODIAK_100_IGNITION_SWITCH_TOGGLE.
I configured all the switches with MOBIFLIGHT_ in front. So in this case: MOBIFLIGHT_KODIAK_100_IGNITION_SWITCH_TOGGLE.
But the event command is not working.
Can someone advice me what to do to get this one working?
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.