TransformAbsoluteVector
Transform absolute vector in to another frame
Library
PlanarMechanics/Sensors
Description
The input vector r_in
is assumed to be an absolutekinematic quantity of frame_a
that is defined to beresolved in the frame defined with parameter frame_r_in
.This model resolves vector r_in
in the coordinatesystem defined with parameter frame_r_out
andreturns the transformed output vector as r_out
.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_frame_r_in | frame_r_in | Frame in which vector r_in is resolved (1: world, 2: frame_a, 3: frame_resolve) | Structure | |
mo_frame_r_in/choice1 | Modelica.Mechanics.MultiBody.Types.ResolveInFrameA.world | Number | 0 | |
mo_frame_r_in/choice2 | Modelica.Mechanics.MultiBody.Types.ResolveInFrameA.frame_a | Number | 0 | |
mo_frame_r_in/choice3 | Modelica.Mechanics.MultiBody.Types.ResolveInFrameA.frame_resolve | Number | 0 | |
mo_frame_r_out | frame_r_out | Frame in which vector r_in shall be resolved and provided as r_out (1: world, 2: frame_a, 3: frame_resolve) | Structure | |
mo_frame_r_out/choice1 | Modelica.Mechanics.MultiBody.Types.ResolveInFrameA.world | Number | 0 | |
mo_frame_r_out/choice2 | Modelica.Mechanics.MultiBody.Types.ResolveInFrameA.frame_a | Number | 0 | |
mo_frame_r_out/choice3 | Modelica.Mechanics.MultiBody.Types.ResolveInFrameA.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 from which absolute kinematic quantities are measured | input | 1 |
r_in | implicit | Input vector resolved in frame defined by frame_r_in | input | 2 |
r_out | implicit | Input vector r_in resolved in frame defined by frame_r_out | output | 1 |
Port 4 | implicit | Coordinate system in which r_in or r_out is optionally resolved | output | (mo_frame_r_in.choice3)||(mo_frame_r_out.choice3) |