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

@tobie 

>It would also be nice to understand and document the way external hard iron distorsion is normally compensated for (I imagine there's some sort of filtering going on?).

To get from uncalibrated to calibrated values, the implementation must apply a transformation matrix to uncalibrated values at point (x, y, z). This process happens in hardware usually.

To build the transformation matrix, the implementation asks you to manually do the [calibration][1].

@alexshalamov @kenchris to correct me if I'm wrong here.

[1]: http://www.iphonetricks.org/wp-content/uploads/2014/03/iphone-compass-calibration.jpg

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

Received on Monday, 3 April 2017 13:26:19 UTC