functionto_T_inv
Return inverse transformation matrix T_inv from quaternion orientation object Q
Extends from Modelica.Icons.Function (Icon for functions).
Information
Syntax
T_inv = Quaternions.to_T_inv(Q);
Description
This function returns a real matrix T_inv computed from a quaternions orientation Q. The matrix T is considered to be an inverse transformation matrix.
See also
to_T, from_T_inv, Frames.to_T_inv, TransformationMatrices.to_T_inv.
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_inv | Transformation matrix to transform vector from frame 2 to frame 1 (v1=T*v2) |