You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I noticed an issue with the Winwing FCU (and EFIS) knobs, but it might affect other devices too that send lots of repeated commands.
When the Winwing FCU's knobs are turned quickly (see additional context), some commands don't get executed by the WASM module.
Steps To Reproduce
Steps to reproduce the behavior:
Configure the heading knob to execute the following: 1 (A:AUTOPILOT HEADING LOCK DIR:1, degrees) 1 - dnor (>K:2:HEADING_BUG_SET)
Start a flight with the 172, turn on avionics
Turn the knob quickly
Expected behavior
The heading changes by the amount of commands sent (see this code)
Actual behavior MF.SimVars.Set is sent to the WASM module the correct times, but it does not change the heading correctly. The slower the sim runs, the less the heading will change.
Details
MobiFlight Version: 10.4.0.1 and lastest main (fa27040)
FlightSim: MSFS 2024
AddOn: Tested with default G1000 or G3000 aircraft, possibly others
Additional context
Mobiflight exposes the knobs as buttons, and it simulates a button press for each increment:
This can result in dozens of events sent to the sim at the same time. I debugged this issue and it seems that Mobiflight Connector sends the commands to the WASM module correctly, so the issue is either with simconnect not liking this many events, or the WASM module not handling them.
The text was updated successfully, but these errors were encountered:
Describe the bug
I noticed an issue with the Winwing FCU (and EFIS) knobs, but it might affect other devices too that send lots of repeated commands.
When the Winwing FCU's knobs are turned quickly (see additional context), some commands don't get executed by the WASM module.
Steps To Reproduce
Steps to reproduce the behavior:
1 (A:AUTOPILOT HEADING LOCK DIR:1, degrees) 1 - dnor (>K:2:HEADING_BUG_SET)
Expected behavior
The heading changes by the amount of commands sent (see this code)
Actual behavior
MF.SimVars.Set
is sent to the WASM module the correct times, but it does not change the heading correctly. The slower the sim runs, the less the heading will change.Details
Additional context
Mobiflight exposes the knobs as buttons, and it simulates a button press for each increment:
MobiFlight-Connector/MobiFlight/Joysticks/WinwingFcu/WinwingFcu.cs
Lines 156 to 160 in fa27040
This can result in dozens of events sent to the sim at the same time. I debugged this issue and it seems that Mobiflight Connector sends the commands to the WASM module correctly, so the issue is either with simconnect not liking this many events, or the WASM module not handling them.
The text was updated successfully, but these errors were encountered: