It’s good to hear from you that you could run the model!
If you want to put more of your markers, you have to modify ‘MarkerLabels’ property in the AnyInputC3D class.
After that, you have to put more CreateMarker and CreateMarkerTD class instances according to your additional markers.
Actually, these CreateMarker and CreateMarkerTD class instances connect the motion capture markers and human segments.
if your C3D marker names are not conform with the usual nomeclature which are not only used in AnyBody but also widely used, it might be useful to rename the marker names in your C3D file. This can for example be achieved using Mokka, a free program (http://code.google.com/p/b-tk/).
Thank you Patrick I am currently installing the file and also thank you Moonki I understand what to do now. However, without changing any markers everything runs ok but I get an error:
“The parameter names in the c3d file are not unique. Renaming adding”
Now I have checked my C3D file and my markers are all unique (if parameters is referring to markers), but according to another thread which I was reading this may be due to me having 2 PROCESSING folders in my C3D file. Is there anyway I can overcome this issue?
Okay, it seems like the processing folder is duplicate but this can be easily corrected by just deleting it (for example with C3DServer http://www.motion-labs.com/software_c3d_c3dserver.html). But there are still redundant parameters in the other processing folder, 3 or 4 times duplicate. You could delete them one by one - which would be quite annoying - or you could use the C3D I just exported you from Vicon and attached here which has no processing folder included. But as far as I know the information in processing isn’t imperative for the use with AnyBody so it should work with this new file. Of course other things still need to be done like setting up drivers for the thorax and head.
When loading the model the error has now gone. When running the motionparamteroptimisation i get a failure at time step 0. I have added both the neck and trunk drivers in the “ExtraDrivers” folder but still get a failure. I have also changed the initial conditions in the trial.setup but still no luck
The error “…design variables but only 23 independent associated optimality conditions…” can be avoided if you turn off the trunk optimisation - at the moment there are to many design variables.
You also deleted your RASI marker which was bad for the model.
With these changes the kinematic optimisation works.
The inverse dynamic analysis wasn’t working because you included the ExtraDrivers there which isn’t necessary - at least I think so.
The attached model is completely working but the feet have quite an awkward position. You should look into that.
I don’t understand your marker placement, to me it doesn’t look like you would have used any standard protocol regarding the positioning of the markers. This might provoke some errors.