WOLFRAM SYSTEM MODELER

relativeRotation

Return relative orientation object

Wolfram Language

In[1]:=
SystemModel["Modelica.Mechanics.MultiBody.Frames.TransformationMatrices.relativeRotation"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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.

Syntax

T_rel = relativeRotation(T1, T2)

Inputs (2)

T1

Type: Orientation

Description: Orientation object to rotate frame 0 into frame 1

T2

Type: Orientation

Description: Orientation object to rotate frame 0 into frame 2

Outputs (1)

T_rel

Type: Orientation

Description: Orientation object to rotate frame 1 into frame 2