Commit 1dac6758 authored by limingbo's avatar limingbo

test filterByPosition

parent 50cc88e1
...@@ -222,12 +222,12 @@ void filterByPosition( ...@@ -222,12 +222,12 @@ void filterByPosition(
if(sqr_distance < Squared30){ if(sqr_distance < Squared30){
hitCnt++; hitCnt++;
} }
}
if(hitCnt / tarPeriodCloud.size() < 0.8){ if(hitCnt / tarPeriodCloud.size() < 0.8){
aroundIndexVec.push_back(make_pair(tarRetIndex, tarPeriodIndex)); aroundIndexVec.push_back(make_pair(tarRetIndex, tarPeriodIndex));
} }
} }
} }
}
pair<size_t, size_t> longestIndex = make_pair(retIndex, periodIndex); pair<size_t, size_t> longestIndex = make_pair(retIndex, periodIndex);
uint32_t longestPeriod = period.second - period.first; uint32_t longestPeriod = period.second - period.first;
// LOG(INFO) << setprecision(15) << "filterByPosition src: " << oneRet.index // LOG(INFO) << setprecision(15) << "filterByPosition src: " << oneRet.index
......
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