Hi
It’s been a long time.
I tried to predict ground reaction forces without measurements (conditional contact).
Using a example in anybody wiki.
(here is link)
http://wiki.anyscript.org/index.php/How_to_predict_Ground_Reaction_Forces_without_measurements_(conditional_contact)
I applied that method on my mocapmodel.
but, i can’t see result of reaction force on the ground.
Perhaps, i can’t find the list name about reaction force in category of results or there is somthing wrong in my model.
What is problem?
I only modified “main.any” in “MoCapModel”.
Here is code.
main.any (using MoCapModel)
#include “…/libdef.any”
// Switch to use the detail neck model
#define UseDetailNeckModel 0
// Switch to include Arms
#define UseUpperExtremities 1
// Prefix for the output file names
// to distinguish the full body and the lower body models
#define OutputFileNamePrefix “FullBody-”
// Switch to save all results in output folder
#ifndef AutoSaveOption
#define AutoSaveOption 0
#endif
// Detailed description can be found at:
#include “Model/Description.any”
//Set this to 1 if you want to run the motion and Parameter Optimization identification
//**************************************************
#ifndef MotionAndParameterOptimizationModel
#define MotionAndParameterOptimizationModel 0
#endif
//Set this to 1 if you want to run the inverse dynamic analysis
#ifndef InverseDynamicModel
#define InverseDynamicModel 1
#endif
//Usually only have one of the two switches active so set the inactive analysis to 0
//**************************************************
#include “<ANYBODY_PATH_TOOLBOX>\FrictionContactMuscles\ConditionalContactClass.any”
#include “<ANYBODY_PATH_TOOLBOX>\FrictionContactMuscles\ConditionalContactFootPlaneClass.any”
// Following will include several predefined classes to generate markers and environments
// Usually, there is no need to make changes in this file:
#include “Model/Classes.any”
Main = {
// This file controls most of the Settings of your Model, the following items are defined here:
// 1. Marker Names
// 2. Marker locations
#include “Model/ModelSetup.any”
// Define the Environment around the human
#include “Model/Environment.any”
// This file controls most of the Trial Specific setup, the following items are defined here:
// 1. C3D file Name
// 2. Start and End Frame
// 3. Subject Anthropometric data
// 4. Initial guess on position
// If you want to run the model on your own data this is the place to start:
#include “Input/TrialSpecificData.any”
ConditionalContactFootPlaneClass LeftFootSupport (
BaseObject=Main.EnvironmentModel.GlobalRef,
Foot=Main.Studies.HumanModel.BodyModel.Left.Leg.Seg.Foot,
DisplayTriggerVolume=1,
DisplayTargetNode=1
) = {
UserDefinedLimitLow=-0.05;
UserDefinedLimitHigh=0.001;
UserDefinedRadiusLimit=1.0;
Strength=2800;
StaticFrictionCoefficient=0.8;
NormalDirection=2;
FrictionDirection1=0;
FrictionDirection2=1;
ScaleFactor=10;
};
ConditionalContactFootPlaneClass RightFootSupport(
BaseObject=Main.EnvironmentModel.GlobalRef,
Foot=Main.Studies.HumanModel.BodyModel.Right.Leg.Seg.Foot,
DisplayTriggerVolume=0,
DisplayTargetNode=1
)={
UserDefinedLimitLow=-0.05;
UserDefinedLimitHigh=0.001;
UserDefinedRadiusLimit=1.0;
Strength=2800;
StaticFrictionCoefficient=0.8;
NormalDirection=2;
FrictionDirection1=0;
FrictionDirection2=1;
ScaleFactor=10;
};
AnyFolder Studies ={
// Usually, there is no need to make changes in the following files. PLease be aware. that
// changes in the Kinematics and InverseDynamics may lead to model failure and/or unrealistic results:
#if MotionAndParameterOptimizationModel
#include “Model/Kinematics.any”
#endif
#if InverseDynamicModel
#include "Model/InverseDynamics.any"
#endif
};
}; //Main
what is problem?
And how to do to solve the problem?