WOLFRAM SYSTEM MODELER

to_T

Return transformation matrix T from quaternion orientation object Q

Wolfram Language

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

Information

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

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.

Syntax

T = to_T(Q)

Inputs (1)

Q

Type: Orientation

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

Outputs (1)

T

Type: Real[3,3]

Description: Transformation matrix to transform vector from frame 1 to frame 2 (v2=T*v1)