- Sort Posts
- 2 replies
- Last post
How can I get target position?
December 21, 2013 - 7:53am #3
How can I get target position?
December 20, 2013 - 8:11am #2
The target position can be extracted from the target Pose; if you search the code for the "getPose()" method of the TrackableResult class, you'll find where this is called;
then, from the pose you can get the position following the maths explained here:
https://developer.vuforia.com/resources/dev-guide/pose-matrix-explained
See also the API reference about TrackabelResult and getPose:
https://developer.vuforia.com/resources/api/classcom_1_1qualcomm_1_1vuforia_1_1_trackable_result
Dear AlessandroB:
First, thanks your help.
I found I use the old sdk version. (2.6.7)
And then I update my sdk to 2.8.8 version.
I found the getPose() method of the TrackableResult class.
I want to know is there any example about the getPose() method?
Thanks!