functionto_T

Return transformation matrix T from quaternion orientation object Q

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

Information

Syntax

T = Quaternions.to_T(Q);

Description

This function returns a real matrix T computed from a quaternions orientation Q. The matrix T is considered to be an object transformation matrix.

See also

from_T, to_T_inv, Frames.to_T, TransformationMatrices.to_T.

Inputs

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

Outputs

TypeNameDefaultDescription
Real[3,3]TTransformation matrix to transform vector from frame 1 to frame 2 (v2=T*v1)