Re: [magnetometer] Add RawMagnetometer, for uncalibrated readings.

My reasoning (after thinking a lot)


1. GeomagneticFieldSensor can be constructed from Magnetometer, not the other way around - so low vs higher level
2. Options do mostly go ignored... don't show up in auto completion etc
3. GeomagneticFieldSensor is a specialized (but probably common) use case - ie finding the direction of magnetic north - hence is why hard iron compensation is needed
4. Sensors postfixed by *Sensor are what is commonly used for specific use-cases, so fits with the above. When using a [raw] Accelerometer, Gyroscope, you need to know what you are doing - same with Magnetometer. All of these are calibrated a bit, even Magnetometer (soft iron calibration) which is fine - you wouldn't want otherwise (I dont know the use case)

NB: We really need to rename that AmbientLightSensor ! (Many other sensors are Ambient! and Sensor now indicates that it is build up by other low level sensors, or at least derived from one)


-- 
GitHub Notification of comment by kenchris
Please view or discuss this issue at https://github.com/w3c/magnetometer/pull/21#issuecomment-300755657 using your GitHub account

Received on Thursday, 11 May 2017 10:58:53 UTC