Hi AnyBody support,
I want to use c3d data but receive error message (‘PosInterpol’ : Unresolved object)
In addition , I use Plug-in-Gait Placement and marker names.
Please tell me mistakes.
sambom
Hi AnyBody support,
I want to use c3d data but receive error message (‘PosInterpol’ : Unresolved object)
In addition , I use Plug-in-Gait Placement and marker names.
Please tell me mistakes.
sambom
Please follow this guidelines
http://wiki.anyscript.org/index.php/How_to_setup_your_own_MoCap_driven_Model
Just click on the hyperlink and the comment the markers out to which the links is directing you. It just means that you don’t have the markers required for the current configuration.
Thank you for message.
Sorry, AMS version is 5.0.0 and AMMR version is 1.3.1.
I receive new error message of ERROR(SCR.PRS9) : C:/D…s/A…r/M…s/D…s/A…1/A…1/A…n/E…s/G…y/Mannequin.any : ‘RASI’ : Unresolved object.
Is this reason the markers required for the current configuration?
sambom
Good morning Sambom,
these are the marker names required by the model (to be found in the ModelSetup.any):
MarkerLabels = {“RFHD”,“LFHD”,“RBHD”,“LBHD”,“CLAV”,“C7”,“T10”,“STRN”,“RBAK”,“RSHO”,“LSHO”,“RUPA”,“LUPA”,“RELB”,“LELB”,“RFRA”,“LFRA”,“RWRA”,“LWRA”,“RWRB”,“LWRB”,“RFIN”,“LFIN”,“RASI”,
“LASI”,“RPSI”,“LPSI”,“RTHI”,“LTHI”,“RKNE”,“LKNE”,“RTIB”,“LTIB”,“RANK”,“LANK”,“RHEE”,“LHEE”,“RTOE”,“LTOE”,“RMT5”,“LMT5”};
If you now take a look at the marker names in your C3D file you can easily see the problem as all those names have a “Skeleton_” as a prefix in your file. Either you’ll have to change the marker names in the ModelSetup.any or in your C3D file to make them compatible.
In the ModelSetup.any you’ll need to change those mentioned above as well as all the names in the CreateMarkerTD macros. You could search and replace (press ctrl+h) "CreateMarkerTD " by “CreateMarkerTD Skeleton_” and “MarkerName=PrefixDef(” by “MarkerName=PrefixDef(Skeleton_”. This should propably be the fastest way.
For changing the names in the C3D you could use mokka (http://code.google.com/p/b-tk/).
Hi Patrick,
Thanks for your nice explanation.
Best regards,
Moonki
Thank you parady.
I download “C3D server” using your introducing URL.
Can I change maker names by using this file ?
Sambom,
it is possible to use c3d server but that would be a bit to complex for your problem. Please use the Mokka software I mentioned. The files are called:
[ul]
[li]Mokka-0.5.1_win32.zip[/li][li] Mokka-0.5.1_win64.zip[/li][/ul]
Thank you for message , parady .
I changed marker names by your advice.
But, I receive new error message of ERROR(SCR.PRS9) : C:/D…s/A…r/M…s/D…s/A…1/A…1/A…n/E…s/G…y/EnvironmentAutoDetection.any : Defined At : C:/D…s/A…r/M…s/D…s/A…1/A…1/A…n/E…s/G…y/EnvironmentAutoDetection.any : ‘Fx1’ : Unresolved object
I don’t input my force plate data.
I think it causes new error message .How do you think?
Maybe just comment the EnvironmentAutoDetection.any out.
Thank you for message , parady .
I try to comment the EnvironmentAutoDetection.any out.
But I receive new error message of ERROR(SCR.PRS9) : C:/D…s/A…r/M…s/D…s/A…1/A…1/A…n/E…s/G…y/ModelSetup.arena.any : Defined At : C:/D…s/A…r/M…s/D…s/A…1/A…1/Body/A…n/T…x/M…p/CreateMarkerClassTD.any : ‘GlobalRef’ : Unresolved object
I don’t understand cause.
Please upload your current model.
Sorry.
Please check it.
You are trying to load the InverseDynamicModel. You should run the kinematic optimisation first… If that works we can think about further problems.
Thank you for message , parady .
I changed MotionAndParameterOptimizationModel 1 and InverseDynamicModel 0
.
But, I can’t run and see Model View.
Sorry, I can see Model View.
But I can’t run InverseDynamics.
ERROR(OBJ.MCH.KIN3) : C:/D…s/A…r/M…s/D…s/A…1/A…1/A…n/E…s/G…y/GaitFullBody.arena.main0810.any : KinematicStudyForParameterIdentification.InitialConditions : Kinematic analysis failed in time step 0
It is the error message.Are marker’s initial positions bad?
Sorry, I can see Model View.
But I can’t run InverseDynamics.
ERROR(OBJ.MCH.KIN3) : C:/D…s/A…r/M…s/D…s/A…1/A…1/A…n/E…s/G…y/GaitFullBody.arena.main0810.any : KinematicStudyForParameterIdentification.InitialConditions : Kinematic analysis failed in time step 0
It is the error message.Are marker’s initial positions bad?
First of all you should clean up your folder, it’s hard to guess which of the three main files is the one you are using at the moment.
I think you are trying to run the kinematic optimisation now, aren’t you? The inverse dynamics will fail in any case at this point.
If you look at the c3d file and the motion of the HD markers it is easy to understand that no human model can do motions like that. Maybe some alien with 4 heads that jerk around could fit these trajectories Try to label them again! Maybe something can be achieved by that.
And you should use these values for a proper startin position of you model:
AnyVar PelvisRotZ = 90;
AnyVar PelvisRotY = 0;
AnyVar PelvisRotX = 90
If you exclude the HD markers and add:
AnyKinEqSimpleDriverNeckDrv=
{
AnyKinMeasureOrg&ref0=…HumanModel.BodyModel.Interface.Trunk.NeckJoint;
DriverPos=pi/180*{.JntPos.NeckExtension};
DriverVel=pi/180*{.JntVel.NeckExtension};
Reaction.Type={Off};
};
to the ExtraDrivers.any the kinematic optimisation runs a lot longer but fails nevertheless. You should check all the marker movements because I belive the labeling hasn’t been done very properly. Also there are some gaps in the marker trajectories…
Thank you for message , parady .
Sorry, I clean up the folder.
I challenge to use different c3d file.
I challenged to use modified c3d file and new c3d file.
But they become error.
The former has ERROR(OBJ.MCH.MUS4) : C:/D…s/A…r/M…s/D…s/A…1/A…1/A…n/E…s/G…y/GaitFullBody.arena.main0815.any : KinematicStudyForParameterIdentification.InverseDynamics : Muscle recruitment solver : solver aborted due to singular KKT matrix
the latter has ERROR(SCR.PRS9) : C:/D…s/A…r/M…s/D…s/A…1/A…1/A…n/E…s/・.y/ModelSetup.arena.any : Defined At : C:/D…s/A…r/M…s/D…s/A…1/A…1/Body/A…n/T…x/M…p/CreateMarkerClassTD.any : ‘PosInterpol’ : Unresolved object
Although the former file remains odd marker movements, I have new error message.
Although I changed latter file’s marker names, I have same error message.
I attach two file. Please tell me mistakes.