Try MAXST AR Fusion Tracker Now ✨
List
How can we get the AR pose by using the maxst SDK
Posted Date: 2022-05-16 8:13     Edited Date: 2022-05-19 9:55     Writer: pragnesh.sculptsoft

Please provide your development details as below;

1. SDK Version: 5.0.2
2. Development Environment: Native Android
3. Tracker/Scanner: Tracker
4. License Type : Free
5. Target Device(Optional): - 

My functionality is to get AR poses while tracking the surface plane. 

In ArCore SDK, provides the below points while tracking: 


1) qx (Returns the X component of this pose's rotation quaternion)

2) qy (Returns the Y component of this pose's rotation quaternion) 

3) qz (Returns the Z component of this pose's rotation quaternion) 

4) qw (Returns the W component of this pose's rotation quaternion)


5) tx (Returns the X component of this pose's translation.) 

6) ty (Returns the X component of this pose's translation.) 

7) tz (Returns the X component of this pose's translation.)

 

It's possible to get a similer above point by using this maxst SDK?

 

cameraTransform class provides some points, but we difficult to find the point like qx, qy, qz, qw, tz, ty, tz. 


Can you help for this one?

Posted Date: 2022-05-19 9:55     Edited Date: 2022-05-19 9:55     Writer: sjkim

Thank you for your interest in MAXST AR SDK.

 

Yes, We can get rotation and translation(qx, qy, qz, qw, tx, ty, tz) value by maxst.ar.Trackable.getPoseMatrix() function.

The maxst.ar.Trackable.getPoseMatrix() function is a 4x4 projection matrix stored in column-major order.

 

Please refer to link below.

https://developer.maxst.com/d/APIRef/v5.0.x/renew/Android/html/classcom_1_1maxst_1_1ar_1_1_trackable.html

 

If you have related the MAXST AR SDK questions, feel free to ask.

 


 
Best regards,

Francisco

MAXST Support Team