Commit b3ec79fe authored by limingbo's avatar limingbo

test filterByPosition

parent da44014d
......@@ -224,13 +224,11 @@ void filterByPosition(
octree.approxNearestSearch(query, result_index, sqr_distance);
if(sqr_distance < Squared30){
hitCnt++;
aroundIndexVec.push_back(make_pair(tarRetIndex, tarPeriodIndex));
break;
}
}
// if((float)hitCnt / tarPeriodCloud.size() > 0.8){
// aroundIndexVec.push_back(make_pair(tarRetIndex, tarPeriodIndex));
// }
if((float)hitCnt / tarPeriodCloud.size() > 0.8){
aroundIndexVec.push_back(make_pair(tarRetIndex, tarPeriodIndex));
}
}
}
pair<size_t, size_t> longestIndex = make_pair(retIndex, periodIndex);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment