functionto_T
Return transformation matrix T from quaternion orientation object Q
Extends from Modelica.Icons.Function (Icon for functions).
Information
Syntax
T = Quaternions.to_T(Q);
Description
This function returns a real matrix T computed from a quaternions orientation Q. The matrix T is considered to be an object transformation matrix.
See also
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Quaternions.Orientation | Q | Quaternions orientation object to rotate frame 1 into frame 2 |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[3,3] | T | Transformation matrix to transform vector from frame 1 to frame 2 (v2=T*v1) |