from_Q

Return orientation object R from quaternion orientation object Q

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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

to_Q. TransformationMatrices.from_Q.

Syntax

R = from_Q(Q, w)

Inputs (2)

Q

Type: Orientation

Description: Quaternions orientation object to rotate frame 1 into frame 2

w

Type: AngularVelocity[3] (rad/s)

Description: Angular velocity from frame 2 with respect to frame 1, resolved in frame 2

Outputs (1)

R

Type: Orientation

Description: Orientation object to rotate frame 1 into frame 2