|
Hormodular 1.0
Locomotion gait discovery by using digital hormones on modular robots
|
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 );
}
|
1.7.4