Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Issue 2770353002: WebVR: add angular velocity estimate to pose (Closed)

Created:
3 years, 9 months ago by klausw
Modified:
3 years, 8 months ago
CC:
chromium-reviews, feature-vr-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

WebVR: add angular velocity estimate to pose The WebVR spec supports angular velocity as an optional field. We're not currently supplying that, but we need the data for motion-to-photon latency testing. See also https://github.com/w3c/webvr/issues/212 for a spec clarification request. Currently, this is returning sensor-relative velocity, may need to be transformed to a static reference frame. BUG=705084 Review-Url: https://codereview.chromium.org/2770353002 Cr-Commit-Position: refs/heads/master@{#462331} Committed: https://chromium.googlesource.com/chromium/src/+/3150789a49a47adba3ca3e625b67b5a2cbd3d282

Patch Set 1 #

Total comments: 6

Patch Set 2 : Comment changes and reformatting as suggested #

Total comments: 2

Patch Set 3 : Enable linear accel, fix angular velocity to be in seated space #

Total comments: 6

Patch Set 4 : Review feedback, move constants to vr_shell.h #

Total comments: 3

Patch Set 5 : Rebase (no changes) #

Patch Set 6 : Refactor to use new gvr_delegate base methods #

Patch Set 7 : Remove unneeded vr_math include #

Total comments: 2

Patch Set 8 : Move angular velocity calculation to helper function #

Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -40 lines) Patch
M chrome/browser/android/vr_shell/non_presenting_gvr_delegate.cc View 1 2 3 4 5 2 chunks +2 lines, -11 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_controller.cc View 1 2 3 4 2 chunks +9 lines, -4 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_gl.cc View 1 2 3 4 5 3 chunks +6 lines, -25 lines 0 comments Download
M device/vr/android/gvr/gvr_delegate.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M device/vr/android/gvr/gvr_delegate.cc View 1 2 3 4 5 6 7 2 chunks +130 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (12 generated)
klausw
See also the linked clarification request.
3 years, 9 months ago (2017-03-24 21:05:47 UTC) #2
cjgrant
https://codereview.chromium.org/2770353002/diff/1/chrome/browser/android/vr_shell/vr_shell.cc File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2770353002/diff/1/chrome/browser/android/vr_shell/vr_shell.cc#newcode709 chrome/browser/android/vr_shell/vr_shell.cc:709: double epsilon_seconds = epsilon_nanos * 1e-9; Should protect against ...
3 years, 9 months ago (2017-03-24 21:15:41 UTC) #4
klausw
https://codereview.chromium.org/2770353002/diff/1/chrome/browser/android/vr_shell/vr_shell.cc File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2770353002/diff/1/chrome/browser/android/vr_shell/vr_shell.cc#newcode709 chrome/browser/android/vr_shell/vr_shell.cc:709: double epsilon_seconds = epsilon_nanos * 1e-9; On 2017/03/24 21:15:40, ...
3 years, 9 months ago (2017-03-24 22:13:30 UTC) #5
billorr
https://codereview.chromium.org/2770353002/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2770353002/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc#newcode711 chrome/browser/android/vr_shell/vr_shell.cc:711: pose->angularVelocity.value()[0] = can you explain the math here in ...
3 years, 9 months ago (2017-03-24 22:52:51 UTC) #7
klausw
PTAL, some larger changes. bajones@, please clarify if the intent is indeed to report vectors ...
3 years, 9 months ago (2017-03-27 02:25:52 UTC) #8
billorr
A few minor comments, but looks good overall. (non-committer LGTM) If we had a matrix ...
3 years, 9 months ago (2017-03-27 17:33:54 UTC) #9
klausw
One more question - do you think we may want to apply the change to ...
3 years, 9 months ago (2017-03-27 17:35:08 UTC) #10
klausw
> If we had a matrix library to use to do this with higher-level primitives ...
3 years, 9 months ago (2017-03-27 17:55:42 UTC) #11
bajones
LGTM!
3 years, 8 months ago (2017-04-05 18:13:10 UTC) #12
mthiesse
https://codereview.chromium.org/2770353002/diff/60001/chrome/browser/android/vr_shell/vr_shell_gl.cc File chrome/browser/android/vr_shell/vr_shell_gl.cc (right): https://codereview.chromium.org/2770353002/diff/60001/chrome/browser/android/vr_shell/vr_shell_gl.cc#newcode1265 chrome/browser/android/vr_shell/vr_shell_gl.cc:1265: VrShell::kPredictionTimeWithoutVsyncNanos; Instead of moving this constant to the header, ...
3 years, 8 months ago (2017-04-05 18:43:18 UTC) #14
mthiesse
https://codereview.chromium.org/2770353002/diff/60001/chrome/browser/android/vr_shell/vr_shell_gl.cc File chrome/browser/android/vr_shell/vr_shell_gl.cc (right): https://codereview.chromium.org/2770353002/diff/60001/chrome/browser/android/vr_shell/vr_shell_gl.cc#newcode1265 chrome/browser/android/vr_shell/vr_shell_gl.cc:1265: VrShell::kPredictionTimeWithoutVsyncNanos; On 2017/04/05 18:43:18, mthiesse wrote: > Instead of ...
3 years, 8 months ago (2017-04-05 18:57:01 UTC) #15
klausw
On 2017/04/05 18:43:18, mthiesse wrote: > https://codereview.chromium.org/2770353002/diff/60001/chrome/browser/android/vr_shell/vr_shell_gl.cc > File chrome/browser/android/vr_shell/vr_shell_gl.cc (right): > > https://codereview.chromium.org/2770353002/diff/60001/chrome/browser/android/vr_shell/vr_shell_gl.cc#newcode1265 > ...
3 years, 8 months ago (2017-04-05 19:26:11 UTC) #16
klausw
mthiesse@: PTAL, I've rebased on top of your gvr_delegate refactor. https://codereview.chromium.org/2770353002/diff/60001/chrome/browser/android/vr_shell/vr_shell_gl.cc File chrome/browser/android/vr_shell/vr_shell_gl.cc (right): https://codereview.chromium.org/2770353002/diff/60001/chrome/browser/android/vr_shell/vr_shell_gl.cc#newcode1265 ...
3 years, 8 months ago (2017-04-05 22:38:22 UTC) #17
mthiesse
lgtm https://codereview.chromium.org/2770353002/diff/120001/device/vr/android/gvr/gvr_delegate.cc File device/vr/android/gvr/gvr_delegate.cc (right): https://codereview.chromium.org/2770353002/diff/120001/device/vr/android/gvr/gvr_delegate.cc#newcode120 device/vr/android/gvr/gvr_delegate.cc:120: // Add headset angular velocity to the pose. ...
3 years, 8 months ago (2017-04-06 00:15:37 UTC) #22
klausw
https://codereview.chromium.org/2770353002/diff/120001/device/vr/android/gvr/gvr_delegate.cc File device/vr/android/gvr/gvr_delegate.cc (right): https://codereview.chromium.org/2770353002/diff/120001/device/vr/android/gvr/gvr_delegate.cc#newcode120 device/vr/android/gvr/gvr_delegate.cc:120: // Add headset angular velocity to the pose. On ...
3 years, 8 months ago (2017-04-06 01:28:57 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2770353002/140001
3 years, 8 months ago (2017-04-06 01:29:31 UTC) #26
commit-bot: I haz the power
3 years, 8 months ago (2017-04-06 02:29:59 UTC) #29
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/3150789a49a47adba3ca3e625b67...

Powered by Google App Engine
This is Rietveld 408576698