steve69 Posted February 18, 2020 Share Posted February 18, 2020 Hi there,how can I checkif a tracker is no longer tracking?Would like to switch to a second one.Is this possible?Use Unity and the ViveInputUtility or SteamVR Thanks Stephan @chengnay Link to comment Share on other sites More sharing options...
chengnay Posted February 21, 2020 Share Posted February 21, 2020 @steve69 By looking at SteamVR, if it is tracking, the tracker icon will light up. If lost tracking, it will be flashing. Is this what you are looking for? Link to comment Share on other sites More sharing options...
steve69 Posted February 23, 2020 Author Share Posted February 23, 2020 Generally, yes. But how do I query that in Unity? But I have the impression that the tracker still supplies dirty position data before it reports that it is no longer tracking. Can this be recognized faster so that I can switch to another tracker at the right time. Link to comment Share on other sites More sharing options...
chengnay Posted February 24, 2020 Share Posted February 24, 2020 By using VIU, you can try the following API to know whether the pose is valid or not. VivePose.IsValidEx(TrackerRole.Tracker1) <--- It will return true if pose is valid Link to comment Share on other sites More sharing options...
steve69 Posted February 24, 2020 Author Share Posted February 24, 2020 Thank you for the info.That's exactly what I was looking for.Is there somewhere a description of what the other classes and functions in the VIU can be used for? Unfortunately I haven't been able to find it yet. Link to comment Share on other sites More sharing options...
chengnay Posted February 25, 2020 Share Posted February 25, 2020 Currently, there is no place to look that up, but you can always ask questions when you need help. 🙂 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now