WOLFRAM SYSTEM MODELER

planarRotation

Return quaternion orientation object of a planar rotation

Wolfram Language

In[1]:=
SystemModel["Modelica.Mechanics.MultiBody.Frames.Quaternions.planarRotation"]
Out[1]:=

Information

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

Syntax

Q = Quaternions.planarRotation(e, angle);

Description

This function returns quaternions orientation Q that describes the orientation to rotate in the plane along unit axis e from frame 1 into frame 2 with angle angle. Note, "e" must be a unit vector. However, this is not checked in this function and the function will return a wrong result, if length(e) is not one.

See also

Frames.planarRotation, TransformationMatrices.planarRotation.

Syntax

Q = planarRotation(e, angle)

Inputs (2)

e

Type: Real[3]

Description: Normalized axis of rotation (must have length=1)

angle

Type: Angle (rad)

Description: Rotation angle to rotate frame 1 into frame 2 along axis e

Outputs (1)

Q

Type: Orientation

Description: Quaternions orientation object to rotate frame 1 into frame 2 along axis e