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

@tobie thanks for comments.

> 2. The term raw is sort of weird as the data is partially calibrated.

Agree, I also feel that 'Raw' term is confusing, unfortunately don't have proposal for a better name.

> 3. We'd need a term for this dynamic calibration...

I think we should 'pull-up' terms as soon as there is more that 1 place where it is defined (applicable). If this is a generic term, absolutely. If it is only for magnetometer, maybe we can keep it in magnetometer spec, wdyt?

> 4. As an option, we need something like keep HardIronBias or avoidHardIronCorrection

This makes magnetometer interface calibrated and (almost)uncalibrated at the same time, introduces side-effects. If developer constructs magnetometer with 'avoidHardIronCorrection = true' what would happen at start()?

- Throw 'NotFoundError', wrong, since magnetometer is present.
- Silently fallback to Magnetometer, bad.
- Throw 'CannotAvoidError' :D ?
- Something else?

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

Received on Friday, 7 April 2017 09:46:16 UTC