Self Motion Capture Model

Hi,
I am using Anybody Version 6. And I have MoCap model from AMMR.
I have my own markers locations which are about 63 markers. I have my own C3D file.
My question is first I need to update 63 marker positions in markers.any file and then I give path of my C3D file?
or what way should I choose to start with?
Thanks alot for your precious time.
Regards

Hi Malik

I would start by defining the name of the c3d file and then outcomment the makers. To make the model load.

Then you need to add the markers one by one.

Many markers can possibly be reused from the normal model, they just need to be renamed to your specific marker name.

Best regards

Søren

HI Søren,
Thanks for your reply. I added my C3d file. But it showing an error. I am attaching the error snapshot. ‘PosInterpol’. when I click on the error for locating iot it shows something in mannequim.
Looking forward for your kind response.
Regards

Hi

This is because the initial position of pelvis is setup to be automatically calculated based on the ASIS makers and apparently you do not have these in the C3D file.

To fix it, in the mannequin.any change the names of the markers to being used to the names you have… so replace RASIS with the equivalent name in your C3D file.

Best regards
Søren

Dear Sören,
Thanks for reply.
I did changed name of marker accordingly but it still showing error. I am attahing error, MOKKA GUi with markers name and place of error in anyscript.
Looking forward for your kind response.
Regards

Hi,

It looks like you changed the variable name created in the Mannequin file, but not the actual path to the object in C3D file, which this variable relies on. And, this means, this expression cannot find the relevant object. Change the end of the line, not the front.

Regards,
Pavel

Hi,
Thanks alot for your reply. Problem is solved but there is another error. I commented out markers so that my model is loaded but the error which I am facing now is ‘CAL_MATRIX’.
I am attaching error kindly suggest me the possible way out.
Regards,

Hi,
from github self MoCAP model setup there is mentioned about CAL_NMATRIX problem. It is mentioned there to comment out the cal matrix in the4 enviroenment file. i tried but again I am having the same error. I commented out first two CAL_MATRIX Data[0] & [1]. but it shjowing an error.
Error is attached.
Looking forward for your kind suggestion.
Regards,

Well, as you can imagine, you don’t have a force plate object in your C3D file that corresponds to this name. Please adjust this name or remove if you do not have it all. You can browse the model tree to see which objects are present and which names they correspond to.

Regards,
Pavel

HI Pavel,
thanks for your reply. But i didnot able to understand your output properly. I am attaching the model tree and code snapshot so that something is figured out. Thanks alot for kind help.
Regards,

Hi Pavel,
Thanks for your advice.
CAL_Matrix problem is solved and now there is other problem stating missing euler trunk.txt file. it is GRF force file?
Thanks in advance.
regards

Hi,

This file will be automatically created once you run ParameterIdentification and MarkerTracking analyses. It is a file that will contain optimized kinematics of the trunk for a particular trial.

Kind regards,
Pavel

Hi Pavel,
Thanks alot for your recious advice and help. Alot of error and problems are solved with the help of your precious suggestions.
Currently I am working on Squat model and using AnyBody verion 6. I have uploaded and loaded the model with the markers (Pic is attached). I have 56 markers in total but I neglect some of them and My model has now 46 markers.
Currently I am facing an issue. When I run Motion and Parameter optimization it shows alot of erros. I am attaching picture for that too.
What i think might be the poblems are:

  1. I neglect some of the markers in the C3D file using MOKKA software and hide some of the markers. This is not seen to be practical with constraint error. But I tought It might be the possibility.
  2. MOKKA software shows the vertical direction of the lab to be Z direction but my model is having Y direction as vertical. I think this might be the reason that it is difficult for the model to get into C3D markers poisitions initially.
  3. Some of my markers are shown in red color. this might be because I put some weigt there on foot markers, which I dont need to have weight there on foot markers becasue for Squat model Foot is practically not moving at all.
    Thanks alot for your precious time and Without your help the model will not be at this stage utnill it is now.Full Error file is also attached.
    Looking forward for your kind response.
    Regards,

Hi Usman,

You almost answered your question yourself. You need to adjust initial position of the model to be rotated 90 degrees and change gravity to correspond to the Z axis as vertical direction.

Kind regards,
Pavel

Hi Pavel,
Thanks for your reply. I did chanegd the Initial position of Body. AnyvarROTZ= 90. But it is showing error again. I changed manually other two PelvisROTX and Y but error remains the same. I am attaching picture for code and initial position of the body.
Looking forward for your kind response.
Regards

Hi Usman,

I don’t know what error you are getting, but please try removing rotation about Z and adding rotation about X only for a start. Please try aligning this model with the markers using PelvisRot angles.

P.

Hi Pavel,
Thanks alot for your reply. I did tried to add different angles to the PelvisRot but the error remains the same. I noticed one thing when I loaded the model with changed angle the position of model is not changed at all. Picture is attached and complete error is also attached.
Regards

Could you upload the model into the Debug section of the forum?

Hi Pavel,
Thanks for your reply.
Let me describe my project scenario. I have nearly about 56 markers and I hide 10 of those markers in MOKKA program. Now I have 46 markers in C3D file and on body model exactly 46 markers. Is this might be a problem for the error?
I have version 6 license. Can I install version 7 with the same license file for version 6 I will try to upload model in version 7 and see result.
For uploading model in the debug section, data like C3D need not to be compromised. Can you please figure out any other way out?
Looking forward for your kind remarks.
Regards

Hi Usman,

Hiding markers in Mokka does not change the C3D file. The markers will still be available in the AnyBody model. You would just need to establish a correspondence between relevant physical and virtual (AnyBody) markers.

As I see from your screenshot - the problem is that the initial orientation of the model looks strange. Not aligned with the force plates and so on.

Could you post a screenshot from Mokka? Generally speaking PelvisRotX should help, but I can’t check that without trying myself. Plus you may need to improve the initial guess to bring virtual markers closer to the MoCap markers.
Could you try changing posture to match markers?

You can upgrade to the version 7 with the same license if you still have maintenance until this date. If not - it would require buying maintenance.

Kind regards,
Pavel