W3C home > Mailing lists > Public > public-device-apis-log@w3.org > January 2017

Re: [sensors] Javascript 120Hz devicemotion events for high end inertial applications

From: Tobie Langel via GitHub <sysbot+gh@w3.org>
Date: Thu, 26 Jan 2017 00:39:39 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-275277730-1485391177-sysbot+gh@w3.org>

I have a couple of options for this, please LMK which are acceptable.

1. polling at 120 Hz, getting roughly two data points together when 
`requestAnimationFrame` is called? animation frame?
1. polling at 120 Hz, getting only the latest data point when 
`requestAnimationFrame` is called (this is good for latency, not so 
much if you want to run filters)?
1. polling at 120Hz, receiving updates at 120Hz.

GitHub Notification of comment by tobie
Please view or discuss this issue at 
https://github.com/w3c/sensors/issues/98#issuecomment-275277730 using 
your GitHub account
Received on Thursday, 26 January 2017 00:39:45 UTC

This archive was generated by hypermail 2.4.0 : Monday, 4 July 2022 12:47:53 UTC