WOLFRAM SYSTEM MODELER

relativeRotation

Return relative quaternions orientation object

Wolfram Language

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

Information

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

Syntax

Q_rel = Quaternions.relativeRotation(Q1, Q2);

Description

This function returns quaternions orientation Q_rel that describes the orientation to rotate frame 1 to frame 2 from the quaternions orientation Q1 that describes the orientation to rotate from frame 0 to frame 1 and from the quaternions orientation Q2 that describes the orientation to rotate from frame 0 to frame 2.

See also

Frames.relativeRotation, TransformationMatrices.relativeRotation.

Syntax

Q_rel = relativeRotation(Q1, Q2)

Inputs (2)

Q1

Type: Orientation

Description: Quaternions orientation object to rotate frame 0 into frame 1

Q2

Type: Orientation

Description: Quaternions orientation object to rotate frame 0 into frame 2

Outputs (1)

Q_rel

Type: Orientation

Description: Quaternions orientation object to rotate frame 1 into frame 2