-
Notifications
You must be signed in to change notification settings - Fork 1
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
Check the software usage to get the pose of the trackers without the headsets #11
Comments
Some observations
Which seems to be coming from yarp-openvr-trackers/src/OpenVRTrackersDriver.cpp Lines 203 to 206 in cd153db
But it seems only a warning.
|
Replacing yarp-openvr-trackers/src/OpenVRTrackersDriver.cpp Lines 309 to 314 in cd153db
vr::TrackedDevicePose_t poses[pImpl->devices.size()];
pImpl->vr->GetDeviceToAbsoluteTrackingPose(vr::ETrackingUniverseOrigin(pImpl->origin), 0, &poses[0], pImpl->devices.size());
pose = poses[pImpl->devices[serialNumber].index]; Seems to do the trick! The behavior is as expected. The trackers' poses are streamed via the transform server, and The checks are not throwing warnings. However the method is a bit different from the previous one because it expects an array of We need to review it because it throws a segfault when a tracker is switched off for example. There should be a better way to access it! |
After the modification in #12, the device can work without the headset, but I had to change the line yarp-openvr-trackers/src/OpenVRTrackersDriver.h Lines 59 to 60 in e6694ad
From Seated to Standing . Not sure if updating it upstream will affect other use cases.
|
Following #10, we are able use
openVR
to obtain the trackers poses without the headset. However, the current version of the software (https://github.com/ami-iit/yarp-openvr-trackers/releases/tag/v0.0.1), doesn't support it yet.In this issue, we highlight the difference in behavior when eliminating the headset.
In detail, following #10, then launching
then
Streams these error messages
Which seems to be coming from
yarp-openvr-trackers/src/OpenVRTrackersDriver.cpp
Lines 317 to 322 in cd153db
The text was updated successfully, but these errors were encountered: