functioninverseRotation

Return inverse quaternions orientation object

Extends from Modelica.Icons.Function (Icon for functions).

Information

Syntax

Q_inv = Quaternions.inverseRotation(Q);

Description

This function returns quaternions orientation Q_inv that describes the orientation to rotate from frame 2 to frame 1 from the quaternions orientation Q that describes the orientation to rotate from frame 1 into frame 2.

See also

Frames.inverseRotation, TransformationMatrices.inverseRotation.

Inputs

TypeNameDefaultDescription
Quaternions.OrientationQQuaternions orientation object to rotate frame 1 into frame 2

Outputs

TypeNameDefaultDescription
Quaternions.OrientationQ_invQuaternions orientation object to rotate frame 2 into frame 1