resolve2

Transform vector from frame 1 to frame 2

Information

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

Syntax

v2 = Quaternions.resolve2(Q, v1);

Description

This function returns vector v resolved in frame 2 (=v2) from vector v resolved in frame 1 (=v1) using the quaternions orientation Q that describes the orientation to rotate frame 1 into frame 2.

See also

resolve1, Frames.resolve2, TransformationMatrices.resolve2.

Syntax

v2 = resolve2(Q, v1)

Inputs (2)

Q

Type: Orientation

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

v1

Type: Real[3]

Description: Vector in frame 1

Outputs (1)

v2

Type: Real[3]

Description: Vector in frame 2