Measure cut torque vector
The cut-torque acting between the two frames to which this model is connected, is determined and provided at the output signal connector torque (= frame_a.t). If parameter positiveSign = false, the negative cut-torque is provided (= frame_b.t).
Via parameter resolveInFrame it is defined, in which frame the torque 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 torque 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 CutTorque sensor is shown. The dark blue coordinate system is frame_b, and the green arrow is the cut torque 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)|
|torque||RealOutput||Cut torque 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 torque with positive sign is returned (= frame_a.t), otherwise with negative sign (= frame_b.t)|