You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The spec often talks about the underlying concrete sensors that are being used to provide the device orientation and motion. However, these sensors themselves are immaterial to the actual resulting events.
As such, it would be great if the spec could just abstract them away entirely.
Is this separate from the permission policy question?
I think the orientation and motion events are already as abstracted from the underlying sensors as is possible while still being well-defined.
That is, for example, the acceleration property of a DeviceMotionEvent implies the existence of an accelerometer. That's what a device which measures acceleration is called. It doesn't specify how the accelerometer works but if you have the ability to measure acceleration then you have something called an accelerometer. The same applies to "gyroscope". Even if it isn't constructed of concentric spinning rings it seems like the scientific community generally calls anything which can measure angular velocity a gyroscope. We could potentially rename "magnetometer" to "compass" if we want to focus the concept on determining heading or orientation on a spherical planet rather than measuring a magnetic field.
Activity
reillyeon commentedon May 21, 2024
Is this separate from the permission policy question?
I think the orientation and motion events are already as abstracted from the underlying sensors as is possible while still being well-defined.
That is, for example, the
accelerationproperty of aDeviceMotionEventimplies the existence of an accelerometer. That's what a device which measures acceleration is called. It doesn't specify how the accelerometer works but if you have the ability to measure acceleration then you have something called an accelerometer. The same applies to "gyroscope". Even if it isn't constructed of concentric spinning rings it seems like the scientific community generally calls anything which can measure angular velocity a gyroscope. We could potentially rename "magnetometer" to "compass" if we want to focus the concept on determining heading or orientation on a spherical planet rather than measuring a magnetic field.marcoscaceres commentedon May 21, 2024
It's kinda tied to the policy question, as, for instance the spec says things like:
Which make these hard connections. That's not to say the above is not matter of fact, but then those become connected to policy.
Do you seen what I mean?