.Modelica.Mechanics.MultiBody.Frames.TransformationMatrices.relativeRotation

Information

Syntax

T_rel = TransformationMatrices.relativeRotation(T1, T2);

Description

This function returns transformation matrix T_rel that describes the orientation to rotate frame 1 to frame 2 from the transformation matrix T1 that describes the orientation to rotate from frame 0 to frame 1 and from the transformation matrix T2 that describes the orientation to rotate from frame 0 to frame 2.

See also

Frames.relativeRotation, Quaternions.relativeRotation.

Interface

function relativeRotation
  extends Modelica.Icons.Function;
  input TransformationMatrices.Orientation T1 "Orientation object to rotate frame 0 into frame 1";
  input TransformationMatrices.Orientation T2 "Orientation object to rotate frame 0 into frame 2";
  output TransformationMatrices.Orientation T_rel "Orientation object to rotate frame 1 into frame 2";
end relativeRotation;

Generated at 2020-06-05T07:38:22Z by OpenModelica 1.16.0~dev-420-gc007a39