W3C home > Mailing lists > Public > public-device-apis-log@w3.org > April 2017

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

From: Anssi Kostiainen via GitHub <sysbot+gh@w3.org>
Date: Mon, 03 Apr 2017 11:37:07 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-291118367-1491219426-sysbot+gh@w3.org>
I suggest we explain the hard iron and soft iron distortion in the introduction. For example:

```
<dfn>Hard iron distortion</dfn> is created by objects
that produce a <a>magnetic field</a>, such as magnetized iron.

<dfn>Soft iron distortion</dfn> stretches or distorts the
<a>magnetic field</a> and is caused by metals such as
nickel and iron.

Magnetic measurements are subject to both
<a>hard iron distortion</a> and <a>soft iron distortion</a>.

```

Define the uncalibrated magnetic field as follows:

```
The <dfn>uncalibrated magnetic field</dfn> is the
<a>magnetic field</a> without <a>hard iron distortion</a>
compensation, and as such reports changes in the <a>magnetic field</a>
caused by magnetized objects moving near the magnetometer, in addition
to changes caused by the Earth’s magnetic field.
```

For use cases, should refer to (and possibly improve) the following:

https://w3c.github.io/motion-sensors/#magnetometer-sensor
https://w3c.github.io/motion-sensors/#geomagnetic-orientation

-- 
GitHub Notification of comment by anssiko
Please view or discuss this issue at https://github.com/w3c/magnetometer/pull/21#issuecomment-291118367 using your GitHub account
Received on Monday, 3 April 2017 11:37:14 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 12:18:52 UTC