BasicRelativePosition
Measure relative position and orientation (same as Sensors.RelativePosition, but frame_resolve is not conditional and must be connected)
Library
PlanarMechanics/Sensors/Internal
Description
This icon is designed for a rotational sensor model.
Parameters
Name | Label | Description | Data Type | Valid 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 | |
mo_resolveInFrame/choice2 | Modelica.Mechanics.MultiBody.Types.ResolveInFrameAB.frame_a | Number | 0 | |
mo_resolveInFrame/choice3 | Modelica.Mechanics.MultiBody.Types.ResolveInFrameAB.frame_b | Number | 0 | |
mo_resolveInFrame/choice4 | Modelica.Mechanics.MultiBody.Types.ResolveInFrameAB.frame_resolve | Number | 0 |
Name | Label | Description | Data Type | Valid 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' | |
mo__modifiers/value | Value |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
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 |