BasicAbsoluteAngularVelocity

Basic sensor to measure absolute angular velocity

    BasicAbsoluteAngularVelocity

Library

Modelica/Mechanics/MultiBody/Sensors/Internal

Description

This basic sensor is aimed to be used within advanced sensors wherethe absolute angular velocity of frame_a should be determined.This vector is provided at the output signal connector w.

Via parameter resolveInFrame it is defined, in which framethe angular velocity 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_resolveis always enabled and must be connected.If resolveInFrame = Types.ResolveInFrameA.frame_resolve, the vector w isresolved in the frame to which frame_resolve is connected.

Example

If resolveInFrame = Types.ResolveInFrameA.frame_a, the output vector iscomputed as:

w = MultiBody.Frames.angularVelocity2(frame_a.R);

Parameters

BasicAbsoluteAngularVelocity_0

NameLabelDescriptionData TypeValid Values

mo_resolveInFrame

resolveInFrame

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

Structure

mo_resolveInFrame/choice1

Resolve in world frame

Number

0
1

mo_resolveInFrame/choice2

Resolve in frame_a

Number

0
1

mo_resolveInFrame/choice3

Resolve in frame_resolve (frame_resolve must be connected)

Number

0
1

BasicAbsoluteAngularVelocity_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 kinematic quantities are measured

input

1

frame_resolve

implicit

Coordinate system in which output vector(s) is optionally resolved

output

1

w

implicit

Absolute angular velocity vector

output

2