You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think there is a bug in Euler to Quaternion conversion (euler2quat function in quaternion.py) for ``zyx'' ordering. I have run the following test:
from scipy.spatial.transform import Rotation as R
order = 'zyx'
e = torch.tensor([0.1*torch.pi, 0.2*torch.pi, 0.5*torch.pi])
q = R.from_euler(order.upper(), e.numpy()).as_quat(scalar_first=True)
q1 = euler2quat(e, order, deg=False)
print(q)
print(q1.numpy())
Hi,
I think there is a bug in Euler to Quaternion conversion (
euler2quat
function inquaternion.py
) for ``zyx'' ordering. I have run the following test:Expected output:
Actual output:
The text was updated successfully, but these errors were encountered: