Contact emails
alexander...@intel.com, mikhail.p...@intel.com, rijubrat...@intel.com
Specs
Accelerometer Sensor API https://w3c.github.io/accelerometer/
Gyroscope Sensor API https://w3c.github.io/gyroscope/
Magnetometer Sensor API https://w3c.github.io/magnetometer/
Summary
These three sensor APIs are combined together in one request as input from them allows to determine device motion and orientation. Each of them extends Generic Sensor API [1] therefore implementation of Accelerometer, Gyroscope and Magnetometer sensor APIs will use Generic Sensors Framework (GSF) [2].
Motivation
Accelerometer, Gyroscope and Magnetometer sensor APIs provide simple interfaces for web developers, yet allow to fuse sensor data to implement complex functionality such as device motion and orientation.
The GSF implementation is being upstreamed and now partially landed in Chromium.
Adding of a new sensor support to GSF is easy and requires just a small amount of code to be added (basically new JS bindings) since GSF already does most of the work.
Interoperability and Compatibility Risk
Low, since this is the first implementation of the APIs.
Ongoing technical constraints
None.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.
Mac (only accelerometer).
OWP launch tracking bug
Not yet created.
Link to entry on the feature dashboard
Not yet created.
Requesting approval to ship?
No.
[1] https://w3c.github.io/sensors
[2] https://groups.google.com/a/chromium.org/d/msg/blink-dev/TkfdVqYAYiE/4J7Z088MBAAJContact emails
alexander...@intel.com, mikhail.p...@intel.com, rijubrat...@intel.com
Specs
Accelerometer Sensor API https://w3c.github.io/accelerometer/
Gyroscope Sensor API https://w3c.github.io/gyroscope/
Magnetometer Sensor API https://w3c.github.io/magnetometer/
Summary
These three sensor APIs are combined together in one request as input from them allows to determine device motion and orientation. Each of them extends Generic Sensor API [1] therefore implementation of Accelerometer, Gyroscope and Magnetometer sensor APIs will use Generic Sensors Framework (GSF) [2].
Motivation
Accelerometer, Gyroscope and Magnetometer sensor APIs provide simple interfaces for web developers, yet allow to fuse sensor data to implement complex functionality such as device motion and orientation.
The GSF implementation is being upstreamed and now partially landed in Chromium.
Adding of a new sensor support to GSF is easy and requires just a small amount of code to be added (basically new JS bindings) since GSF already does most of the work.
Interoperability and Compatibility Risk
Low, since this is the first implementation of the APIs.
On 02 Sep 2016, at 02:43, Rick Byers <rby...@chromium.org> wrote:
I'm glad to see this progressing! One little note:
On Wed, Aug 31, 2016 at 5:51 AM, Alexander <alexander...@intel.com> wrote:
Contact emails
Specs
Accelerometer Sensor API https://w3c.github.io/accelerometer/Gyroscope Sensor API https://w3c.github.io/gyroscope/Magnetometer Sensor API https://w3c.github.io/magnetometer/
Summary
These three sensor APIs are combined together in one request as input from them allows to determine device motion and orientation. Each of them extends Generic Sensor API [1] therefore implementation of Accelerometer, Gyroscope and Magnetometer sensor APIs will use Generic Sensors Framework (GSF) [2].
Motivation
Accelerometer, Gyroscope and Magnetometer sensor APIs provide simple interfaces for web developers, yet allow to fuse sensor data to implement complex functionality such as device motion and orientation.The GSF implementation is being upstreamed and now partially landed in Chromium.Adding of a new sensor support to GSF is easy and requires just a small amount of code to be added (basically new JS bindings) since GSF already does most of the work.
Interoperability and Compatibility Risk
Low, since this is the first implementation of the APIs.
It's true the compat risk is low, but being the first implementation of a new API makes it high interop risk. It's not a big deal now at implementation time, but by the time you're ready for an "intent to ship" expect to be able to describe the level of interest from other browser vendors. What data do we have to suggest this API is likely to eventually be supported consistently by all major browsers?
Ongoing technical constraints
None.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.Mac (only accelerometer).
OWP launch tracking bugNot yet created.
Link to entry on the feature dashboardNot yet created.
Requesting approval to ship?
No.
[2] https://groups.google.com/a/chromium.org/d/msg/blink-dev/TkfdVqYAYiE/4J7Z088MBAAJ
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
Update for implementation status of sensors based on Generic Sensor API.
Our team has implemented support for ambient light, accelerometer, gyroscope and magnetometer sensors. The new APIs can accessed by enabling “Generic Sensor” feature flag.
Demo apps that show how sensors can be used by web developers:
Map that changes style based on input from ambient light sensor (night | day mode).
https://ambientmap.appspot.com/
https://github.com/01org/websensor-ambient-map
Simple WebVR demo that demonstrates how magnetometer can be used to provide user input by triggering magnet button on VR enclosure.
https://github.com/01org/websensor-vr-button
Marine compass demo that uses motion sensors.
https://sensor-compass.appspot.com
https://github.com/01org/websensor-compass
Simple demo app for testing sensors, observing reading values, state changes, etc.
https://github.com/01org/websensor-sensor-info
https://genericsensors.appspot.com/
ED Specs:
Generic Sensor API https://w3c.github.io/sensors/
Ambient Light Sensor API https://w3c.github.io/ambient-light/
Yes.
Mac (only accelerometer).
--
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.