Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Are you loading the device poses using GetDeviceToAbsoluteTrackingPose()[github.com]?
If so the Tracker poses are also in there, they are devices classed as GenericTracker[github.com].
To find the Trackers, this might work but I have not had any luck in C#: GetSortedTrackedDeviceIndicesOfClass()[github.com].
Instead you could just loop over the indexes using GetTrackedDeviceClass()[github.com].
The maximum index is k_unMaxTrackedDeviceCount[github.com].
When you have the Tracker indexes and the array of poses, simply grab the tracking data out of the right index of the array 😋 The pose is a transformation matrix, but it's easy to get positional data out of in any case, I think index 3, 7, and 11 in the matrix.
Edit: I might have jumped to coding a bit quickly, you have a project you can build right, but you're not a too familiar with coding? Is C++ a must, if not I have a small help library for C# here[github.com]. I've made my own tracking robot using Arduino and C# with USB COM sockets or whatever (two years ago now) and I found it fairly straight forward.