Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Implement grip pose input action for Oculus Touch controller's #97

Merged
merged 13 commits into from
Dec 16, 2020

Conversation

FejZa
Copy link
Contributor

@FejZa FejZa commented Dec 14, 2020

XRTK - Mixed Reality Toolkit Pull Request

Overview

Implemented grip pose input action for Oculus Touch controllers. Useful when grabbing something and looking to "attach" it to the controller's / hand's grip pose.

Submodule Changes

@SimonDarksideJ
Copy link
Contributor

The pr only seems to apply the current controller pose to the grip pose, is this correct? As I would have expected some grip offset?

@FejZa
Copy link
Contributor Author

FejZa commented Dec 14, 2020

Correct. In my tests the current controller pose seemed pretty much right.

@FejZa
Copy link
Contributor Author

FejZa commented Dec 14, 2020

If you want I can add an option for a configurable? offset

@SimonDarksideJ
Copy link
Contributor

I think that would be best, else there isn't much point just duplicating the current pose

@FejZa
Copy link
Contributor Author

FejZa commented Dec 14, 2020

I can add it. It's still adding value though as while in code it's currently the same pose as the controller's, semantically it's another thing from a user's perspective. A user doesn't care where the pose comes from. He cares that it's the grip pose.

I'll add an offset option though, i agree it makes sense.

StephenHodgson
StephenHodgson previously approved these changes Dec 16, 2020
@StephenHodgson
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@FejZa
Copy link
Contributor Author

FejZa commented Dec 16, 2020

I think I might need to update the Core package dependency for this to succeed. Because it needs the property in BaseController

SimonDarksideJ
SimonDarksideJ previously approved these changes Dec 16, 2020
@FejZa FejZa merged commit 41e4ece into development Dec 16, 2020
@FejZa FejZa deleted the feature/oculus-touch-grip-pose branch December 16, 2020 19:43
XRTK-Build-Bot pushed a commit that referenced this pull request Dec 25, 2020
* Add grip pose to default mappings

* Add grip pose profile

* Assign grop pose mapping

* Implement raising Grip Pose in BaseOculusController

* Add grip pose offset

* Set oculus controller grip input action defaults

* Fix grip press naming for hands

* Move grip pose offset to BaseController

* Fix assigned camera data provider profile in platform config

* Add grip pose override for Oculus Touch

* Update core package dependency

Co-authored-by: Stephen Hodgson <hodgson.designs@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants