resolve1

Transform vector from frame 2 to frame 1

Information

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

Syntax

v1 = Quaternions.resolve1(Q, v2);

Description

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

See also

resolve2, Frames.resolve1, TransformationMatrices.resolve1.

Syntax

v1 = resolve1(Q, v2)

Inputs (2)

Q

Type: Orientation

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

v2

Type: Real[3]

Description: Vector in frame 2

Outputs (1)

v1

Type: Real[3]

Description: Vector in frame 1