30 #include "examples/IROS_2015/TetraSpineStatic/TetraSpineStaticModel_hf.h"
49 int main(
int argc,
char** argv)
51 std::cout <<
"AppTetraSpineHardwareLearning" << std::endl;
58 const double stepSize = 1.0/1000.0;
59 const double renderRate = 1.0/60.0;
67 const int segments = 3;
72 const std::string suffix((argc > 1) ? argv[1] :
"default");
74 const int segmentSpan = 3;
75 const int numMuscles = 6;
76 const int numParams = 2;
77 const int segment = 1;
78 const double controlTime = .001;
79 const double lowAmp = 0;
80 const double highAmp = 50;
81 const double lowPhase = -1.0 * M_PI;
82 const double highPhase = M_PI;
117 myModel->
attach(myControl);
124 simulation.addModel(myModel);
129 simulation.run(60000);
int main(int argc, char **argv)
Contains the definition of class tgSimulation.
Contains the definition of class tgModel.
Contains the definition of class tgSimViewGraphics.
Contains the definition of class tgWorld $Id$.
Contains the definition of class tgSimView.
Contains the definition of interface class tgCPGLogger.
void attach(tgObserver< T > *pObserver)
Controller for TetraSpineLearningModel.
Tetraspine, configured for learning in the NTRT simulator.