BasicTransformRelativeVector

Transform relative vector into another frame

Information

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

This basic sensor transforms a relative vector r_in, resolved in frame defined by frame_r_in, into another frame specified by frame_r_out. This output vector is provided at the output signal connector r_out.

Via parameters frame_r_in and frame_r_out it is defined in which frame the position vector is resolved:

resolveInFrame =
Types.ResolveInFrameAB.
Meaning
world Resolve vector in world frame
frame_a Resolve vector in frame_a
frame_b Resolve vector in frame_b
frame_resolve Resolve vector in frame_resolve

In this basic sensor model, the connector frame_resolve is always enabled and must be connected.

Parameters (2)

frame_r_in

Value: Modelica.Mechanics.MultiBody.Types.ResolveInFrameAB.frame_a

Type: ResolveInFrameAB

Description: Frame in which vector r_in is resolved (world, frame_a, frame_b, or frame_resolve)

frame_r_out

Value: frame_r_in

Type: ResolveInFrameAB

Description: Frame in which vector r_out (= r_in in other frame) is resolved (world, frame_a, frame_b, or frame_resolve)

Connectors (5)

frame_a

Type: Frame_a

Description: Coordinate system a (measurement is between frame_a and frame_b)

frame_b

Type: Frame_b

Description: Coordinate system b (measurement is between frame_a and frame_b)

frame_resolve

Type: Frame_resolve

Description: Coordinate system in which vector is optionally resolved

r_in

Type: RealInput[3]

Description: Input vector resolved in frame defined by frame_r_in

r_out

Type: RealOutput[3]

Description: Input vector r_in resolved in frame defined by frame_r_out

Components (1)

R1

Type: Orientation

Description: Orientation object from world frame to frame in which r_in is resolved

Used in Components (1)

TransformRelativeVector

Modelica.Mechanics.MultiBody.Sensors

Transform relative vector in to another frame