Kinematics: Motion optimization

Dear all,

I tried to run the motion and parameter optimization for the GaitFullBody model (AMMR.v1.6).

But I have an error:
ERROR(OBJ.MCH.KIN3) : P:/P…s/P…y/A…o/A…n/A…d/T…y/GaitFullBody.main.any(233) : MotionOptimization.InitialConditions : Kinematic analysis failed in time step 0

Could please help me to address/fix this error?

Thanks in advance for your help

Arnaud

Hi Arnaud,

Are there any changes you’ve made to any of the AnyScript files? Could you please list any of those as well so that we can reconstruct what the problem might be?

Regards
Ananth
AnyBody Support

Hi Ananth,

I just copy the folder AMMR.v1.5-MyDemo\Application\Examples\GaitFullBody of the version AMMR.v1.5.
And in the main file (GaitFullBody.main.any) i set active the MotionAndParameterOptimizationModel, as follows

#ifndef MotionAndParameterOptimizationModel
#define MotionAndParameterOptimizationModel 1
#endif
//Set this to 1 if you want to run the inverse dynamic analysis
#ifndef InverseDynamicModel
#define InverseDynamicModel 0
#endif

That is all i did…

But, by the way, when loading the model, although it was successful, I got the error message

ERROR(SCR.SCN9) : P:/Projects/P…y/A…o/A…n/ADK…med/libdef.any(16) : ‘P:\Projects\ProjectAnyBody\AMMR.v1,6-MyDemo\Application\ADK_Tuto_Performed\GaitFullBody/Output/’ : Path does not exist

Cheers…!
Arnaud

Dear Arnaud,

The reason of your recent error about ‘path’ may be due to the absence of the folder in the right location. Simply you can create your ‘Output’ folder inside.

For your first error about kinematics analysis, it would better if you can upload your entire model in our debug section. Then we can have a look later.
http://forum.anyscript.org/forumdisplay.php?f=21

Best regards,
Moonki