47 int main(
int argc,
char** argv)
49 std::cout <<
"AppNestedStructureTest" << std::endl;
59 const double stepSize = 1.0/1000.0;
60 const double renderRate = 1.0/60.0;
68 const int segments = 12;
73 const std::string suffix((argc > 1) ? argv[1] :
"default");
75 const int segmentSpan = 3;
76 const int numMuscles = 8;
77 const int numParams = 2;
78 const int segNumber = 6;
79 const double controlTime = .001;
80 const double lowPhase = -1 * M_PI;
81 const double highPhase = M_PI;
82 const double lowAmplitude = -30.0;
83 const double highAmplitude = 30.0;
85 lowAmplitude, highAmplitude, lowPhase, highPhase);
88 myModel->
attach(myControl);
95 simulation.
run(30000);
int main(int argc, char **argv)
Implementing the tetrahedral complex spine inspired by Tom Flemons.
void addModel(tgModel *pModel)
Contains the definition of class tgSimulation $Id$.
Contains the definition of class tgModel. $Id$.
Contains the definition of class tgSimViewGraphics $Id$.
Contains the definition of class tgWorld $Id$.
A controller for the template class BaseSpineModelLearning.
Contains the definition of class tgSimView $Id$.
void attach(tgObserver< T > *pObserver)