functionresolveRelative
Transform vector from frame 1 to frame 2 using absolute orientation objects of frame 1 and of frame 2
Extends from Modelica.Icons.Function (Icon for functions).
Information
Syntax
v2 = Frames.resolveRelative(v1, R1, R2);
Description
The function call Frames.resolveRelative(v1,R1,R2) returns vector v
resolved in frame 2 (= v1) from vector v resolved in frame 1 (= v1) given the
orientation object R1 that describes the orientation to rotate frame 0 into frame 1 and
orientation object R2 that describes the orientation to rotate frame 0 into frame 2.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[3] | v1 | Vector in frame 1 | |
| 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 |
|---|---|---|---|
| Real[3] | v2 | Vector in frame 2 |