Welcome to the forum for MobiFlight! Feel free to reach out to the community in case you have questions, issues or just want to share great ideas or details about your latest home cockpit project.
You like MobiFlight? Donate via PayPal and support the MobiFlight development. Thanks!
The community support for MobiFlight has moved exclusively over to our Discord server. Register for free and enjoy more interactive functions like image and video upload, voice chat. More than 7,000 registered users around the world make it a great experience!
See you on our MobiFlight Community Discord server.
A HUGE Thank You to everyone who participated in the forum, especially obviously to Pizman and Stephan who did an outstanding job over so many years providing an incredible service to the MobiFlight community.
The forum is still providing a lot of good content, hence we keep this information accessible.

Autopilot heading value, as degrees * 65536/360

Hi Paul,
Autopilot heading value, as degrees * 65536/360
Now if you change the calculation rules of Pete Dawson, then the value is right.
1/65536 * 365 = 0.0054931640625
1/182 of course gives the same.
The correct transform is divide by 182, as each degree in the FSUIPC offset is 182.
Autopilot heading value, as degrees * 65536/360

Look at the FSUIPC value in MobiFlight for Headings of 1, 2, 3, 10, 100, 359 degrees, it is 182, 364, 546, 1820, 18204, 65354
Division of (FSUIPC value) / 182 gives a very accurate result because of integer arithmetic 100% accurate compared to the FSX 737 MCP.
But conversion of the real number (value * 0.0054 etc) to an integer will give errors, up to one degree from FSX.
