GaitFullBody

Hi, i’m trying to import c3d data from the upper extremities to the GaitFullBody model. After adjusting the ModelSetup file to the Marker System we used i get following Problems:

Problem while performing Optimization process:

  1. Optimization (Operation: Main.Studies.ParameterIdentification.Optimization):
    ERROR(OBJ.DES4) : C:/D…s/S…a/A…a/A…y/A…x/A…1/A…n/E…s/G…1/ModelSetup1.any : PelvisWidth : Design variable bounds must be specified : This design variable is missing proper bounds
    ERROR(OBJ.DES4) : C:/D…s/S…a/A…a/A…y/A…x/A…1/A…n/E…s/G…1/ModelSetup1.any : ThighLengths : Design variable bounds must be specified : This design variable is missing proper bounds
    ERROR(OBJ.DES4) : C:/D…s/S…a/A…a/A…y/A…x/A…1/A…n/E…s/G…1/ModelSetup1.any : ShankLengths : Design variable bounds must be specified : This design variable is missing proper bounds
    ERROR(OBJ.DES4) : C:/D…s/S…a/A…a/A…y/A…x/A…1/A…n/E…s/G…1/ModelSetup1.any : FootLengths : Design variable bounds must be specified : This design variable is missing proper bounds
    ERROR(OBJ.DES4) : C:/D…s/S…a/A…a/A…y/A…x/A…1/A…n/E…s/G…1/ModelSetup1.any : TrunkHeight : Design variable bounds must be specified : This design variable is missing proper bounds
    ERROR(OBJ.DES4) : C:/D…s/S…a/A…a/A…y/A…x/A…1/A…n/E…s/G…1/ModelSetup1.any : UpperArmLength : Design variable bounds must be specified : This design variable is missing proper bounds
    ERROR(OBJ.DES4) : C:/D…s/S…a/A…a/A…y/A…x/A…1/A…n/E…s/G…1/ModelSetup1.any : LowerArmLength : Design variable bounds must be specified : This design variable is missing proper bounds
    ERROR(OBJ.DES4) : C:/D…s/S…a/A…a/A…y/A…x/A…1/A…n/E…s/G…1/GaitFullBody.main.any : ParameterIdentification.Optimization : Design variable bounds must be specified : This operation requires design variable bounds to be specified

Setting bounds in OptimizeAnthropometricsOnOff.any:

#class_template OptimizeAnthropometricsOnOff (PelvisWidthOnOff,ThighLengthOnOff,ShankLengthOnOff,FootLengthOnOff,HeadHeightOnOff,TrunkHeightOnOff ,UpperArmLengthOnOff,LowerArmLengthOnOff ,Model1, Model2 ){

#if Model1 == 1

AnyFolder &ref= Main.Studies.ParameterIdentification ;

ref={

 AnyFolder &Lengths=Main.Studies.KinematicStudyForParamterIdentification.HumanModel.Scaling.AnthroSegmentLengths;

#if PelvisWidthOnOff=="On"


    AnyDesVar PelvisWidth = {
  Val = .Lengths.PelvisWidth;
  Min = -50; //Standard -1+e300 for Lower Bound of design space
  Max = 50;  //Standard 1+300 for Upper Bound of design space
};
#endif[/i]

etc.

After setting bounds the system is shutting down after the KinematicAnalysis:

Loading Settings Script from : 'C:\Documents and Settings\Sascha\Local Settings\Application Data\AnyBody Technology\AnyBody.4.x.x\Settings.anyst
Settings loaded
Loading Main : “C:\Documents and Settings\Sascha\Application Data\AnyBody Technology\AnyBody.4.x.x\AMMRV1.1\Application\Examples\GaitFullBody_1\GaitFullBodymain.any”
Scanning…
Parsing…
Constructing model tree…
Linking identifiers…
Evaluating constants…
Configuring model…
Evaluating model…
Loaded successfully.
Elapsed Time : 32.063000


  1. Running macro file : C:\Documents and Settings\Sascha\Application Data\AnyBody Technology\AnyBody.4.x.x\AMMRV1.1\Application\Examples\GaitFullBody_1\Sequence1.anymcr (Operation: Main.RunMotionAndParameterOptimizationSequence):

Macro command > operation Main.Studies.ParameterIdentification.ParameterOptimization

Macro command > run

1.0.0) Operation Sequence: (Operation: Main.Studies.ParameterIdentification.Analysis):
1.0.0.0) Kinematics (Operation: Main.Studies.KinematicStudyForParamterIdentification.Kinematics):
1.0.0.0.0) PreOperation (Operation: Main.Studies.KinematicStudyForParamterIdentification.Kinematics.PreOperation):
1.0.0.0.0) InitialConditions (Operation: Main.Studies.KinematicStudyForParamterIdentification.InitialConditions):
1.0.0.0.0) …Design variables have been updated.
1.0.0.0.1) …Load time positions have been re-established.
1.0.0.0.2) …Kinematic analysis completed. The kinematic constraints have been resolved.
1.0.0.0.3) …Initial conditions are fully updated.
1.0.0.0) Kinematic analysis…
1.0.0.98) …Kinematic analysis completed

What is the reason for shutting down the software?

Hi

I think the reason for shutting down could be related to design varibales with no sensitivity, i think i have tried this once.

If you have markers on the upper body only you can not allow the thighlength to be optimized for example, it would have zero sensitivity. So please look at your design vairables in the OptimizeAnthropometricOnOff and makes sure none is active and have no markers.

I think this has been fixed for the next release of AMS

Best regards
Søren