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

Unable to acquire data #1

Open
vanti opened this issue Jun 7, 2020 · 5 comments
Open

Unable to acquire data #1

vanti opened this issue Jun 7, 2020 · 5 comments

Comments

@vanti
Copy link

vanti commented Jun 7, 2020

I followed the instructions to add my mobile phone (Sony Xperia X Compact) as a device, and the phone seemed to be added fine. Then I tried to follow the instructions to collect some data: https://docs.edgeimpulse.com/docs/continuous-motion-recognition

When I hit "Start Sampling", the phone responded and tried to collect 10 seconds of data. But no matter how I moved the phone, I would only collect a bunch of 0's:

image

Any clue as to what may be wrong?

@janjongboom
Copy link
Member

@vanti What browser are you using? I suspect a problem with access to the devicemotion API...

@vanti
Copy link
Author

vanti commented Jun 10, 2020

I am using Google Chrome.

@janjongboom
Copy link
Member

@vanti If you head to https://timvolodine.github.io/deviceorientation-test/ do you see any data flowing through? I don't think there's a way to disable devicemotion API in Chrome on Android, so I'm not sure how to fix this easily...

@vanti
Copy link
Author

vanti commented Jun 13, 2020

I have figured it out. Need to enable sensors under Settings->Site Settings->Motion Sensors in Chrome. Thanks for pointing me on the right track!

@janjongboom
Copy link
Member

@vanti Awesome, I'll add it to the docs!

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