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

absolute value #7

Open
micuat opened this issue Dec 24, 2017 · 0 comments
Open

absolute value #7

micuat opened this issue Dec 24, 2017 · 0 comments

Comments

@micuat
Copy link

micuat commented Dec 24, 2017

Hi, I found the gyro reading in iOS is velocity and not absolute value (I haven't tested on Android so I don't know if it's the same). I did a quick hack to read absolute orientation instead of velocity:
https://gist.github.com/micuat/8382a28f6cc32a4fb2862544c56fb784#file-cdvgyroscope-m-L53

I guess ideally the API can switch between velocity and absolute orientation. Is this something I should make a PR? Otherwise I will create my own plugin...

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

1 participant