.Modelica.Mechanics.MultiBody.Frames.TransformationMatrices.Orientation

Information

This type describes the rotation from a frame 1 into a frame 2. An instance R of type Orientation has the following interpretation:

T = [ex, ey, ez];
    e.g., T = [1,0,0; 0,1,0; 0,0,1]

where ex,ey,ez are unit vectors in the direction of the x-axis, y-axis, and z-axis of frame 1, resolved in frame 2, respectively. Therefore, if v1 is vector v resolved in frame 1 and v2 is vector v resolved in frame 2, the following relationship holds:

v2 = T * v1

The inverse orientation T_inv = TT describes the rotation from frame 2 into frame 1.

Since the orientation is described by 9 variables, there are 6 constraints between these variables. These constraints are defined in function TransformationMatrices.orientationConstraint.

Note, that in the MultiBody library the rotation object is never directly accessed but only with the access functions provided in package TransformationMatrices. As a consequence, other implementations of Rotation can be defined by adapting this package correspondingly.

Contents

NameDescription
 equalityConstraintReturn the constraint residues to express that two frames have the same orientation

Generated at 2024-11-23T19:25:52Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos