functionresolve1
Transform vector from frame 2 to frame 1
Extends from Modelica.Icons.Function (Icon for functions).
Information
Syntax
v1 = Quaternions.resolve1(Q, v2);
Description
This function returns vector v resolved in frame 1 (=v1) from vector v resolved in frame 2 (=v2) using the quaternions orientation Q that describes the orientation to rotate frame 1 into frame 2.
See also
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Quaternions.Orientation | Q | Quaternions orientation object to rotate frame 1 into frame 2 | |
| Real[3] | v2 | Vector in frame 2 |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[3] | v1 | Vector in frame 1 |