Hormodular 1.0
Locomotion gait discovery by using digital hormones on modular robots
void hormodular::SimulatedModularRobotInterface::calculatePos ( ) [private]

Gets robot position and stores it on the current_pos variable.

{
    //-- Get current robot position
    OpenRAVE::Vector robot_pos = simulation->getRobot(0)->GetCenterOfMass();

    //-- Update current position stored:
    current_pos = std::pair<float, float>( robot_pos.x, robot_pos.y );
}
 All Classes Functions Variables Friends