functionresolveRelative

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

Extends from Modelica.Icons.Function (Icon for functions).

Information

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.

Inputs

TypeNameDefaultDescription
Real[3]v1Vector in frame 1
OrientationR1Orientation object to rotate frame 0 into frame 1
OrientationR2Orientation object to rotate frame 0 into frame 2

Outputs

TypeNameDefaultDescription
Real[3]v2Vector in frame 2