Re: [sensors] Provide the DeviceOrientation sensor

> There are few options like quaternion, rotation matrix or Euler 
angles, and we even could have several BYOB methods for different 
representations.

Yes. You'll definitely want the different representations. Whether you
 obtain them through different constructors, different construction 
arguments, different method names or different method arguments, is 
still TBD. What's certain however is you want this defined 
consistently at the `MotionSensor` or `Sensor` level.

> It seems batching API is beyond the scope of this issue.
On the contrary, I think the hard API to solve is the batching one. 
That's the one we need to look at first. It's easy to handle the BYOB 
for a single sample use case once we know where we're going with the 
more complex cases and create a consistant API that works across 
sensor types.

-- 
GitHub Notification of comment by tobie
Please view or discuss this issue at 
https://github.com/w3c/sensors/issues/170#issuecomment-281112692 using
 your GitHub account

Received on Monday, 20 February 2017 15:46:35 UTC