--- a +++ b/Application/Examples/LegPressMachine/Model/TrialSpecificData.any @@ -0,0 +1,78 @@ +AnyFolder TrialSpecificData= +{ + AnyVar tStart = 0.0; + AnyVar tEnd = 4.0; + AnyIntVar nStep = round(tEnd-tStart)*30 +1; + + AnyVector TimeVector = (tEnd-tStart)*{-0.1, 0, 0.1, 0.3, 0.5, 0.7, 0.9, 1.0, 1.1} + + tStart*{1, 1, 1, 1, 1, 1, 1, 1, 1}; + AnyVector KneeFlexionAngleVector = {50, 50, 50, 5, 5, 5, 50, 50, 50}; + AnyFunInterpol KneeAngleFunc = + { + Type = Bspline; + T = .TimeVector ; + Data = {.KneeFlexionAngleVector}; + }; + + AnyFolder InitialPositionOfBody = + { + AnyVar PelvisPosX=0.05; + AnyVar PelvisPosY=0.25; + AnyVar PelvisPosZ=0; + + AnyVar PelvisRotX = 0; + AnyVar PelvisRotY = 0; + AnyVar PelvisRotZ = 180-Main.Parameters.DesignParameters.Back_Rest_Tilt_Angle; + + AnyVar PelvisThoraxExtension=-35; + AnyVar PelvisThoraxLateralBending=0; + AnyVar PelvisThoraxRotation=0; + + AnyVar NeckExtension=12; + AnyVar NeckLateralBending=0; + AnyVar NeckRotation=0; + + AnyFolder Right= + { + AnyVar GlenohumeralFlexion = -7.880204; + AnyVar GlenohumeralAbduction = 17.54994; + AnyVar GlenohumeralExternalRotation = 14.14362; + + AnyVar ElbowFlexion = 40.92776; + AnyVar ElbowPronation = 0.0; + + AnyVar WristFlexion =0; + AnyVar WristAbduction =0; + + //Leg + AnyVar HipFlexion = 120.0; + AnyVar HipAbduction = 0.0; + AnyVar HipExternalRotation = 10.0; + //AnyVar KneeFlexion = 40.0; + AnyVar KneeFlexion = ..KneeAngleFunc(..tStart)[0]; + AnyVar AnklePlantarFlexion =0.0; + AnyVar SubTalarEversion = 0; + }; + + AnyFolder Left = + { + AnyVar GlenohumeralFlexion = .Right.GlenohumeralFlexion ; + AnyVar GlenohumeralAbduction =.Right.GlenohumeralAbduction ; + AnyVar GlenohumeralExternalRotation =.Right.GlenohumeralExternalRotation ; + + AnyVar ElbowFlexion = .Right.ElbowFlexion; + AnyVar ElbowPronation = .Right.ElbowPronation; + AnyVar WristFlexion =.Right.WristFlexion; + AnyVar WristAbduction =.Right.WristAbduction; + + //Leg + AnyVar HipFlexion =.Right.HipFlexion; + AnyVar HipAbduction =.Right.HipAbduction; + AnyVar HipExternalRotation = .Right.HipExternalRotation; + AnyVar KneeFlexion = .Right.KneeFlexion; + AnyVar AnklePlantarFlexion = .Right.AnklePlantarFlexion ; + AnyVar SubTalarEversion = .Right.SubTalarEversion; + }; + }; + +}; \ No newline at end of file