-
Notifications
You must be signed in to change notification settings - Fork 0
/
MoCap_FullBody.main.any
78 lines (61 loc) · 2.57 KB
/
MoCap_FullBody.main.any
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#include "libdef.any"
// Include the classes for Ground Reaction force prediction
#include "GRFPrediction/FootPlateConditionalContact.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
//**************************************************
// 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"
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
Main.Studies.InverseDynamicStudy.ModelEnvironmentConnection = {
// Setup GRF prediction for both feet
#include "GRFPrediction/GRF_example.any"
//Make new weak residual actuators, and exclude the old reaction forces
#include "GRFPrediction/WeakResiduals.any"
};
#include "Model/InverseDynamics.any"
#endif
};
}; //Main