functionfrom_Q
Return orientation object R from quaternion orientation object Q
Extends from Modelica.Icons.Function (Icon for functions).
Information
Syntax
R = Frames.from_Q(Q, w);
Description
This function returns an orientation object R computed from a quaternion object Q and an angular velocity vector w.
See also
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Quaternions.Orientation | Q | Quaternions orientation object to rotate frame 1 into frame 2 | |
| SI.AngularVelocity[3] | w | Angular velocity from frame 2 with respect to frame 1, resolved in frame 2 |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Orientation | R | Orientation object to rotate frame 1 into frame 2 |