Kinematics: Motion optimization

Hello to everybody again,

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

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
//Set this to 1 if you want to run the inverse dynamic analysis
#ifndef InverseDynamicModel
#define InverseDynamicModel 0

That is all i did…and i have the following 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

Thank you in advance for your help!

There were some changes in the newer repository and you simply should not be using this one in combination with the old model.

You should be either using MoCap model with 1.6 or GaitFullBody model with 1.5. The content is the same, some interfacing has changed. You would ideally get the same results (I haven’t checked that myself right now).


dear Pavel,

thank you for your answer!