MobiFlight Community Support

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! 

icon
Avatar
SeanG
Posts: 10
I have a simple panel setup, with a 7 Seg display showing Autopilot Heading, and encoders for Heading and Course.

They all work perfectly, except... if you rotate the course (same issue with both course and heading) more than 3 complete revolutions, it stops and wont move any further in that direction, but will move back in the opposite direction fine. It is almost as if you can only turn 1000 or so degrees in one direction.
I have monitored what mobiflight is sending to FSUIPC and it stops sending heading/course offset updates once it gets to this point.

Any ideas?

SeanG
2017-01-10 01:03
Avatar
DocMoebiuz
Moderator
From: NW of KPWK, United States
Posts: 1470
Hi Sean

I have solved it using EventIDs instead:
HEADING_BUG_INC (65879) and HEADING_BUG_DEC (65880)

Works very good!
Have a great day!
Sebastian

MobiFlight - Simply build your own home cockpit for your favorite flight sim - MSFS2020, FSX, Prepar3D (FSUIPC), X-Plane (XPUIPC)
2017-01-11 04:36
Avatar
SeanG
Posts: 10
iconDocMoebiuz:

Hi Sean

I have solved it using EventIDs instead:
HEADING_BUG_INC (65879) and HEADING_BUG_DEC (65880)

Works very good!



Just tried it and I still see the same fault, do enough 360's and it stops working. If I turn to the right till it stops, I can still turn back to the left, but when turning right it goes to around the same point and stops again. Tried now by both course and heading, using eventID's and FSUIPC offsets, with the same result.

SeanG
2017-01-16 23:48
Avatar
DocMoebiuz
Moderator
From: NW of KPWK, United States
Posts: 1470
Hey! You actually pointed me into the correct direction! I have fixed it for the next release.
Have a great day!
Sebastian

MobiFlight - Simply build your own home cockpit for your favorite flight sim - MSFS2020, FSX, Prepar3D (FSUIPC), X-Plane (XPUIPC)
2017-01-20 07:06
Avatar
SeanG
Posts: 10
iconDocMoebiuz:

Hey! You actually pointed me into the correct direction! I have fixed it for the next release.



Fantastic! Thanks :)

SeanG
2017-01-29 23:34
Avatar
SeanG
Posts: 10
Just been testing, and it appears to work! But it also looks like stepping 2 degrees at a time with the new version? This is both on Heading and course.

SeanG
2017-01-30 00:07
Avatar
pizman82
From: ETSI, Germany
Posts: 3732
Supporter
Hi.
Maby you got same issue like me and a other user.....

If you update mobiflight to current version and update firmware on Board, our Buttons and encoders do "double" Commands.

Close Mobiflight, and put youre Board out of USB Port and set it again after some seconds. This will reset the Arduino. After restarting Mobiflight the problem was solved.

Hope this helps!

Pls report if problem is solved or if double sending of encoder still exist.

Thank You !
Good Luck !
2017-01-30 01:03
Avatar
SeanG
Posts: 10
Yessir! That solved it :)

I now have perfect HDG and CRS encoders \o/

SeanG
2017-01-30 02:35
icon