Switch to unified view

a b/Tools/AnyMocap/Description.any
1
// ****************************
2
// GENERAL DESCRIPTION OF MODEL
3
// ****************************
4
5
// This model uses motion capture C3D files to apply a motion th Full Body, or only to the Lower Extremities and trunk.
6
// The model requires to run in two sequences and  can be switched in and out by switches in the top of the main 
7
// file. The sequence  "MotionAndParameterOptimizationModel" is used for optimizing the motion and identifying model 
8
// parameters such as segment lengths and local marker positions. The output from this analysis is  a set of parameters
9
// and joints angles which is automatically saved. This model has no muscles. 
10
// The second sequence is the inverse dynamics study which is driven by the optimized motion from 
11
// the first study, this "InverseDynamicModel" model includes muscles.
12
13
// Using the FullBody slows down the model and computational time increases a lot. It is thereofre recommended to 
14
// use the LowerExtremity model if you are interested mostly in the leg.
15
16
// ****************************
17
// How to run the model
18
// ****************************
19
// 1. Run the MotionAndParameterOptimization sequence  first.
20
// 2. Switch to the Inverse Dynamcis Sequence
21
// 3. Reload the model (Press F7)
22
// 4. Run the InverseDynamicAnalysis Sequence
23
24
//***************************************************************************************************
25
//If you intend to run your own set of C3D files, pleae have a look at the wiki on www.anyscript.org!
26
//***************************************************************************************************
27
28
29
30
// **************************************************
31
//DESCRIPTIONS OF THE INDIVIDUAL STUDIES IN THE MODEL
32
// **************************************************
33
//KinematicStudyForParameterIdentification: 
34
//    This study is the basis study for the Parameter identification study
35
//
36
//ParameterIdentification:
37
//    Running this study will optimize the parameters of the model: segments length and marker positions
38
//    It will also calculate the motion but usually this optimization is done with a lower amount of 
39
//    timesteps so the produced motion is not usefull for an inverse dynamic analysis. The reduced 
40
//    number of timesteps will speed the optimization it should however not be too low, this will
41
//    reduce the accuracy
42
//    
43
//MotionOptimization:
44
//    This study will run the kinematic analysis using the optimize parameters from the ParameterIdentification study 
45
//    This study will run with a high number of timesteps. It will automatically save the optimized motion in files 
46
//    named according to name of the used C3D which is specified in the ModelSetup.any file
47
//
48
//LoadParametersOptimizationResults 
49
//    This study is used ONLY for loading the optimized results from the ParameterIdentification study
50
//
51
//InverseDynamicStudy:
52
//    This study run the inverse dynamic analysis of the model with the optimized motion and optimized parameters
53
//
54
//
55
//The studies has to to be activated in a certain sequence, to make this easier there are the following
56
//operation sequences:
57
//
58
//MotionAndParameterOptimiztionSequence: 
59
//    This seqeunce is used for determining the model parameters such as segment lenghts, marker positions
60
//    
61
//
62
//InverseDynamicAnalysisSequence:
63
//    This study sequence is used for calibrating the model and running the inverse dynamic analysis 
64
65
66
67