Measure cut force vector
The cut-force acting between the two frames to which this model is connected, is determined and provided at the output signal connector force (= frame_a.f). If parameter positiveSign = false, the negative cut-force is provided (= frame_b.f).
Via parameter resolveInFrame it is defined, in which frame the force vector is resolved:
|world||Resolve vector in world frame|
|frame_a||Resolve vector in frame_a|
|frame_b||Resolve vector in frame_b|
|frame_resolve||Resolve vector in frame_resolve|
If resolveInFrame = Types.ResolveInFrameAB.frame_resolve, the conditional connector "frame_resolve" is enabled and output force is resolved in the frame, to which frame_resolve is connected. Note, if this connector is enabled, it must be connected.
In the following figure the animation of a CutForce sensor is shown. The dark blue coordinate system is frame_b, and the green arrow is the cut force acting at frame_b and with negative sign at frame_a.
|frame_a||Frame_a||Coordinate system a|
|frame_b||Frame_b||Coordinate system b|
|frame_resolve||Frame_resolve||Output vectors are optionally resolved in this frame (cut-force/-torque are set to zero)|
|force||RealOutput||Cut force resolved in frame defined by resolveInFrame|
|resolveInFrame||ResolveInFrameA||Modelica.Mechanics.MultiBody.Types.ResolveInFrameA.frame_a||Frame in which output vector(s) is/are resolved (1: world, 2: frame_a, 3: frame_resolve)|
|animation||Boolean||true||= true, if animation shall be enabled (show arrow)|
|positiveSign||Boolean||true||= true, if force with positive sign is returned (= frame_a.f), otherwise with negative sign (= frame_b.f)|