modelAbsoluteAngularVelocity
Measure absolute angular velocity of frame connector
Extends from Internal.PartialAbsoluteSensor (Base class for absolute sensor models).
Information
The absolute angular velocity of frame_a with respect to the world frame is determined and provided at the output signal connector w.
Via parameter resolveInFrame it is defined, in which frame the 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 |
If resolveInFrame = Types.ResolveInFrameA.frame_resolve, the conditional connector "frame_resolve" is enabled and w is resolved in the frame, to which frame_resolve is connected. Note, if this connector is enabled, it must be connected.
Example
If resolveInFrame = Types.ResolveInFrameA.frame_a, the output vector is computed as:
w = MultiBody.Frames.angularVelocity2(frame_a.R);
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Mechanics.MultiBody.Types.ResolveInFrameA | resolveInFrame | Modelica.Mechanics.MultiBody.Types.ResolveInFrameA.frame_a | Frame in which output vector w shall be resolved (world, frame_a, or frame_resolve) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Mechanics.MultiBody.Interfaces.Frame_a | frame_a (from PartialAbsoluteSensor) | Coordinate system a of which the absolute kinematic quantities are measured | |
| Blocks.Interfaces.RealOutput[3] | w | Absolute angular velocity vector of frame_a with respect to world frame, resolved in frame defined by resolveInFrame | |
| Modelica.Mechanics.MultiBody.Interfaces.Frame_resolve | frame_resolve | Coordinate system in which w is optionally resolved |