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

Error in the computation of quaternion using fromTransfMatrixToPosQuat #111

Open
FabioBergonti opened this issue Mar 26, 2021 · 2 comments

Comments

@FabioBergonti
Copy link
Member

Given the homogenous matrix:

H =

    1.0000         0         0         0
         0   -0.7071   -0.7071         0
         0    0.7071   -0.7071         0
         0         0         0    1.0000

The quaternion computed using the function fromTransfMatrixToPosQuat is wrong, i.e. the norm is different from 1

fromTransfMatrixToPosQuat(R) =

         0         0         0         0    0.9239         0         0

The output produced by the matlab function rotm2quat is:

rotm2quat(H(1:3,1:3))

    0.3827    0.9239         0         0
@gabrielenava
Copy link
Collaborator

hello @FabioBergonti, is this bug still there or we can close the issue?

@FabioBergonti
Copy link
Member Author

hello @FabioBergonti, is this bug still there or we can close the issue?

It's still there

@gabrielenava gabrielenava removed their assignment Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants