-
Notifications
You must be signed in to change notification settings - Fork 386
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
Added support for angular and linear velocity #1182
Conversation
@Manishearth why can I not add reviewers? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM after one correction.
GitHub had a hangover this morning, which is why you couldn't add reviewers. I think it's generally better now. |
I still can't add reviewers. |
I was looking into a possible implementation and there are some spaces where velocity will never be reported. Should we add those exceptions to the spec, or leave it up to the UA? |
I think it's best to leave that up to the UA. For example, I can see that OpenXR has an extension for hand joint velocity and I suspect that the tracking method (ie: optical vs sensors) will make a big difference in what velocities are available. I wouldn't want to prematurely prevent future advances in tracking. If we're concerned about developers needing to know what spaces can and can't report velocities, it would probably be best to report that as a property of the space ( We should probably just leave it as "If the user agent can't populate this, it's allowed to return |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing the angular velocity definition, by the way!
@toji thanks for approving! Can you merge it for me? I'm not able to. |
If you don't mind I'd like to make sure that @Manishearth has had a chance to look before I do? That should be Tues at the latest, since we have our editors sync then. Normally I wouldn't be too concerned but given this is a change to a largely "shipped" spec I feel a smidge of extra caution is warranted. I doubt there's going to be any concerns, though. |
I see. That sounds good! There's no hurry to get it in. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems good now.
One note: angular velocity can be obtained from the other attributes; and we tend towards not having APIs that expose information that can be calculated by the author, but I think it's fine in this case.
Closes #619
Also silences a couple of bikeshed warnings.
Preview | Diff