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

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

From: Alexander Shalamov via GitHub <sysbot+gh@w3.org>
Date: Thu, 11 May 2017 12:45:08 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-300777720-1494506707-sysbot+gh@w3.org>
I would propose to keep Magnetometer as it is now and add separate interface for UncalibratedMagnetometer. Later, we can add CompassSensor that would provide heading.

Also, if we rename UncalibratedMagnetometer to Magnetometer, it will break naming consistency between Accelerometer, Magnetometer and Gyro.

Calibrated sensor interface name | Uncalibrated sensor interface name
------------ | -------------
GeomagneticSensor(xyz) | Magnetometer(x,y,z, bias_x, bias_y, bias_z)
CalibratedGyroscope(xyz) :grinning: | Gyroscope(x, y, z, drift_x, drift_y, drift_z)
:scream: | Accelerometer(x,y,z)


GitHub Notification of comment by alexshalamov
Please view or discuss this issue at https://github.com/w3c/magnetometer/pull/21#issuecomment-300777720 using your GitHub account
Received on Thursday, 11 May 2017 12:45:15 UTC

This archive was generated by hypermail 2.4.0 : Monday, 4 July 2022 12:47:54 UTC