Hi
I am using OpenCap to obtain the kinematics information which is given in .trc format. After converting this file to c3D format, I found that the markers are 16 units less than the AnyBody, which are all from the upper part body. For example, the markers annotated as red box are not found in my c3D data, so i eliminated those markers in MarkerProtocol.any .
The names of the markers between my c3D data and anybody were also quite different, so I manually changed the markers' names to match the AnyBody. I use the AnyBody sample application file - Plug-in-gait-Simple and using the main file named "FullBody_GRFPrediction.main" to run my motion capture data.
The errors as shown keep happening. It started from
Constraint #23 is above tolerance 0.001, error = 0.008946, constr. #2 in 'Main.HumanModel.BodyModel.Trunk.JointsLumbar.SpineRhythmDrv'.
to
Constraint #410 is above tolerance 0.001, error = 0.012513, segment constr. 'Main.HumanModel.BodyModel.Left.Leg.Seg.Patella'.
I changed the
#define BM_MANNEQUIN_DRIVER_DEFAULT ON
and the kinematics tolerance in the KinematicStudyForParameterIdentificationSettings.any from 1e-6 to 1e-3, the same issues happened. Finally, when I changed to 1e0 (although know it is the wrong setting), the errors left only a few lines as shown:
Progressing to solve kinematic optimality conditions and hard constraints.
Progressing to solve kinematic optimality conditions and hard constraints.
Progressing to solve kinematic optimality conditions and hard constraints.
Progressing to solve kinematic optimality conditions and hard constraints.
Failed to solve kinematic optimality conditions and hard constraints after 5 fallback attemps.
Constraint violations for study 'Main.Studies.ParameterIdentification.KinematicStudyForParameterIdentification' :
ERROR(OBJ.MCH.KIN3) : KinematicStudyForParameterIdentification.any(11) : KinematicStudyForParameterIdentification.InitialConditions : Kinematic analysis failed in time step 0 : Position analysis is not completed
May I know what the possible reasons for causing this to happen? Please advise
The picture below is how the model looks like at the moment it failed