We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When isprecise=True, the q returned by quaternion_from_matrix has the possibility of appearing q[0] < 0.
isprecise=True
q
quaternion_from_matrix
q[0] < 0
transformations version: 2021.6.6 numpy version: 1.21.4
import transformations import numpy as np m = np.array([[0.58689934, -0.52777261, 0.61400752, 0.], [-0.74992234, -0.64022933, 0.16650191, 0.], [0.30523048, -0.55817781, -0.77153864, 0.], [0., 0., 0., 1.]]) q = transformations.quaternion_from_matrix(m, isprecise=True) >>> q array([-0.2092435 , 0.86583303, -0.36892071, 0.26542011])
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When
isprecise=True
, theq
returned byquaternion_from_matrix
has the possibility of appearingq[0] < 0
.transformations version: 2021.6.6
numpy version: 1.21.4
The text was updated successfully, but these errors were encountered: