Log in or register to post comments

[UDT] Translation vector of pose matrix is not correct

October 2, 2014 - 4:15am #1

Hi all,
i tested User Defined Targets of Vuforia Samples application. Everything is working fine but i have one question. There are some values in translation vector of pose matrix when UDT is created and phone is still in the same position. Can someone explain to me why it is happening?.

Example HTC Desire (Android 4.4.4)

Parameters:

UDT sceneSizeWidth: 320.0f

Pose Matrix:

Obtained by calling trackableResult.getPose().getData()

(0.9999998, -5.213349E-4, 4.02942E-4, -0.33349234,
-5.192455E-4, -0.9999865, -0.005168112, -0.3648581,
4.0563088E-4, 0.005167902, -0.99998665, 270.65475)

Phone was still in the same position but there is a x,y translation.

It is potential blocker for my own application because i need to render 2D shapes above UDT in really accurate way from real middle point of UDT.

Thanks in advance.

[UDT] Translation vector of pose matrix is not correct

November 17, 2014 - 4:28pm #4

The slight changes in the translation are normal for UDT targets. Once the image is captured, it may be slightly adjusted as the tracker determines the refined position of target. The tracker wants to find the perpendicular vector of the target and when a UDT is captured, it is not at a perfect 90 degree angle.

[UDT] Translation vector of pose matrix is not correct

November 9, 2014 - 11:48am #3

Hi,

the method is UserDefinedTargetRenderer#renderFrame().

Thx, for your reply.

[UDT] Translation vector of pose matrix is not correct

October 21, 2014 - 9:28pm #2

I logged the trackableResult.getPose().getData()[9..11] within the renderFrame() method for the UDT sample and observed the translation vector values changing slightly with each call. From which method are you capturing the pose matrix translation vector for the trackable?
 

Log in or register to post comments