37 GeneratedGraspList result = grasps;
39 for (
const GraspSelectionCriterionInterfacePrx& criterion :
criteria)
41 result = criterion->filterGrasps(result);
49 bool alreadyAdded = std::find_if(
criteria.cbegin(),
criteria.cend(), [&](
const GraspSelectionCriterionInterfacePrx & gsc)
51 return gsc->getHash() == criterion->getHash();
56 ARMARX_ERROR <<
"criterion '" << criterion->ice_id() <<
"' already added";
73 GraspingPlacementList result = placements;
74 for (
const GraspSelectionCriterionInterfacePrx& criterion :
criteria)
76 result = criterion->filterPlacements(result);