Hormodular 1.0
Locomotion gait discovery by using digital hormones on modular robots
bool hormodular::Module::updateOscillatorParameters ( )

Gets the parameters for the current module IDs and sets them on the oscillator.

Returns:
True if completed successfully, false otherwise
{
    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;
}
 All Classes Functions Variables Friends