BasicTransformAbsoluteVector

Transform absolute vector into another frame

Information

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

This basic sensor transforms an absolute 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.ResolveInFrameA.
Meaning
world Resolve vector in world frame
frame_a Resolve vector in frame_a
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.ResolveInFrameA.frame_a

Type: ResolveInFrameA

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

frame_r_out

Value: frame_r_in

Type: ResolveInFrameA

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

Connectors (4)

frame_a

Type: Frame_a

Description: Coordinate system from which absolute kinematic quantities are measured

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)

TransformAbsoluteVector

Modelica.Mechanics.MultiBody.Sensors

Transform absolute vector in to another frame