W3C home > Mailing lists > Public > public-geolocation@w3.org > July 2021

[deviceorientation] Opposite z-axis for example 7 (#96)

From: Jean-Philippe Lambert via GitHub <sysbot+gh@w3.org>
Date: Wed, 07 Jul 2021 12:53:30 +0000
To: public-geolocation@w3.org
Message-ID: <issues.opened-938861676-1625662405-sysbot+gh@w3.org>
jipodine has just created a new issue for https://github.com/w3c/deviceorientation:

== Opposite z-axis for example 7 ==
Should not the value of z of example7 be the opposite?

Example 7 says
> A device lying flat on a horizontal surface with the screen upmost has an acceleration of zero and the following value for accelerationIncludingGravity:
> 
> {x: 0,
>  y: 0,
>  z: 9.8};

While everywhere, the specification consistently states the orientation of the z axis is down to up.
> Up (Z) is perpendicular to the ground plane and positive upwards.

Even example 8 says:
> A device in free-fall, with the screen horizontal and upmost, has an accelerationIncludingGravity of zero and the following value for acceleration:
> {x: 0,
>  y: 0,
>  z: -9.8};


Please view or discuss this issue at https://github.com/w3c/deviceorientation/issues/96 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 7 July 2021 12:55:41 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 7 July 2021 12:56:58 UTC