Error with AnyFunInterpol

Good day,

I was working on adapting a model of a TKA knee with FDK which was developed at our group some time ago and during some test simulations, we received errors regarding an interpolation function. Assuming it was some backwards compatibility issue with our older model, we managed to resolve this by using an older version (7.3.0) of anybody.

However, when i tried (using version 8.0.4) to run a simulation of the 'MOCAP-driven Gait Models with Multiple trials (C3D input)' demo model from the AMMR,
I received the same errors during inverse dynamics in the RunAnalysis sequence:

ERROR(SCR.EXP0) : JointsAndDriversOptimized.any(12) : UpdDriverPos : Error in evaluation. Please refer to the following error messages for details ...
ERROR(SCR.EXP.FUN2) : JointsAndDriversOptimized.any(12) : JntDriverTrunkFull : Error in function InterpolatedData : Called from object JntDriverTrunkFull : Parameter has an invalid value for this interpolation; extrapolations are not allowed.

Assuming the AMMR models are kept up to date, could there be a bug in the AnyFunInterpol function class?

Best regards,
Marnick

Hi Marnick,

Welcome to the AnyScript forum!

It seems to work fine on my end. The error message you see refers to a condition where the study time is beyond the time interval provided in the interpolation function for the joints and drivers file generated by the marker tracking process.

It's possible something has been modified in your demo AMMR that is causing a difference in the start time for marker tracking and inverse dynamics. Please try to install a fresh copy of the demo AMMR from the AnyBody Assistant dialog box and try again.

Best regards,
Dave