30 #include "TetraSpineStaticModel_hf.h"
49 int main(
int argc,
char** argv)
51 std::cout <<
"AppTetraSpineSerial" << 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;
74 const std::string suffix((argc > 1) ? argv[1] :
"controlVars.json");
79 myModel->
attach(myControl);
86 simulation.addModel(myModel);
91 simulation.run(60000);
int main(int argc, char **argv)
A Sine Wave controller for TetraSpine using JSON serialization.
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)
Tetraspine, configured for learning in the NTRT simulator.