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

Sensor requested sampling Frequency and actual frequency differ at 100Hz #367

Open
janschmutz opened this issue Jul 2, 2018 · 1 comment

Comments

@janschmutz
Copy link

Hi, I'm currently trying to access the Accelerometer and Gyroscope Sensors at 100Hz as it is necessary for a project that uses high inertial sensors for navigation. I only manage to get up to about 60Hz which is not sufficient for my use case and the message. ('Maximum allowed frequency value for this sensor type is 60 Hz.')
The actual Sensor is capable of a lot more Hz, so I assume this is a privacy consideration. Is there a way to hike up the frequency by forcing manual permissions or something like that?

@reillyeon
Copy link
Member

(For context, this message is specific to Chromium. Other implementations may enforce their own limits on sensor frequency.)

It is possible that through use of the Permissions API an implementation could allow a page to request a higher sampling frequency. This is not currently implemented however work continues in the Chromium project to implement permissions UX that could be used for this purpose.

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