Hormodular 1.0
Locomotion gait discovery by using digital hormones on modular robots
int hormodular::GaitTable::lookForID ( unsigned long  id) [private]

Returns the index of the row containing the data for the given ID.

{
    for (int i = 0; i <(int) ids.size(); i++)
        if ( ids[i] == id )
           return i;

    return -1;
}
 All Classes Functions Variables Friends