How to run inverseDynamicModel

Hi AnyBody support,

I have C3D data that contains only Mocap markers data.
And I have also forceplate data of .txt.
I want to read these files and run inverseDynamicModel.
But error “ERROR(SCR.PRS9) : C:/U…s/d…5/D…p/test/A…n/E…s/G…g/Environment_kobayashi1018.any : ‘Foot’ : Unresolved object
Model loading skipped”.
GaitFullBody - tut mechadyna.zip
I upload the file for “GaitFullBody”.
AMS is ver5.1 and AMMR is ver 1.4.
Please tell me the mistake.

I beg your kindness.
Akira

Sorry,

I mistake to attach a file.

I beg your kindness.
Akira

Hi Akira,

It is very simple - you are referring to the wrong location of the segment:


    AnySeg &ref2=Main.Studies.HumanModel.BodyModel.Right.Leg.Seg.Foot;
    //AnySeg &ref2=Main.Studies.Model.HumanModel.Right.Leg.Seg.Foot;

That resolves this particular problem, but then I get a few more errors, which require additional files that your model didn’t contain. Is that a full model?

“‘Foot’ : Unresolved object” - this problem generally says that the path to the provided element is wrong or the object does not exist.

Hope this helps,
Pavel

Thank you for your message,

I modified program.
This problem could solve but error
“ERROR(SCR.EXP1) : C:/U…s/d…5/D…p/test/A…n/E…s/G…a/Environment_kobayashi1018.any : ‘+’ : Illegal operation for given argument types : ‘AnyFloat[3][85]’ ‘+’ ‘AnyFloat[3][65]’
Model loading skipped”
was indicated.

I upload the file for “GaitFullBody - tut mechadyna”.
AMS is ver5.1 and AMMR is ver 1.4.
Please tell me the misstake.

I beg your kindness.
Akira

Hi Akira,

It suggests that your CenterOfPressurePlate1 has a different dimension as compared to CenterOfPressurePlateOffset1.

You can just delete needed amount of lines in #include “CenterOfPressurePlateOffset1.any”

But then for me it complains that some STL files are missing - I presume you have them.

Best regards,
Pavel

Thank you for your message,

I modified value “CenerOfPressurePlateOfset1.any”.
This problem could solve but error
“ERROR(OBJ.FILE1) : C:/U…s/d…5/D…p/test/A…n/E…s/G…a/Environment_kobayashi1018.any : floor_w.FileName : Problem with file : C:\Users\dyna105\Desktop est\Application\Examples\GaitFullBody - tut mechadyna\floor : Neither STL nor ANYSURF file is found.Model loading skipped”
was indicated.
I don’t know what is STL file.
How file is this?

Best regards.
Akira.

Hi Akira,

I’m not sure what it is supposed to be. We don’t have this file in our original models - please check the model that you started to work off. Otherwise you can simply comment this block - it is only used for the visualization, no changes to the mechanical system.

Regards,
Pavel

Thank you for your message,

I have forceplate data by txt file.
I want to read this file and run InverseDynamicModel.
I consulted ‘Environment.any’ in Gait Vaughan model.
But I don’t have STL and ANYSURF file.
How can I read txt data in AnyBody?

I beg your kindness.
Akira

Hi Akira,

those files are present in GaitVaughan model - just copy them next to your model. (floor.anysurf3)

Regards,
Pavel

Thank you for your message,

I copied ‘floor.anysurf3’ file.
This problem could solve but error
“ERROR(OBJ1) :C:/U…s/d…5/D…p/test/A…n/E…s/G…a/Environment_kobayashi1018.any : force : Parameter has an invalid value for this interpolation; extrapolations are not allowed. Model loading skipped”
was indicated.

I upload the file for “GaitFullBody - tut mechadyna”.
AMS is ver5.1 and AMMR is ver 1.4.
Please tell me the mistake.

I beg your kindness.
Akira

Sorry,

I mistake to attach a file.

I beg your kindness.
Akira

Hi Pavel,

I used MOKKA, And I only converted forceplate data to C3D file.
I continue to read TXT file for AnyBody.
But I can’t read this file yet.
So I also want to read C3D file.
How can I read this file?

I beg your kindness,
Akira

Hi Akira,

Attached please find the modified version of your model.
This model includes the C3D file of yours(kobayashi_0030802-processed.c3d) and you can run the InverseDynamics analysis from this model.

But still, this model does not have any force plate data.

So, I would like to ask of you some questions.

  1. Do you have another C3D file which contains force plate data?
    Then, you can use that C3D file with this current model.
    But you should be aware of that those two C3D files(one for motion and the other for force plate0)
    should be synchronized. It means that those two files should have same time duration.

  2. If your force plate data can be only used in form of text file,
    then you should refer to ‘GaitVaughan’ models.
    You should extract the global position of center of pressure with respect to the lab coordinate system.
    Or if you know the local coordinate system position of force plate, then COP trajectory can be described with respect to the local coordinate system of the force plate.
    Then, you should know 3 force elements(Fx, Fy, Fz) and 1 moment(Tz).

So if you want to get support here, please check which kind of data you can extract.

And, what kinds of motion capture system and force plate are you using?

Best regards,
Moonki

Thank you for your message,

  1. Yes, I have .C3D file which contains force plate data.
    Two .C3D files were synchronized.
    But those two files doesn’t have same time duration.
    How should I have same time duration for those two files?

I converted .CLB of force plate data to .C3D by MOKKA.
So this .C3D file don’t have values of parameter of FORCEPLATFORM.
I have VB C3D Editor of Motion Lab System.
What value should I type?

I use OptiTrack.
For force plate, I use 9281B of Kistler.
Force data is measured at 8 channel.
Moment isn’t measured.

I upload the file for “kobayashi_003Forceplate.c3d”.

I beg your kindness.
Akira

Hi Akira,

Synchronization is much more important that the same amount of time duration.

What kinds of file types can you use from KISLTER force plate?

It seems that the C3D file you uploaded here may not be useful in AnyBody.

Can you upload here every kinds of file formats that you can generate from KISTLER?

Best regards,
Moonki

Thank you for your message,

I can use type3 from KISLTER force plate.
I have .CSV and .CLB force plate data.
I upload the file for ‘kobayashi_003’.

I beg your kindness,
Akira

Hi Akira,

I tried to open your csv file, but I could not understand the meaning of the data in the csv file. I’m sorry because I’m not the expert of KISTLER force plate system.

By the way, I could find a PDF file which is related to KISTLER force plate system.
http://isbweb.org/software/movanal/vaughan/kistler.pdf

Is there any way for you to extract these force and moments values from your KISTLER force plate system?
Then there may be a way…

Best regards,
Moonki

Thank you for your message,

I sent original force plate data.
I send calibration data of force plate.

I upload the file for “kobayashi_003”

I beg your kindness,
Akira

Hi Akira,

I will answer to your new question.

-Moonki