Hi Søren,
Thank you for the answers.
I have followed the instruction from wiki as well as from here. (AnyForceMomentMeasure.any example file from the wiki is missing though)
AnyForceMomentMeasure C5C6SegmentJointReactionMeasure =
{
//IncludeForces = ;
//RefPoint = ;
AnyForceBase &reaction = Main.HumanModel.BodyModel.Trunk.JointsCervicalSpine.C6C5Jnt.Constraints.Reaction;
AnyRefFrame &cause = Main.HumanModel.BodyModel.Trunk.SegmentsCervicalSpine.C5Seg.C6C5JntNode;
AnyVec3 Flocal = Main.Studies.InverseDynamicStudy.C5C6SegmentJointReactionMeasure.F*Main.HumanModel.BodyModel.Trunk.SegmentsCervicalSpine.C5Seg.C6C5JntNode.Axes;
};
I put the code inside Main.Studies.InverseDynamicStudy.C5C6SegmentJointReactionMeasure.
My questions are:-
- Does it really matter (in terms of simulation time) where I put the code for AnyForceMomentMeasure (I will need to run simulation to get values for all cervical and lumbar joints for multiple subjects)?
- However, upon checking Flocal, the values are no different from the default JRF in Selected Output. The F (of C5C6SegmentJointReactionMeasure), however, produces 3 different curves which might be the solution that I need. But I couldn't make sense of this output as the order [0,1,2] changed and not sure about the definition either.
Please assist me on this. Thank you.
Kind regards,
Faizal