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;
60 tgSimView view(world, stepSize, renderRate);
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;
83 myModel->
attach(myControl);
88 myControl->
attach(myLogger);
90 simulation.addModel(myModel);
95 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.
Controller for TetraSpineLearningModel.
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)
Tetraspine, configured for learning in the NTRT simulator.