- From: Rijubrata Bhaumik via GitHub <sysbot+gh@w3.org>
- Date: Thu, 03 Nov 2016 16:30:05 +0000
- To: public-device-apis-log@w3.org
```webidl
interface RawMagnetometer : Sensor {
readonly attribute RawMagnetometerReading? reading;
};
```
option 1
```webidl
interface RawMagnetometerReading : SensorReading {
readonly attribute double x;
readonly attribute double y;
readonly attribute double z;
readonly attribute double xBias;
readonly attribute double yBias;
readonly attribute double zBias;
};
```
Let's decide on the naming, and then I will put up the PR.
Ideally `xUncalib` would have been a good choice in naming, but going
by the recent consensus, I think `RawMagnetometer` can signify that
the readings are uncalibrated, so we don't need to use `xUncalib`,
etc.
Option 2
```webidl
interface RawMagnetometerReading : MagnetometerReading {
readonly attribute double xBias;
readonly attribute double yBias;
readonly attribute double zBias;
};
```
since we anyways don't distinguish between `x `and `xUncalib` in
attribute name.
@tobie @alexshalamov @pozdnyakov @anssiko : chime in
--
GitHub Notification of comment by riju
Please view or discuss this issue at
https://github.com/w3c/magnetometer/issues/16#issuecomment-258196263
using your GitHub account
Received on Thursday, 3 November 2016 16:30:11 UTC