.Modelica.Mechanics.MultiBody.Frames.from_Q

Information

Syntax

R = Frames.from_Q(Q, w);

Description

This function returns an orientation object R computed from a quaternion object Q and an angular velocity vector w.

See also

to_Q. TransformationMatrices.from_Q.

Interface

function from_Q
  extends Modelica.Icons.Function;
  input Quaternions.Orientation Q "Quaternions orientation object to rotate frame 1 into frame 2";
  input SI.AngularVelocity w[3] "Angular velocity from frame 2 with respect to frame 1, resolved in frame 2";
  output Orientation R "Orientation object to rotate frame 1 into frame 2";
end from_Q;

Generated at 2024-04-25T18:15:59Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos