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

Re: [sensors] Use ''sampling frequency" instead of "polling frequency"

From: Tobie Langel via GitHub <sysbot+gh@w3.org>
Date: Fri, 26 May 2017 10:45:49 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-304251197-1495795548-sysbot+gh@w3.org>
> {frequency : 60 Hz /*reporting frequency*/, latency : SENSOR_DELAY_FASTEST /* sampling frequency is maximum available on the platform*/ } would be good IMO, Android does the same

@rwaldron ^

My feeling is that is absolutely not what developers would expect these things would do. And you'll end-up with folks cranking up frequency as high as they (thinking it's the polling frequency) and the complain that the API is shit.

> Android does the same

Does it really? I thought these referred to the polling period (1/f).

GitHub Notification of comment by tobie
Please view or discuss this issue at https://github.com/w3c/sensors/issues/209#issuecomment-304251197 using your GitHub account
Received on Friday, 26 May 2017 10:45:56 UTC

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