[sensors] Should unit option's behavior be defined in the Generic Sensor API?

tobie has just created a new issue for https://github.com/w3c/sensors:

== Should unit option's behavior be defined in the Generic Sensor API?
 ==
Typical example is of course Fahrenheit vs. Celsius degrees, but it 
becomes more interesting with more complex examples such as 
quarterions, rotational matrices or Tait-Bryan angles for device 
orientation.

If we were to specify a behavior in the the generic spec, I'd imagine 
each implementation of the spec would need to define a default unit. 
Constructing the sensor object would raise an error if the required 
unit was not available.


See https://github.com/w3c/sensors/issues/62

Received on Monday, 31 August 2015 11:28:10 UTC