Commit 995c2031 authored by wangdawei's avatar wangdawei

test

parent bc8477a4
...@@ -98,7 +98,7 @@ FastVoxelMapMatcher::~FastVoxelMapMatcher() { ...@@ -98,7 +98,7 @@ FastVoxelMapMatcher::~FastVoxelMapMatcher() {
float FastVoxelMapMatcher::InnerMatch(const VectorCloud &vector_cloud, const GuessPose guess_pose, float FastVoxelMapMatcher::InnerMatch(const VectorCloud &vector_cloud, const GuessPose guess_pose,
const Rigid3d &predict_pose, Rigid3d &estimate_pose) { const Rigid3d &predict_pose, Rigid3d &estimate_pose) {
float score = fast_match(matcher_, map_, fast_options_, vector_cloud, guess_pose, predict_pose, estimate_pose); float score = fast_match(matcher_, map_, fast_options_, vector_cloud, guess_pose, predict_pose, estimate_pose);
return score >= fast_options_.accepted_score? score: -1; return score >= fast_options_.accepted_score? score: -1 * score;
} }
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
......
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