TransformAbsoluteVector

Transform absolute vector in to another frame

    TransformAbsoluteVector

Library

Modelica/Mechanics/MultiBody/Sensors

Description

The input vector "Real r_in[3]" is assumed to be an absolute kinematic quantityof frame_a that is defined to be resolved in the frame definedwith parameter "frame_r_in". This model resolves vector r_in in thecoordinate system defined with parameter "frame_r_out" and returns thetransformed output vector as "Real r_out[3]";

Parameters

TransformAbsoluteVector_0

NameLabelDescriptionData TypeValid Values

mo_frame_r_in

frame_r_in

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

Structure

mo_frame_r_in/choice1

Resolve in world frame

Number

0
1

mo_frame_r_in/choice2

Resolve in frame_a

Number

0
1

mo_frame_r_in/choice3

Resolve in frame_resolve (frame_resolve must be connected)

Number

0
1

mo_frame_r_out

frame_r_out

Frame in which vector r_in shall be resolved and provided as r_out (world, frame_a, or frame_resolve)

Structure

mo_frame_r_out/choice1

Resolve in world frame

Number

0
1

mo_frame_r_out/choice2

Resolve in frame_a

Number

0
1

mo_frame_r_out/choice3

Resolve in frame_resolve (frame_resolve must be connected)

Number

0
1

TransformAbsoluteVector_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 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