.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 2024-11-07T19:25:29Z by OpenModelicaOpenModelica 1.24.0 using GenerateDoc.mos