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.
https://msdn.microsoft.com/en-us/library/windows/apps/mt759596.aspx

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 
https://github.com/w3c/accelerometer/issues/3#issuecomment-244342475 
using your GitHub account
Received on Friday, 2 September 2016 10:39:35 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:34:21 UTC