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

Re: [sensors] Investigate possibility of synchronizing coordinate systems

From: Anssi Kostiainen via GitHub <sysbot+gh@w3.org>
Date: Tue, 22 Aug 2017 12:00:18 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-324004834-1503403211-sysbot+gh@w3.org>
@larsgk has provided related [feedback in the past] in the context of the [Screen Orientation API]. Looping him in to gather further feedback, since it's been a while.

@larsgk, for the context, we're discussing whether there should be affordances in the low-level sensor APIs^ [Accelerometer], [Gyroscope] [Magnetometer], [Orientation Sensor] to sync the [local coordinate system] used by these sensors with the [current orientation type] of the screen, defined by the Screen Orientation API.

Currently, the local coordinate system used by these low-level sensors is said to be "relative to the device’s screen when the device in its default orientation", aka the [natural] orientation in the Screen Orientation API.

[feedback in the past]: https://lists.w3.org/Archives/Public/public-webapps/2013AprJun/0056.html
[Screen Orientation API]: https://w3c.github.io/screen-orientation/
[local coordinate system]: https://w3c.github.io/accelerometer/#local-coordinate-system
[current orientation type]: https://w3c.github.io/screen-orientation/#dfn-current-orientation-type
[Device Orientation]: https://w3c.github.io/deviceorientation/spec-source-orientation.html
[Accelerometer]: https://w3c.github.io/accelerometer/
[Gyroscope]: https://w3c.github.io/gyroscope/
[Magnetometer]: https://w3c.github.io/magnetometer/
[Orientation Sensor]: https://w3c.github.io/orientation-sensor/
[natural]: https://w3c.github.io/screen-orientation/#dom-orientationlocktype-natural

^ This is a new set of sensor APIs that decompose the [Device Orientation] into low-level  primitives.

GitHub Notification of comment by anssiko
Please view or discuss this issue at https://github.com/w3c/sensors/issues/257#issuecomment-324004834 using your GitHub account
Received on Tuesday, 22 August 2017 12:00:21 UTC

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