.Modelica.Mechanics.MultiBody.Frames.relativeRotation

Information

Syntax

R_rel = Frames.relativeRotation(R1,R2);

Description

The function call Frames.relativeRotation(R1,R2) returns orientation object R_rel that describes the orientation to rotate frame 1 to frame 2 from the orientation object R1 that describes the orientation to rotate from frame 0 to frame 1 and from the orientation object R2 that describes the orientation to rotate from frame 0 to frame 2.

See also

TransformationMatrices.relativeRotation, Quaternions.relativeRotation.

Interface

function relativeRotation
  extends Modelica.Icons.Function;
  input Orientation R1 "Orientation object to rotate frame 0 into frame 1";
  input Orientation R2 "Orientation object to rotate frame 0 into frame 2";
  output Orientation R_rel "Orientation object to rotate frame 1 into frame 2";
end relativeRotation;

Generated at 2024-03-27T19:15:56Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos