//tf_filter_ = new tf::MessageFilter<geometry_msgs::PointStamped>(point_sub_, tf_, target_frame_, 10);
goal=transformrobdistsafe.getOrigin();
doublex=goal.x()+0.2;
doubley=goal.y()+0.2;
doublez=goal.z()+0.2;
goal.setValue(x,y,z);
//obtain the transformation between the robot and the right distance safe
//Apply the function (angle) that measures the angle between the knee and the foot. When pass the limit (angle equals 30 degrees) the publisher says us that the foot is extended.
//tf_filter_ = new tf::MessageFilter<geometry_msgs::PointStamped>(point_sub_, tf_, target_frame_, 10);
goal = transformrobdistsafe.getOrigin();
double x = goal.x() + 0.2;
double y = goal.y() + 0.2;
double z = goal.z() + 0.2;
goal.setValue(x,y,z);
//obtain the transformation between the robot and the right distance safe
//Apply the function (angle) that measures the angle between the knee and the foot. When pass the limit (angle equals 30 degrees) the publisher says us that the foot is extended.