简体   繁体   English

测量设备相对于目标的俯仰和横摆

[英]measure device pitch yaw and roll relative to the target

I am newbie to vuforia, I would like to measure the device orientation relative to the target. 我是vuforia的新手,我想测量设备相对于目标的方向。

My idea was to use the projection matrix to get the rotation matrix decomposed from the projection matrix and then compute the orientation values. 我的想法是使用投影矩阵从投影矩阵中分解出旋转矩阵,然后计算方向值。

Is there a simpler way or am I doing it wrong? 有没有更简单的方法,或者我做错了吗?

I could solve it using this matrix 我可以用这个矩阵解决

https://developer.vuforia.com/resources/dev-guide/pose-matrix-explained https://developer.vuforia.com/resources/dev-guide/pose-matrix-explained

I got the rotation matrix from the pose matrix and calculated the orientation from http://planning.cs.uiuc.edu/node103.html 我从姿势矩阵中获得了旋转矩阵,并从http://planning.cs.uiuc.edu/node103.html计算了方向

Hope this helps someone. 希望这对某人有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM