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

Vive wands left and right mixup #113

Open
BastiaanOlij opened this issue Dec 22, 2020 · 1 comment
Open

Vive wands left and right mixup #113

BastiaanOlij opened this issue Dec 22, 2020 · 1 comment

Comments

@BastiaanOlij
Copy link
Member

The tracking in OpenVR still uses the old tracking data where for Vive wands we aren't getting info which wand represents the left hand and which the right hand. As a result it is first come, first serve.

All the buttons now use the action based system where we bind our buttons on our left and right hand and we thus get what OpenVR has deemed to be the left and right wands as inputs. If OpenVR thinks a wand is in the left hand, and we think its the right hand, the buttons actions and tracking will be swapped.

It is really weird OpenVR doesn't actually provide hand info when the tracker is added.

We can solve this in two ways

  1. change the tracking over to also use the action system, but that means ARVRController will only support the left and right hands and OpenVRPose needs to be used for any additional trackers
  2. we check what actions the trackers are bound to and try and figure out that way which controller OpenVR has deemed left or right.

The workaround for now is to use OpenVRPose.

@goatchurchprime
Copy link

Luckily the two wands are identical in shape and size. I have gotten used to juggling them between my hands on startup when it comes in wrong.

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

No branches or pull requests

2 participants