mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
fixed build with latest libpointmatcher
This commit is contained in:
@@ -1021,7 +1021,7 @@ Transform RegistrationIcp::computeTransformationImpl(
|
||||
params["knn"] = uNumber2Str(_libpointmatcherKnn);
|
||||
params["epsilon"] = uNumber2Str(_libpointmatcherEpsilon);
|
||||
#if POINTMATCHER_VERSION_INT >= 10300
|
||||
icp->matcher = PM::get().MatcherRegistrar.create("KDTreeMatcher", params);
|
||||
icpTmp.matcher = PM::get().MatcherRegistrar.create("KDTreeMatcher", params);
|
||||
#else
|
||||
icpTmp.matcher.reset(PM::get().MatcherRegistrar.create("KDTreeMatcher", params));
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user