Skip to content
Snippets Groups Projects
Commit b55956ca authored by Alejandro Lopez Gestoso's avatar Alejandro Lopez Gestoso
Browse files

Removed cout from compute_distance

parent 26e07afd
No related branches found
No related tags found
No related merge requests found
......@@ -128,9 +128,6 @@ BT::NodeStatus IriBTBasicNodes::compute_distance(BT::TreeNode& self)
}
distance=sqrt(pow(pose1_value.pose.position.x-pose2_value.pose.position.x,2.0)+pow(pose1_value.pose.position.y-pose2_value.pose.position.y,2.0)+pow(pose1_value.pose.position.z-pose2_value.pose.position.z,2.0));
std::cout << "pose1: x: " << pose1_value.pose.position.x << ", y: " << pose1_value.pose.position.y << ", z: " << pose1_value.pose.position.z << std::endl;
std::cout << "pose1: x: " << pose2_value.pose.position.x << ", y: " << pose2_value.pose.position.y << ", z: " << pose2_value.pose.position.z << std::endl;
std::cout << "distance: " << distance << std::endl;
self.setOutput("distance",distance);
return BT::NodeStatus::SUCCESS;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment