What’s the meaning of this function-AnyForceMomentMeasure2 ?


there are AnyRefFrame, AnyForceBase, AnySeg, and AnyVec3 in the definition of ExoForceOnShankKnee. Does this mean the ExoForce is applied on HumRef by ExoThighFront? So that means there is a pair of forces between HumRef and ExoThighFront? Additionally, FLocal, and MLocal are used to record the localized force and moment. What‘s the orientation of this force?Thanks!

AnyFolder ResultantExoForceOnKnee = {
   AnyForceMomentMeasure2 ExoForceOnShankKnee = {
     AnyRefFrame &HumRef = Main.HumanModel.BodyModel.Left.Leg.Seg.Shank.KneeJoint.KneeNodeRotated;
     AnyForceBase &ExoForce = Main.ExoV2.ForceFile_Left.Force_Left;
     AnySeg &ExoThighFront = Main.ExoV2.Left.Thigh_Segment___1;
     // Exo Thigh Force on Knee in Human Shank ref system. Extension moment by exo results as
     // positive moment about Y-axis. 
     AnyVec3 FLocal = F * HumRef.Axes;
     AnyVec3 MLocal = M * HumRef.Axes;    
 }; // Exo Force On Knee

Thank you very much!



Hi TJ,

Please see the documentation of AnyForceMomentMeasure and AnyForceMomentMeasure2 and the class examples provided to understand the meaning of AnyForceMomentMeasure2.

AnyForceMomentMeasure2 only measures force and not applies a force.

FLocal and MLocal are defined to orient the coordinate system according to the axes of the HumRef.

Best regards,