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

how to get the controller pose after apt driver add tracker? #101

Open
TitansWhale opened this issue Oct 14, 2022 · 2 comments
Open

how to get the controller pose after apt driver add tracker? #101

TitansWhale opened this issue Oct 14, 2022 · 2 comments

Comments

@TitansWhale
Copy link

hi, I found that after I add tracker like mediapipe project,the openvr API GetPoseActionData() will got zero pose.

@ju1ce
Copy link
Owner

ju1ce commented Oct 24, 2022

Hello,

I believe the old GetPose API got deprecated and no longer works, you need to use the new bindings API, where you define all the input and bindings for controllers in the bindings .json files. You can look at the official openvr samples like https://github.com/ValveSoftware/openvr/tree/master/samples/hellovr_opengl .

Or, depending on what you need, you can get certain stuff through the ApriltagTrackers driver, same as in the mediapipepose project. You can only get the positions of headset and the trackers you added yourself that way, though. It will not work properly for controllers.

@TitansWhale
Copy link
Author

TitansWhale commented Nov 2, 2022

hello,
I believe that when I use out driver , the openvr api will be broken.
I tried as follows with slimevr and apt driver. after send tracker data the hellovr_opengl will broken.
SlimeVR/SlimeVR-OpenVR-Driver#1 (comment)

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