47 int main(
int argc,
char** argv)
49 std::cout <<
"AppNestedStructureTest" << std::endl;
56 const double stepSize = 1.0/1000.0;
57 const double renderRate = 1.0/60.0;
58 tgSimView view(world, stepSize, renderRate);
65 const int segments = 3;
70 const std::string suffix((argc > 1) ? argv[1] :
"default");
72 const int segmentSpan = 3;
73 const int numMuscles = 4;
74 const int numParams = 2;
75 const int segNumber = 1;
77 const double controlTime = 0.1;
78 const double lowPhase = -1 * M_PI;
79 const double highPhase = M_PI;
80 const double lowAmplitude = 0.0;
82 const double highAmplitude = 30.0 * 3;
84 const double tension = 0.0;
85 const double kPosition = 400.0;
86 const double kVelocity = 40.0;
88 const bool def =
true;
91 const double cl = 10.0;
92 const double lf = 0.0;
94 const double hf = 30.0 * 3;
98 lowAmplitude, highAmplitude, lowPhase, highPhase,
99 tension, kPosition, kVelocity, def, cl, lf, hf);
101 new OctaCLSine(control_config, suffix,
"bmirletz/OctaCL_sine/");
102 myModel->
attach(myControl);
109 simulation.
run(60000);
Implementing the cross-linked octahedral complex spine inspired by Tom Flemons.
void addModel(tgModel *pModel)
int main(int argc, char **argv)
Controller for FlemonsSpineLearningModelCL.
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$.
A controller for the template class BaseSpineModelLearning.
Contains the definition of class tgSimView.
void attach(tgObserver< T > *pObserver)