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: lukes3315 via GitHub <sysbot+gh@w3.org>
Date: Thu, 26 Jan 2017 18:38:29 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-275472643-1485455907-sysbot+gh@w3.org>
Hi Tobie,

We think there should be two acquisition methods supported:
1/ Polling sensor samples where you request 1 to N samples
which are then received at each polling loop
2/ Passing a callback function to receive 1 to N samples (preventing 
for each individual sample).

Having the option to batch N samples would allow for a tradeoff 
between low latency
and greater efficiency depending on the application.

GitHub Notification of comment by lukes3315
Please view or discuss this issue at 
https://github.com/w3c/sensors/issues/98#issuecomment-275472643 using 
your GitHub account
Received on Thursday, 26 January 2017 18:38:35 UTC

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