[38ba34]: / Tests / BM combinations / test_no_feet.any

Download this file

63 lines (45 with data), 1.6 kB

//define = (
//   [
//    {'BM_FOOT_MODEL':'_FOOT_MODEL_DEFAULT_'},
//    {'BM_FOOT_MODEL':'_FOOT_MODEL_NONE_'},
//   ],[
//    {'BM_LEG_MODEL':'OFF'},
//    {'BM_LEG_MODEL':'_LEG_MODEL_TLEM1_'},
//    {'BM_LEG_MODEL':'_LEG_MODEL_TLEM2_'},
//    {'BM_LEG_MODEL':'_LEG_MODEL_LEG_'}
//   ],[
//    {'BM_LEG_MUSCLES_BOTH':'OFF'},
//    {'BM_LEG_MUSCLES_BOTH':'_MUSCLES_SIMPLE_'},
//    {'BM_LEG_MUSCLES_BOTH':'_MUSCLES_3E_HILL_'},
//  ])

#include "libdef.any"


Main = {

  
  // ----------------------------------------------------------
  // Model configuration:
  // For more info on body model configuration options please load the model and double click on: 
  // #path HTML_DOC "<AMMR_PATH_DOC>/bm_config/index.html"
  // ----------------------------------------------------------
  #ifndef TEST_NAME
  #define BM_FOOT_MODEL 1
  #define BM_LEG_MODEL 3
  #define BM_LEG_MUSCLES_BOTH 0
  //  #define BM_LEG_MUSCLES_BOTH _MUSCLES_3E_HILL_
//  
//  #define BM_CALIBRATION_TYPE _CALIBRATION_TYPE_2PAR_
  #endif
  
 

  // Model of the human body to be used for the analysis  
  #include "<ANYBODY_PATH_BODY>/HumanModel.any"

  /// The actual model where all components are assembled  
  AnyFolder Model ={
    /// Body model without default drivers
    AnyFolder &BodyModel=.HumanModel.BodyModel;
    /// Reference to the mannequin folder (used by drivers)
    AnyFolder &Mannequin =.HumanModel.Mannequin;    

  };

  AnyBodyStudy Study = {
    AnyFolder &Model = .Model;
    
    tEnd = 1.0;
    Gravity = {0.0, -9.81, 0.0};
    nStep = 1;

    
  }; // End of study
  
}; //Main