Measure absolute position vector of the origin of a frame connector
The absolute position vector of the origin of frame_a is determined and provided at the output signal connector r.
Via parameter resolveInFrame it is defined, in which frame the position vector is resolved:
|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 r 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:
r = MultiBody.Frames.resolve2(frame_a.R, frame_b.r_0);
|frame_a||Frame_a||Coordinate system at which the kinematic quantities are measured|
|r||RealOutput||Absolute position vector resolved in frame defined by resolveInFrame|
|frame_resolve||Frame_resolve||Coordinate system in which output vector r is optionally resolved|
|resolveInFrame||ResolveInFrameA||Modelica.Mechanics.MultiBody.Types.ResolveInFrameA.frame_a||Frame in which output vector r shall be resolved (1: world, 2: frame_a, 3:frame_resolve)|
|Modelica.Mechanics.MultiBody.Sensors.AbsoluteSensorMeasure absolute kinematic quantities of frame connector|