So lets assume my body has the following extrinsic orientation in the Coordinate System A:
A = [20,30,40] # extrinsic xyz in degrees
And the following Orientation in the Coordinate System B:
B = [10, 25, 50]
So the transformation from A to B is:
T = [-10, -5, 10]
So that:
B = A + T
Now I want to do the same using scipy.Rotation:
from scipy.spatial.transform import Rotation
A = Rotation.from_euler('xyz' ,[20, 30, 40], degrees=True)
B = Rotation.from_euler('xyz', [10, 25, 50], degrees=True)
T = Rotation.from_euler('xyz', [-10, -5, 10], degrees=True)
result = A * T # This seems to be wrong?
print(result.as_euler('xyz', degrees=True)) # Output: [14.02609598 21.61478378 48.20912092]
Where is my mistake here? What am I doint wrong. I need to use scipy rotation because, I will apply that same rotation given in euler angles on quaternions too.