W3C home > Mailing lists > Public > public-device-apis-log@w3.org > January 2018

Re: [sensors] Investigate possibility of synchronizing coordinate systems

From: Alexander Shalamov via GitHub <sysbot+gh@w3.org>
Date: Mon, 22 Jan 2018 13:40:24 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-359425919-1516628422-sysbot+gh@w3.org>
`partial` is just a helper that allows definitions to be split within document or multiple documents / specifications. Therefore, by defining `partial dictionary SensorOptions`, we allow coordinateSystem to be set for ALS, proximity and other sensors that do not need such functionality.

Also, if we use partial definitions, dictionary identifier must be same, `SensorOptions`, so, it will be confusing, as developers would think that Accel, Gyro and Magn, doesn't support coordinate system sync, unless we explicitly mention it in every spec.

I would vote for `dictionary TriaxialSensorOptions : SensorOptions`, as it is verbose and doesn't affect non 3D sensors.

GitHub Notification of comment by alexshalamov
Please view or discuss this issue at https://github.com/w3c/sensors/issues/257#issuecomment-359425919 using your GitHub account
Received on Monday, 22 January 2018 13:40:26 UTC

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