Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split between OrientationSensor and AbsoluteOrientationSensor #17

Conversation

pozdnyakov
Copy link

@pozdnyakov pozdnyakov commented Mar 15, 2017

As follows from #15


Preview | Diff

index.bs Outdated

Inheriting objects can describe the orientation in relation to other stationary
Other inherited objects can describe the orientation in relation to other stationary

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other inherited objects

Other subclasses or inherited interfaces?

index.bs Outdated
@@ -11,8 +11,8 @@ Editor: Kenneth Rohde Christiansen 57705, Intel Corporation, http://intel.com/
Editor: Anssi Kostiainen 41974, Intel Corporation, http://intel.com/
Group: dap
Abstract:
This specification defines concrete sensor interfaces to monitor the device's physical
orientation in relation to <a>Earth's reference coordinate system</a>.
This specification defines a generic interface and inherited concrete sensor interfaces to monitor the device's

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

generic interface and inherited

base orientation sensor interface and concrete sensor subclasses?

@pozdnyakov pozdnyakov force-pushed the split_OrientationSensor_and_AbsoluteOrientationSensor branch from 9b9959b to 609da7c Compare March 15, 2017 12:00
@kenchris
Copy link
Contributor

Lgtm

index.bs Outdated
The base object describes the orientation in relation to <a>Earth's reference
coordinate system</a>, thus in a stationary three dimensional Cartesian
coordinate system.
The AbsoluteOrientationSensor API inherits from the OrientationSensor API and
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More clear and consistent with links: {{AbsoluteOrientationSensor}} {{OrientationSensor}}

index.bs Outdated

Inheriting objects can describe the orientation in relation to other stationary
Other subclasses can describe the orientation in relation to other stationary
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/can describe/describe/

index.bs Outdated

Inheriting objects can describe the orientation in relation to other stationary
Other subclasses can describe the orientation in relation to other stationary
directions, such as true north, or even non stationary directions, like in
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/or even/or/

Better be explicit. Reword as needed.

index.bs Outdated
directions, such as true north, or even non stationary directions, like in
relation to a devices own z-position, drifting towards its latest most stable
z-position.

The data provided by the OrientationSensor API are similar to data from [=deviceorientation Event=], but the OrientationSensor
API has some significant differences:
The data provided by the OrientationSensor-based APIs are similar to data from
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{{OrientationSensor}}

index.bs Outdated
1. Unlike [=deviceorientation Event=] the OrientationSensor API explicitly defines which [=low-level=] motion sensors are used
to obtain the orientation data, thus obviating possible interoperability issues.
1. An {{OrientationSensor}} instance is configurable via {{SensorOptions}} constructor parameter.
1. Unlike [=deviceorientation Event=] the OrientationSensor-based APIs explicitly define which [=low-level=]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{{OrientationSensor}}

@pozdnyakov pozdnyakov force-pushed the split_OrientationSensor_and_AbsoluteOrientationSensor branch from 609da7c to 0f59d02 Compare March 15, 2017 16:23
@pozdnyakov
Copy link
Author

@anssiko PTAL

@anssiko
Copy link
Member

anssiko commented Mar 15, 2017

LGTM

@pozdnyakov pozdnyakov force-pushed the split_OrientationSensor_and_AbsoluteOrientationSensor branch from 0f59d02 to 5d602e2 Compare March 15, 2017 16:31
@pozdnyakov pozdnyakov merged commit 25ef338 into w3c:gh-pages Mar 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants