Skip to content
Snippets Groups Projects
Commit 5924a1a7 authored by Nikolaus Vahrenkamp's avatar Nikolaus Vahrenkamp
Browse files

print valid grasp statistics in grasp planner evaluation

parent ef5132ef
No related branches found
No related tags found
No related merge requests found
......@@ -96,6 +96,8 @@ struct GraspPlannerEvaluation
{
std::cout << "Avg score (valid):" << scoreAcc / nrValid << std::endl;
}
if (nrGraspsGenerated>0)
std::cout << "Percentage of valid grasps:" << (float)nrGraspsValid / (float)nrGraspsGenerated * 100.0f << "%" << std::endl;
}
static std::string GetCSVHeader()
......
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