Hormodular 1.0
Locomotion gait discovery by using digital hormones on modular robots
float hormodular::SerialModularRobotInterface::getTravelledDistance ( ) [virtual]

Returns the distance travelled my the modular robot in meters.

Since a way to measure the distance travelled by a real robot has not been implemented yet, this function only gives a warning message.

Returns:
-1, since this function is not implemented yet.

Implements hormodular::ModularRobotInterface.

{
    std::cerr << "[SerialModularRobotInterface] Warning: travelled distance is not implemented yet. Returning -1."
              << std::endl;
    return -1;
}
 All Classes Functions Variables Friends