relativeRotation

Return relative orientation object

Information

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

Syntax

R_rel = Frames.relativeRotation(R1,R2);

Description

The function call Frames.relativeRotation(R1,R2) returns orientation object R_rel that describes the orientation to rotate frame 1 to frame 2 from the orientation object R1 that describes the orientation to rotate from frame 0 to frame 1 and from the orientation object R2 that describes the orientation to rotate from frame 0 to frame 2.

See also

TransformationMatrices.relativeRotation, Quaternions.relativeRotation.

Syntax

R_rel = relativeRotation(R1, R2)

Inputs (2)

R1

Type: Orientation

Description: Orientation object to rotate frame 0 into frame 1

R2

Type: Orientation

Description: Orientation object to rotate frame 0 into frame 2

Outputs (1)

R_rel

Type: Orientation

Description: Orientation object to rotate frame 1 into frame 2