Skip to content
This repository was archived by the owner on May 11, 2022. It is now read-only.

Bug fix#7

Open
nicaurvi wants to merge 2 commits into
googleglass:masterfrom
nicaurvi:master
Open

Bug fix#7
nicaurvi wants to merge 2 commits into
googleglass:masterfrom
nicaurvi:master

Conversation

@nicaurvi

@nicaurvi nicaurvi commented Jul 1, 2014

Copy link
Copy Markdown

Fixed a bug where mHeading's range was (-6, 354) instead of (0, 360)

nicaurvi added 2 commits July 1, 2014 10:26
Fixed a bug where mHeading's range was (-6, 354) instead of (0, 360)
Accidentally removed magneticHeading declaration and initialization
@nicaurvi

nicaurvi commented Apr 2, 2015

Copy link
Copy Markdown
Author

Anyone?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Using this should do the trick instead of the test block below:
mHeading = MathUtils.mod(computeTrueNorht(magneticHeading) - ARM_DISPLACEMENT_DEGREES, 360.0f);

Also, please make sure to follow Android's coding style standard:
https://source.android.com/source/code-style.html

Specifically, use spaces instead of tabs and keep the lines below 100 characters.

@allevato allevato removed their assignment May 22, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants