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

Quaternion of unit matrix gives wrong result #99

Open
Tobimaru opened this issue Sep 19, 2019 · 0 comments
Open

Quaternion of unit matrix gives wrong result #99

Tobimaru opened this issue Sep 19, 2019 · 0 comments

Comments

@Tobimaru
Copy link

The opengv::math::rot2quaternion function returns a quaternion with NaN values for an identity matrix, while this should be (1, 0, 0, 0). The function opengv::math::quaternion2rot returns an identity matrix for the quaternion (1, 0, 0, 0). Is this intended behavior or can this be considered as a bug?

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

1 participant