You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All devices are recognized in steamvr and are (I think) properly connected. I'm using the dongle for the additional tracker. Extracting data from the controllers works fine with the command: GetControllerStateWithPose().
I extinguish each device by looking at the different classes. The classes that are recognized are as follows:
However the data I'm getting from this is the position and orientation from the HMD device and not from the Vive tracker 3.0. I've tried to print all data and it recognizes all different classes, but provides the data from the HMD device twice for both different classes.
This seems like an easy fix but I can't get my head around it. So any help would be much appreciated!
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hi,
I'm fairly new to openvr, so forgive me for my inexperience.
I'm trying to extract data from my HTC Vive setup consisting of 2 controller, a HMD headset and a additional HTC Vive tracker 3.0. I'm using openvr and c++, I'm using the following example: https://www.codeproject.com/Articles/1171122/How-to-Get-Raw-Positional-Data-from-HTC-Vive
All devices are recognized in steamvr and are (I think) properly connected. I'm using the dongle for the additional tracker. Extracting data from the controllers works fine with the command: GetControllerStateWithPose().
I extinguish each device by looking at the different classes. The classes that are recognized are as follows:
So by using the following code I try to extract the data from the tracker: (this runs inside a for loop to detect all devices)
if(trackedDeviceClass==vr::ETrackedDeviceClass::TrackedDeviceClass_GenericTracker ) {
However the data I'm getting from this is the position and orientation from the HMD device and not from the Vive tracker 3.0. I've tried to print all data and it recognizes all different classes, but provides the data from the HMD device twice for both different classes.
This seems like an easy fix but I can't get my head around it. So any help would be much appreciated!
Thanks in advance!
The text was updated successfully, but these errors were encountered: