R_inv = Frames.inverseRotation(R);
The function call Frames.inverseRotation(R)
returns
orientation object R_inv that describes the orientation to rotate from frame 2 to frame 1
from the orientation object R that describes the orientation to rotate from frame 1 into frame 2.
TransformationMatrices.inverseRotation, Quaternions.inverseRotation.
function inverseRotation extends Modelica.Icons.Function; input Orientation R "Orientation object to rotate frame 1 into frame 2"; output Orientation R_inv "Orientation object to rotate frame 2 into frame 1"; end inverseRotation;