W3C home > Mailing lists > Public > public-device-apis-log@w3.org > September 2016

Re: [accelerometer] includeGravity parameter turns low-level sensor into high-level fused one.

From: Alexander Shalamov via GitHub <sysbot+gh@w3.org>
Date: Fri, 02 Sep 2016 10:39:22 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-244342475-1472812761-sysbot+gh@w3.org>
Windows provides generic interface for Accelerometer, developers can 
choose what type of acceleration readings they need. There is no way 
to find out whether data is fused or raw.

On Android, due to design of the Sensor Framework, developers can 
select acceleration / linear acceleration through type of the sensor. 
Linear acceleration readings can be fused in SW or can be provided by 
HW, thus, there is no way to find whether data is raw.

I would prefer to keep interface as is, since it resembles other 
platform APIs.
Moreover, linear acceleration readings can be provided by HW.

GitHub Notification of comment by alexshalamov
Please view or discuss this issue at 
using your GitHub account
Received on Friday, 2 September 2016 10:39:35 UTC

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