.Modelica.Mechanics.MultiBody.Frames.Quaternions.to_T

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.

Interface

function to_T
  extends Modelica.Icons.Function;
  input Quaternions.Orientation Q "Quaternions orientation object to rotate frame 1 into frame 2";
  output Real T[3, 3] "Transformation matrix to transform vector from frame 1 to frame 2 (v2=T*v1)";
end to_T;

Generated at 2020-06-05T07:38:22Z by OpenModelica 1.16.0~dev-420-gc007a39