19 #ifndef SPINE_FEEDBACK_CONTROL_H
20 #define SPINE_FEEDBACK_CONTROL_H
63 double lp = -1 * M_PI,
79 const double freqFeedbackMin;
80 const double freqFeedbackMax;
81 const double ampFeedbackMin;
82 const double ampFeedbackMax;
83 const double phaseFeedbackMin;
84 const double phaseFeedbackMax;
90 std::string resourcePath =
"",
91 std::string ec =
"edgeConfig.ini",
92 std::string nc =
"nodeConfig.ini",
93 std::string fc =
"feedbackConfig.ini");
107 virtual array_2D scaleNodeActions (std::vector< std::vector <double> > actions);
113 std::vector<double> transformFeedbackActions(std::vector< std::vector<double> >& actions);
117 std::string feedbackConfigFilename;
122 bool feedbackLearning;
127 #endif // SPINE_FEEDBACK_CONTROL_H
Config(int ss, int tm, int om, int param, int segnum=6, double ct=0.1, double la=0, double ha=30, double lp=-1 *M_PI, double hp=M_PI, double kt=0.0, double kp=1000.0, double kv=100.0, bool def=true, double cl=10.0, double lf=0.0, double hf=30.0, double ffMin=0.0, double ffMax=0.0, double afMin=0.0, double afMax=0.0, double pfMin=0.0, double pfMax=0.0)
virtual void onStep(BaseSpineModelLearning &subject, double dt)
SpineFeedbackControl(SpineFeedbackControl::Config config, std::string args, std::string resourcePath="", std::string ec="edgeConfig.ini", std::string nc="nodeConfig.ini", std::string fc="feedbackConfig.ini")
Defines a class NeuroAdapter to pass parameters from NeuroEvolution to a controller.
A controller for the template class BaseSpineModelLearning.
Top level class for NeuroEvolution.
virtual void onSetup(BaseSpineModelLearning &subject)
virtual void onTeardown(BaseSpineModelLearning &subject)