-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously deviation was not handled at all. Now if there is deviation it is applied to create nav.headingMagnetic and in addition nav.headingCompass is output. This PR also adds deviation to the output. If there is no deviation value the output is as previously: the sensor value in the first field is output as is as nav.headingMagnetic and no nav.headingCompass. This is a bit backwards, as what is being output is nav.headingCompass, but I think changing that would warrant a major version change for being so incompatible with the current behavior.
- Loading branch information
Showing
2 changed files
with
57 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters