Hi Pavel
I’m still having problems, since its not just one item to turn on and off. For trunk and trunk_neck there are muscles. Even if I could get it running, id feel uncomfortable that I may be missing something, and would want to verify with you. So could you please look at below (default AMMRV 1.3) code and recommend the correct settings for:
1- The normal case, when the muscles on back are pulling on the L5/S1 joint
2- And for the other case, to get the L5/S1 kinetics without the trunk muscles pulling on the joints.
[LEFT]//MotionAndParameterOptimiztionSequence:
// This seqeunce is used for determining the model parameters such as segment lenghts, marker positions
//
//
//InverseDynamicAnalysisSequence:
// This study sequence is used for calibrating the model and running the inverse dynamic analysis [/LEFT]
[LEFT]AnyFolder Studies ={[/LEFT]
[LEFT]#if MotionAndParameterOptimizationModel[/LEFT]
[LEFT]AnyBodyStudy KinematicStudyForParameterIdentification = {
AnyFolder &C3DData=…ModelSetup.C3DFileData ;[/LEFT]
[LEFT]AnyFolder &ref=HumanModel;
ref={
AnyFolder &Mannequin=.Mannequin;
#include “BodyPartsSetup2.any”
};[/LEFT]
HERE IS THE BODYPARTSSETUP2 CODE
[LEFT]// Trunk: 1 included, 0 not included
// *********************************
#define TRUNK 1
// This is just the bones,
// Choose one of the following options to add muscles
#define TRUNK_SIMPLE_MUSCLES 0
// Additional stiffness in the lumbar joints can be added.
#define TRUNK_DISC_STIFFNESS_NORMAL 0[/LEFT]
[LEFT]// Trunk with neck: 1 included, 0 not included
// *********************************
#define TRUNK_NECK 0
// This is just the bones,
// Choose one of the following options to add muscles
#define TRUNK_NECK_SIMPLE_MUSCLES 0
#define TRUNK_NECK_SIMPLE_MUSCLES_ONLY_ON_NECK 0
// Additional stiffness in the lumbar joints can be added.
#define TRUNK_NECK_DISC_STIFFNESS_NORMAL 0[/LEFT]
Inverse Dynamic Analysis
[LEFT]//This study is used for running the inverse dynamic analysis of the optimized motion
//***********************************************************************************
HumanModel={
AnyFolder &Mannequin=.InverseDynamicStudy.Mannequin;
#include “BodyPartsSetup.any”
};[/LEFT]
HERE IS THE BODYPARTSSETUP CODE
[LEFT]// Trunk: 1 included, 0 not included
// *********************************
#define TRUNK 1
// This is just the bones,
// Choose one of the following options to add muscles[/LEFT]
[LEFT]#define TRUNK_SIMPLE_MUSCLES 1
// Additional stiffness in the lumbar joints can be added.
#define TRUNK_DISC_STIFFNESS_NORMAL 0[/LEFT]
[LEFT]// Trunk with neck: 1 included, 0 not included
// *********************************
#define TRUNK_NECK 0
// This is just the bones,
// Choose one of the following options to add muscles
#define TRUNK_NECK_SIMPLE_MUSCLES 0
#define TRUNK_NECK_SIMPLE_MUSCLES_ONLY_ON_NECK 0
// Additional stiffness in the lumbar joints can be added.[/LEFT]
#define TRUNK_NECK_DISC_STIFFNESS_NORMAL 0
Sincerely thanks
Damon