.Modelica.Mechanics.MultiBody.Frames.Quaternions.Orientation

Information

This type describes the rotation to rotate a frame 1 into a frame 2 using quaternions (also called Euler parameters) according to the following definition:

Quaternions.Orientation Q;
Real  n[3];
Real  phi(unit="rad");
Q = [ n*sin(phi/2)
        cos(phi/2) ]

where "n" is the axis of rotation to rotate frame 1 into frame 2 and "phi" is the rotation angle for this rotation. Vector "n" is either resolved in frame 1 or in frame 2 (the result is the same since the coordinates of "n" with respect to frame 1 are identical to its coordinates with respect to frame 2).

The term "quaternions" is preferred over the historically more reasonable "Euler parameters" in order to not get confused with Modelica "parameters".

Contents

Name Description
 equalityConstraint Return the constraint residues to express that two frames have the same quaternion orientation

Generated at 2020-06-05T21:39:08Z by OpenModelica 1.16.0~dev-442-g2e5bc9f