46 int main(
int argc,
char** argv)
48 std::cout <<
"AppNestedStructureTest" << std::endl;
58 const double stepSize = 1.0/1000.0;
59 const double renderRate = 1.0/60.0;
67 const int segments = 12;
72 const std::string suffix((argc > 1) ? argv[1] :
"default");
74 const int segmentSpan = 3;
75 const int numMuscles = 4;
76 const int numParams = 2;
77 const int segNumber = 0;
79 const double controlTime = 0.1;
80 const double lowPhase = -1 * M_PI;
81 const double highPhase = M_PI;
82 const double lowAmplitude = 0.0;
83 const double highAmplitude = 30.0;
85 const double tension = 0.0;
86 const double kPosition = 400.0;
87 const double kVelocity = 40.0;
90 lowAmplitude, highAmplitude, lowPhase, highPhase,
91 tension, kPosition, kVelocity);
94 myModel->
attach(myControl);
101 simulation.
run(30000);
Implementing the cross-linked octahedral 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$.
int main(int argc, char **argv)
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)