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

How can i add an offset and magnetic declination to OverlayView drawing? #2

Open
kabilzamandar opened this issue May 28, 2017 · 9 comments

Comments

@kabilzamandar
Copy link

It's easy to add an offset or magnetic declination value to mDerivedDeviceOrientation but compass uses rotationMatrix to draw current angle position, i don't know much about matrix rotation, how can i set offset to rotationMatrix or is there anywhere i can add offet before drawing perspective or orthgraphic projection?

@ratana
Copy link
Owner

ratana commented Jun 4, 2017 via email

@kabilzamandar
Copy link
Author

kabilzamandar commented Jun 4, 2017 via email

@kabilzamandar
Copy link
Author

I would like ask another question also. There is a difference between azimuth device laying flat or sceen point at me(standing AR). I haven't been able to solve this issue too. Not only all codes i tried has this issue, every compass app on Play Store has the same problem. I've seen up to 10 degrees difference on different position of the device. This is also Issue#1

@ratana
Copy link
Owner

ratana commented Jun 4, 2017 via email

@kabilzamandar
Copy link
Author

kabilzamandar commented Jun 4, 2017 via email

@kabilzamandar
Copy link
Author

kabilzamandar commented Jun 6, 2017 via email

@kabilzamandar
Copy link
Author

kabilzamandar commented Jun 6, 2017 via email

@ratana
Copy link
Owner

ratana commented Jun 10, 2017 via email

@kabilzamandar
Copy link
Author

kabilzamandar commented Jun 10, 2017 via email

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

2 participants