Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NAV: Mag declination fixes #4713

Merged
merged 3 commits into from
May 19, 2019
Merged

NAV: Mag declination fixes #4713

merged 3 commits into from
May 19, 2019

Conversation

fiam
Copy link
Member

@fiam fiam commented May 16, 2019

  • Add script for automatically generating declination data
  • Remove NAV_AUTO_MAG_DECLINATION, always compile with support for automatic declination
  • Require a GPS fix before setting the automatic mag declination

fiam and others added 2 commits May 16, 2019 20:00
In order to save flash on F3, there are 2 variants of the tables.
F4 and up use floats up to +-90 latitude, while F3 uses int8_t
up to +-60 latitude.
@fiam fiam added this to the 2.2 milestone May 16, 2019
@DzikuVx
Copy link
Member

DzikuVx commented May 18, 2019

@fiam @giacomo892 tested today. Works and "going sideways" looks better than before

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.

4 participants