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

Issue 2795793002: Implementation of elbow model for the controller position and rotation. (Closed)

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

Description

Implementation of elbow model for the controller position and rotation. The starting position for the laser is also obtained from the model. The code was adapted from: https://github.com/googlevr/gvr-unity-sdk/blob/master/Samples/DaydreamLabsControllerPlayground/Assets/GoogleVR/Scripts/Controller/GvrArmModel.cs BUG=644482 Review-Url: https://codereview.chromium.org/2795793002 Cr-Commit-Position: refs/heads/master@{#467440} Committed: https://chromium.googlesource.com/chromium/src/+/b0ca33e8d54d93e0dc85e51dbd109e4c9145dfe2

Patch Set 1 #

Total comments: 34

Patch Set 2 : Addressing suggestions #

Patch Set 3 : Rebasing. #

Total comments: 4

Patch Set 4 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+415 lines, -50 lines) Patch
M chrome/browser/android/vr_shell/BUILD.gn View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/browser/android/vr_shell/elbow_model.h View 1 2 1 chunk +57 lines, -0 lines 0 comments Download
A chrome/browser/android/vr_shell/elbow_model.cc View 1 2 3 1 chunk +142 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_controller.h View 1 2 3 4 chunks +10 lines, -2 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_controller.cc View 1 2 3 7 chunks +41 lines, -20 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_gl.h View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_gl.cc View 1 2 3 9 chunks +18 lines, -21 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_renderer.h View 1 2 3 3 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_renderer.cc View 1 2 3 8 chunks +13 lines, -3 lines 0 comments Download
M device/vr/vr_math.h View 1 2 3 2 chunks +35 lines, -0 lines 0 comments Download
M device/vr/vr_math.cc View 1 2 3 2 chunks +87 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 21 (7 generated)
acondor_
PTAL
3 years, 8 months ago (2017-04-03 17:40:47 UTC) #2
bajones
On 2017/04/03 17:40:47, acondor wrote: > PTAL Patch seems pretty good, though I haven't gone ...
3 years, 8 months ago (2017-04-03 17:52:19 UTC) #3
acondor_
On 2017/04/03 17:52:19, bajones wrote: > On 2017/04/03 17:40:47, acondor wrote: > > PTAL > ...
3 years, 8 months ago (2017-04-03 19:11:06 UTC) #4
cjgrant
Here are some line-by-line comments. Brandon's point about whether this is is the right approach ...
3 years, 8 months ago (2017-04-03 19:25:00 UTC) #5
mthiesse
We're going to need this patch for short-term releases at the very least, if not ...
3 years, 8 months ago (2017-04-11 16:34:08 UTC) #6
acondor_
The suggestions where handled. But now I need to do a rebase. https://codereview.chromium.org/2795793002/diff/1/chrome/browser/android/vr_shell/elbow_model.cc File chrome/browser/android/vr_shell/elbow_model.cc ...
3 years, 8 months ago (2017-04-19 18:44:27 UTC) #7
asimjour1
https://codereview.chromium.org/2795793002/diff/1/chrome/browser/android/vr_shell/elbow_model.cc File chrome/browser/android/vr_shell/elbow_model.cc (right): https://codereview.chromium.org/2795793002/diff/1/chrome/browser/android/vr_shell/elbow_model.cc#newcode104 chrome/browser/android/vr_shell/elbow_model.cc:104: lerp_suppresion * (0.4f + 0.6f * extension_ratio * kExtensionWeight); ...
3 years, 8 months ago (2017-04-19 18:58:12 UTC) #9
acondor_
Rebase performed and suggestions addressed. https://codereview.chromium.org/2795793002/diff/1/chrome/browser/android/vr_shell/elbow_model.cc File chrome/browser/android/vr_shell/elbow_model.cc (right): https://codereview.chromium.org/2795793002/diff/1/chrome/browser/android/vr_shell/elbow_model.cc#newcode104 chrome/browser/android/vr_shell/elbow_model.cc:104: lerp_suppresion * (0.4f + ...
3 years, 8 months ago (2017-04-21 21:04:32 UTC) #10
acondor_
Friendly ping
3 years, 8 months ago (2017-04-26 17:12:02 UTC) #12
bajones
On 2017/04/26 17:12:02, acondor wrote: > Friendly ping LGTM
3 years, 8 months ago (2017-04-26 17:37:35 UTC) #13
mthiesse
lgtm (I didn't review the math in detail, I'm trusting it's correct) https://codereview.chromium.org/2795793002/diff/40001/chrome/browser/android/vr_shell/vr_controller.cc File chrome/browser/android/vr_shell/vr_controller.cc ...
3 years, 8 months ago (2017-04-26 17:46:48 UTC) #14
acondor_
https://codereview.chromium.org/2795793002/diff/40001/chrome/browser/android/vr_shell/vr_controller.cc File chrome/browser/android/vr_shell/vr_controller.cc (right): https://codereview.chromium.org/2795793002/diff/40001/chrome/browser/android/vr_shell/vr_controller.cc#newcode443 chrome/browser/android/vr_shell/vr_controller.cc:443: float VrController::DeltaTimeSeconds() { On 2017/04/26 17:46:48, mthiesse wrote: > ...
3 years, 8 months ago (2017-04-26 18:42:26 UTC) #15
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/2795793002/60001
3 years, 8 months ago (2017-04-26 18:56:23 UTC) #18
commit-bot: I haz the power
3 years, 8 months ago (2017-04-26 20:36:02 UTC) #21
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/b0ca33e8d54d93e0dc85e51dbd10...

Powered by Google App Engine
This is Rietveld 408576698