Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quat2mat #18

Closed
ZhiyiHe1997 opened this issue Aug 31, 2022 · 5 comments
Closed

quat2mat #18

ZhiyiHe1997 opened this issue Aug 31, 2022 · 5 comments

Comments

@ZhiyiHe1997
Copy link

rotMat = torch.stack([w2 + x2 - y2 - z2, 2*xy - 2*wz, 2*wy + 2*xz,

if we use the quaternion coefficients as shown in image1
image
according to the Rodriguez formula,We can deduce the rotation matrix,as shown in image2
image
i find there are difference between formula and codes. Could you tell me the details of the changes you have made?

@JiawangBian
Copy link
Owner

@ZhiyiHe1997
Copy link
Author

yes, i saw it, may i ask it will influence the results?
have you think adout this trick?

@JiawangBian
Copy link
Owner

@JiawangBian
Copy link
Owner

yes, i saw it, may i ask it will influence the results? have you think adout this trick?

I tried it before and got very similar results compared to using euler angle on KITTI.

@ZhiyiHe1997
Copy link
Author

ok , thanks for your reply. i will try it later.
Best regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants