functionrelativeRotation
Return relative orientation object
Extends from Modelica.Icons.Function (Icon for functions).
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.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Orientation | R1 | Orientation object to rotate frame 0 into frame 1 | |
| Orientation | R2 | Orientation object to rotate frame 0 into frame 2 |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Orientation | R_rel | Orientation object to rotate frame 1 into frame 2 |