GRF Prediction: Weak recruited residuals

Hello everyone,

I used GRF prediction for a MoCap-driven model in AMMR 3.2.0. To analyze the failure of the GRF prediction in more detail, I looked at the linear weak recruited residuals.

AnyRecruitedActuator Linear_1 = {
AnyKinMeasure& ref= ..Measures.LinearCOM;
Type = NonNegative;
Strength = 5;
SET_DEFAULT_ACTUATOR_VOLUME;

with three force components:

AnyVar PosX_Force = WeakRecruitedResiduals.Linear_1.Fout[0]+WeakRecruitedResiduals.Linear_2.Fout[0];

AnyVar PosY_Force = WeakRecruitedResiduals.Linear_1.Fout[1]+WeakRecruitedResiduals.Linear_2.Fout[1];

AnyVar PosZ_Force = WeakRecruitedResiduals.Linear_1.Fout[2]+WeakRecruitedResiduals.Linear_2.Fout[2];

In a successful trial (left plot), the residuals are very small, as expected. In a failed trial (right plot), however, the Fout[0], and thus PosX_Force, is significantly increased, also as expected. But the increase in the x-direction confuses me, since I would have expected an increase in the vertical direction (z in the global coordinate system). However, as far as I understand, the segment coordinate systems are not always identical to the global coordinate system. How can I determine which global direction these three residual force components refer to? In other words, in which global direction have the residuals increased the most (Fout[0])?

Thanks for your help.

Best regards,

Caroline

Hi Caroline,

It is an interesting observation. It might be that your model is missing some shear force component from the GRF prediction. It could probably be around toe off that you see these spikes and it could simply be that your contact thresholds need some small adjustments. But I can be wrong about my assumptions :slight_smile:

Regarding your second question, interpreting Fout can be tricky as it depends on how the kinematic measure is setup. You can search for Fout in this forum as it is a question that has been asked and answered many times. You can always find RefFrameOutput.F and M that express the forces in the global coordinate system. And if needed you can convert these global values into a local system of your choice.

Hope that helps.

Best regards,
Dave

Hello Dave,

thank you so much for your reply. I also think that the parameters of the foot-floor contacts might need adjusting. And thanks for the tip about RefOutputFrame.F.

Best regards,

Caroline