Sophus
Sophus copied to clipboard
Creating an SO3 from two vectors
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.
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