.Modelica.Mechanics.MultiBody.Frames.Quaternions.relativeRotation

Information

Syntax

Q_rel = Quaternions.relativeRotation(Q1, Q2);

Description

This function returns quaternions orientation Q_rel that describes the orientation to rotate frame 1 to frame 2 from the quaternions orientation Q1 that describes the orientation to rotate from frame 0 to frame 1 and from the quaternions orientation Q2 that describes the orientation to rotate from frame 0 to frame 2.

See also

Frames.relativeRotation, TransformationMatrices.relativeRotation.

Interface

function relativeRotation
  extends Modelica.Icons.Function;
  input Quaternions.Orientation Q1 "Quaternions orientation object to rotate frame 0 into frame 1";
  input Quaternions.Orientation Q2 "Quaternions orientation object to rotate frame 0 into frame 2";
  output Quaternions.Orientation Q_rel "Quaternions orientation object to rotate frame 1 into frame 2";
end relativeRotation;

Generated at 2024-04-28T18:16:21Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos