|
Hormodular 1.0
Locomotion gait discovery by using digital hormones on modular robots
|
Gets the parameters for the current module IDs and sets them on the oscillator.
{
std::vector<float> parameters = gaitTables[configurationId]->getParameters(id);
int period = (int) ( 1000.0 / frequencyTable->getParameters(configurationId)[0]);
oscillator->setParameters(parameters[0], parameters[1], parameters[2], period);
return true;
}
|
1.7.4