BasicRelativePosition

Measure relative position and orientation (same as Sensors.RelativePosition, but frame_resolve is not conditional and must be connected)

    BasicRelativePosition

Library

PlanarMechanics/Sensors/Internal

Description

This icon is designed for a rotational sensor model.

Parameters

BasicRelativePosition_0

NameLabelDescriptionData TypeValid Values

mo_resolveInFrame

resolveInFrame

Frame in which output vector r_rel is resolved (1: world, 2: frame_a, 3: frame_b, 4: frame_resolve)

Structure

mo_resolveInFrame/choice1

Modelica.Mechanics.MultiBody.Types.ResolveInFrameAB.world

Number

0
1

mo_resolveInFrame/choice2

Modelica.Mechanics.MultiBody.Types.ResolveInFrameAB.frame_a

Number

0
1

mo_resolveInFrame/choice3

Modelica.Mechanics.MultiBody.Types.ResolveInFrameAB.frame_b

Number

0
1

mo_resolveInFrame/choice4

Modelica.Mechanics.MultiBody.Types.ResolveInFrameAB.frame_resolve

Number

0
1

BasicRelativePosition_1

NameLabelDescriptionData TypeValid Values

mo__nmodifiers

Number of Modifiers

Specifies the number of modifiers

Number

mo__modifiers

Modifiers

Add new modifier

Structure

mo__modifiers/varname

Variable name

Cell of strings

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

frame_a

implicit

Coordinate system a (measurement is between frame_a and frame_b)

input

1

frame_b

implicit

Coordinate system b (measurement is between frame_a and frame_b)

input

2

frame_resolve

implicit

Coordinate system in which vector is optionally resolved

output

1

r_rel

implicit

Vector of relative measurements from frame_a to frame_b on position level, resolved in frame defined by resolveInFrame

output

2

See Also