Issue with Interfacing MCP Heading and Altitude in MSFS 2020 via SIOC & FSUIPC
-
Hi everyone,
I'm working on interfacing my MCP with MSFS 2020 using SIOC .lua and FSUIPC7, but I encountered issues when setting the autopilot heading and altitude. Initially, my setup was not reflecting the selected heading in the simulator, and increments were inconsistent when rotating the encoder quickly.
Problems Encountered:
Heading (AP Selected Heading) Not Updating Properly- The initial offset 0x07CC was showing the aircraft’s actual heading, not the selected one.
- Writing directly to 0x07C4 (AP selected heading) wasn’t working as expected.
Heading Increments Were Inconsistent
- When turning the encoder slowly, values updated correctly, but fast rotations caused errors or desynchronization.
- Decreasing the heading didn’t work properly.
Altitude Setting Issues
- Similar to the heading issue, setting the altitude through 0x07D4 didn’t work correctly at first.
Any ideas,
KR
Emmanuel -
Hi,
No answer. Let me simplify
Is there a way to write to these two variables?
JF_RJ_AP_HDG, JF_RJ_AP_AltGood Day,
Emmanuel