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

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

From: Alexander Shalamov via GitHub <sysbot+gh@w3.org>
Date: Fri, 26 May 2017 08:56:43 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-304229558-1495789001-sysbot+gh@w3.org>
> There might be no way to set '240Hz' sampling frequency, as in your example.
 normal mode of operation
>> Absolutely, but specifying a reporting frequency for a sensor that's operating in low-power mode is sort of absurd.

I was talking about, normal mode of operation, not low-power one.

> On the other hand, not being able to set the sampling frequency for a gyroscope is going to prevent a whole bunch of use cases from working properly.

Some sensors only provide way to set output data rate, even when it samples at 8kHz, like 6DoF sensors.

Maybe we can keep simpler concept at this time? {frequency: Hz} would be the rate at which data is delivered = ODR in HW sensor terms. We can spec it as 'reporting' frequency.

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

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 12:18:53 UTC