How to use C3D

Hi AnyBody support,

I want to use C3D files of running that were captured with OptiTrack and analyzed with venus(software of Japanese company).
I used “GaitFullBody” and I practiced “MotionAndParameterOptimization”,
but error " The specified element type is undefined Model loading skipped" was indicated.

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

I beg your kindness.
Akira

Dear Akira,

if you try another C3D file, will the error message will be the same?

Thank you for your message,

The same error was indicated when I tried other C3D files.

I beg your kindness.
Akira

Akira,

I realized, that ANyBody has trouble opening the C3D file. I also tried to open it with a different software (MOKKA) and it failed. What did you do to it? Is it coming straight out of OptiTrack, or did you change and save it in Venus? I do not know venus and I do not know what it does!

Thank you for your message,

It was not straight out of OPTITRACK, but I converted original C3D file to sorted C3D file.
Actually original recorded file was not C3D file but csv file.
And original recorded csv file is not sorted by time so I did it and export it as C3D file by Venus.

I beg your kindness.
Akira

Hey Akira,

It looks like the way you create the C3D file is not working in AnyBody. We have checked with a special software, that when AnyBody reads in the C3D file it reads in the parameters first and after it reads in the parameter POINT > LABELS it fails.
I checked the C3D with the MLS Viewer and after POINT > LABELS comes DESCRIPTION. Comparing your description with one from a standard AnyBody C3D shows that your description is empty while the AnyBody one has all the marker names. Can you try and change that when creating your C3D? Add a description with the marker names.
It looks like there is something missing, did you not provide character for type?
Try to compare our C3D with yours and see if you can change it.

Thank you for your message,

I changed the C3D file with C3DEditor.
Then I practiced “MotionAndParameterOptimization”,
but error
" ERROR(OBJ.FILE1) : C:/U…s/d…5/D…p/test/A…n/E…s/G…y/ModelSetup_aug_2_2.any : C3DFileData.C3D.FileName : Problem with file : C:\Users\dyna105\Desktop est\Application\Examples\GaitFullBody\kobayashi_0030802-processed : Failed to open the specified c3d file Model loading skipped"
was indicated.
What does the error mean?

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

I beg your kindness.
Akira

Sorry,

I forget to attach a file.

I beg your kindness.
Akira

there are several errors in the model:

  1. you include another c3D file in the model setup. Please delete that!

  2. you have a space in your marker names “point 14”. This will not work in most simulation software. Please remove the space or replace it with a _

  3. Please proceed as in:
    http://wiki.anyscript.org/index.php/How_to_setup_your_own_MoCap_driven_Model

Thank you for your message,

I could indicate the marker and model on Model View.
But error
" ERROR(OBJ.MCH.KIN3) : C:/U…s/d…5/D…p/test/A…n/E…s/G…y/GaitFullBody.main_aug_2_2.any : MotionOptimization.InitialConditions : Kinematic analysis failed in time step 0
"
was indicated.
Wiki is written that TrialSpecificData can change the initial position.
But TrialSpecificData was only change initial angle of each parts.
Please tell me how to change the initial position of the body!!

I beg your kindness.
Akira

Akira,

please upload your model and I’ll have a look.

Thank you for your message,

I upload the file for “GaitFullBody”.
AMS is ver5.1 and AMMR is ver 1.4.

#include “…\Body\AAUHuman\Scaling\ScalingLengthMassFat_aug_6.any” in #include “HumanModel.any”
is changed offset of AnyFolder Pelvis to {0.15, 0, 0}.
#include “Mannequin_aug_3.any”
is changed
AnyParamFun &Point27 = Main.ModelSetup.C3DFileData.Points.Markers.Point27.PosInterpol;
AnyParamFun &Point26 = Main.ModelSetup.C3DFileData.Points.Markers.Point26.PosInterpol;

AnyParamFun &Point24 = Main.ModelSetup.C3DFileData.Points.Markers.Point24.PosInterpol;
AnyParamFun &Point23 = Main.ModelSetup.C3DFileData.Points.Markers.Point23.PosInterpol;

I beg your kindness.
Akira

Akira,

please find attached a model that is running. It is not completely finished yet:

  1. I used the default scaling LengthMassFat

  2. I excluded the upper extremities

  3. I added the pelvis markers to the ModelSetup

  4. All your sRelOpt values in the ModelSetup are completely wrong. I used the default values from AnyBody GaitFullBody and it runs. These sRelOpt values are in meters and show the offset of the marker wrt the segment origin

Please do some fine tuning on the sRelOpt values to get the optimal kinemaitc output. It seems that head/pelvis and foot needs adjustment.

attached model