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

Creating an SO3 from two vectors #288

Open
pvangoor opened this issue May 5, 2021 · 1 comment
Open

Creating an SO3 from two vectors #288

pvangoor opened this issue May 5, 2021 · 1 comment

Comments

@pvangoor
Copy link
Contributor

pvangoor commented May 5, 2021

This is a feature request.

Is it possible to add a function that creates an SO3 from two unit vectors?
That is, given two unit vectors x, y, this function would return an SO3 R so that R x = y.
I am aware that there is no unique solution to this problem, but thought it would be a useful feature nonetheless.

@NikolausDemmel
Copy link
Contributor

Sure, it would be nice. But I think you can already just use Eigen to construct such a Quaternion and then create an SO3 object from that. https://eigen.tuxfamily.org/dox/classEigen_1_1Quaternion.html#title13

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

3 participants