Skip to content

Conversation

@sakisdog
Copy link

Added compassflip and compassoffset properties. Very usefull when used with a GPS+compass module. Most of the time this modules have the compass point at 90 degrees offset in comparison with the GPS front.
Also fixed the calculation of compass declination when used with negative degrees.

Fixed declination calculations when using negative degrees
Copy link

@symplerllc symplerllc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Sakisdog - the changes you made solved my problems: (1) reverse directions (needed flip) and after multiple successful calibrations (tested, plotted, and confirmed), I still had a 90-degree offset. The changes are working as intended. If I had write access we could get this pr done. These changes really do need to be in the codebase.

@sakisdog
Copy link
Author

sakisdog commented Apr 5, 2025

Thank you! I am glad i could help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants