resolveRelative

Transform vector from frame 1 to frame 2 using absolute orientation objects of frame 1 and of frame 2

Information

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

Syntax

v2 = Frames.resolveRelative(v1, R1, R2);

Description

The function call Frames.resolveRelative(v1,R1,R2) returns vector v resolved in frame 2 (= v1) from vector v resolved in frame 1 (= v1) given the orientation object R1 that describes the orientation to rotate frame 0 into frame 1 and orientation object R2 that describes the orientation to rotate frame 0 into frame 2.

Syntax

v2 = resolveRelative(v1, R1, R2)

Inputs (3)

v1

Type: Real[3]

Description: Vector in frame 1

R1

Type: Orientation

Description: Orientation object to rotate frame 0 into frame 1

R2

Type: Orientation

Description: Orientation object to rotate frame 0 into frame 2

Outputs (1)

v2

Type: Real[3]

Description: Vector in frame 2