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

negative values heading #91

Open
simkosal opened this issue Oct 20, 2022 · 3 comments
Open

negative values heading #91

simkosal opened this issue Oct 20, 2022 · 3 comments

Comments

@simkosal
Copy link

simkosal commented Oct 20, 2022

The heading is not accuracy

https://i.imgur.com/1vAbrw5.jpg

@fvisticot
Copy link

Same issue with negative value. Any update / advice ?

@DmitriySimonov
Copy link

Same issue

@abdulwahabone
Copy link

I used this hacky solution to fix the heading. Its a temporary hack.

  double sanitizeHeading(double? hd) {
    if (hd == null) return 0;
    if (hd < 0) return 360 + hd;
    if (hd > 0) return hd;
    return hd;
  }

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

No branches or pull requests

4 participants