By diegovillaran
on Wed, 02/06/2013 - 13:47
Hello;
I've been trying to modify the "Unified Target Coordinates" example; I'm trying to connect an ImageTarget to a FrameMarker instead of two ImageTargets, but I can't... I think that the FrameMarker pose matrix has something to do with that... Can anyone help me, please?
Unified Target Coordinates Modification
Hi, have you already double-checked the instructions and code snippets provided here ?
https://developer.vuforia.com/resources/dev-guide/unified-target-coordinates
In particular, in the following snippet:
Unified Target Coordinates Modification
Thanks, solved!!
I have another question; I don't know wheter it is possible to do or not; and if it´s possible how to do it...
Unified Target Coordinates Modification
Hi, first, happy that your issue is solved.
Concerning your second question:
yes, it is possible to compute the position and orientation of a target with respect to another target (what you call the "world base" target);
Unified Target Coordinates Modification
BTW: I just realized that I'm pointing you to the same article as in a previous message; the thing is: the basic maths are all there explained int he article, then you just need to extract the position and orientation angle from those matrices.
Unified Target Coordinates Modification
Thank you! I'm trying to get it works...
As I showed in the picture I'm triyng to get an ImageTarget as "center of the world" and a FrameMarker referred to it. But all I've got is the opposite thing; the FrameMarker as center...:
Unified Target Coordinates Modification
Hi, one problem I see with your code is that it may not work in case the Image Target is listed before the Frame Marker within the for loop (i.e. if the getTrackableResult( 0 ) is the Image Target and the getTrackableResult( 1 ) is the marker);
Unified Target Coordinates Modification
Solved!!!
Thank so muuuch Alessandro!! :)
Unified Target Coordinates Modification
You're welcome!