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

Android gyro shaking #11

Open
yarvit0 opened this issue Mar 4, 2014 · 2 comments
Open

Android gyro shaking #11

yarvit0 opened this issue Mar 4, 2014 · 2 comments

Comments

@yarvit0
Copy link

yarvit0 commented Mar 4, 2014

Hello i have implemented in a html android app leanorama and the tour works fine, but when i activate de gyro the tour image is shaking continuosly, its seems like its getting always gyroscope events, i have try changing the delay, its improves tbut still the "shake effect". I have tested ina samsung galaxy 3 and a galaxy nexus.

Any ideas ?

Thanks in advice.

@ztorage
Copy link
Contributor

ztorage commented Mar 5, 2014

There's a hack you can try. I don't promise anything. Add the following
at line 562 to jquery.leanorama.js:

alphas[this.gyrostab] = undefined;
gammas[this.gyrostab] = undefined;

Then, initialize leanorama with the parameter "gyrostab" set to 5, or
change the value to 5 in jquery.leanorama.js on line 57.

Let me know how it goes.

@yarvit0
Copy link
Author

yarvit0 commented Mar 5, 2014

the changes have improve the performance, but still a little shake. I will try to change this variables and make it work more smoothy.

Thank you!

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