Hello all,
I am analyzing a static pose of a human holding a nailer (nail gun). I want to capture these poses in a motion capture system.I have already captured six poses with the motion capture system available to me.I took the existing motion capture model in AnyBody and modified it such that only the head, trunk, right arm and pelvis are present.I also commented out all the markers not on the segments of interest.I did this because I am only interested in the joint angles of the right arm.Upon placing the corresponding .c3d file into the appropriate folder and adjusting the TrialSpecificData.any file to reference my .c3d file, I ran the “runmotionanparameteroptimizationsequence” operation.I got the following error message:
Macro command : RunMotionAndParameterOptimizationSequence(3:5)> classoperation Main.Studies.ParameterIdentification “Save design” --file="…/Input/FullBody-Vertical_X-OptimizedParameters.txt"
Main.Studies.ParameterIdentification : Saving design…
Macro command : RunMotionAndParameterOptimizationSequence(4:5)> operation Main.Studies.MotionOptimization.Kinematics
Macro command : RunMotionAndParameterOptimizationSequence(5:5)> run
5.0) Kinematics (Operation: Main.Studies.MotionOptimization.Kinematics):
5.0.0) PreOperation (Operation: Main.Studies.MotionOptimization.Kinematics.PreOperation):
5.0.0.0) InitialConditions (Operation: Main.Studies.MotionOptimization.InitialConditions):
5.0.0.0) …Design variables have been updated.
5.0.0.1) …Load-time positions have been re-established.
WARNING! NAN reached!
Unexpected error in computational kernel
Constraint no. #0 in ‘Main.Studies.HumanModel.BodyModel.Right.ShoulderArm.Mus.ArtificialRake.LinCom2Drv’ above error tolerance 0.000001, error = 0.100000.
ERROR(OBJ.MCH.KIN3) : //c…v/p…e/M606/kwn2/N…2/A…h/M…A/M…A/M…A/M…l/Kinematics.any(74) : MotionOptimization.InitialConditions : Kinematic analysis failed in time step 0
[FONT=Calibri]I am mainly interested in solving the last message regarding the kinematic analysis failing at time step 0. I looked through the AnyBody wiki and discovered that this issue arises when either the model has a poor initial position or initial length of the segments has not been properly set from measured data.I adjusted the initial position of the pelvis both through changing the translational and rotational properties.I also have used measured segment lengths that I obtained from the subject.The position of the model seems reasonable.Even with making all these changes, I still get the kinematic analysis error.I have attached two versions of the model.The first is with the pelvis only being adjusted.The second, “MyMoCapModel_BaseUAA”, has both the position of the pelvis adjusted and the joint angles of the arm adjusted.Could someone take a look at either model and find something that I am missing in fixing this problem?I would greatly appreciate any help.[/FONT]
[FONT=Calibri]Thanks,[/FONT]
[FONT=Calibri]Brandon [/FONT]
PS
The model I’m using in each folder is the fullbody model.