Hi Søren
I am very sorry for not seeing the ";" Thank you for your reply. The line of AnyVar MomentOnJoint still seems to be a problem. How can I import the knee joint angle during the gait into the function to get the moment arm of the gait? I don't know how to write it. I got this error when I wrote like this:
ERROR(SCR.EXP0) : E:/AMMR..cap/A..0/T..s/A..p/AnyMoCapModel.any(24) : 'MomentOnJoint' : Error in expression. Please refer to the following error messages for details ...
ERROR(SCR.EXP1) : E:/AMMR..cap/A..0/T..s/A..p/AnyMoCapModel.any(24) : Operator '=' : Illegal operation for given argument types : 'AnyFloat' '=' 'AnyFloat[1]'
AnyVar MomentOnJoint=Momentcurve(Main.HumanModel.BodyModel.Interface.Right.KneeFlexion.Pos)*Main.HumanModel.BodyModel.Right.Leg.Mus.RectusFemoris1.Ft;
Best regards
zzs22500