Skip to content
Snippets Groups Projects
Commit 1b8e2b53 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[wip/ros-aicp-mapping] remove forgotten patch

It was applied upstream
parent dae1b368
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@ ROS_PKG= aicp_mapping
ROS_METAPKG= yes
ROS_VERSION= 0.1.0
ROS_REPO= gepetto
PKGREVISION= 1
HOMEPAGE= ${MASTER_SITE_GITHUB:=${ROS_REPO}/${ROS_PKG}}
MASTER_SITES= ${HOMEPAGE}/archive/v
......
SHA1 (ros/aicp_mapping/0.1.0.tar.gz) = 2c19bc85668cbc2c9d77d34441e3d5c95d092cbe
RMD160 (ros/aicp_mapping/0.1.0.tar.gz) = 5509f54cea4fe0653dd72b296d54e18bf240bfe2
Size (ros/aicp_mapping/0.1.0.tar.gz) = 7201308 bytes
SHA1 (patch-aa) = 6b56a225faf9f008a290b21fa2657cda020dc18a
create() provides an std::shared_ptr instead of a ptr.
--- aicp_core/src/utils/icpMonitor.cpp.orig 2019-05-05 17:52:19.000000000 +0200
+++ aicp_core/src/utils/icpMonitor.cpp 2020-01-24 19:24:13.338056526 +0100
@@ -26,7 +26,7 @@
params["knn"] = toParam(1); // for Hausdorff distance, we only need the first closest point
params["epsilon"] = toParam(0);
- PM::Matcher* matcherHausdorff = PM::get().MatcherRegistrar.create("KDTreeMatcher", params);
+ auto matcherHausdorff = PM::get().MatcherRegistrar.create("KDTreeMatcher", params);
float quantile = 0.60;
@@ -102,7 +102,7 @@
params["knn"] = toParam(1); // for Hausdorff distance, we only need the first closest point
params["epsilon"] = toParam(0);
- PM::Matcher* matcher = PM::get().MatcherRegistrar.create("KDTreeMatcher", params);
+ auto matcher = PM::get().MatcherRegistrar.create("KDTreeMatcher", params);
// from reading to reference
matcher->init(A);
--- aicp_core/src/registration/pointmatcher_registration.cpp.orig 2019-05-05 17:52:19.000000000 +0200
+++ aicp_core/src/registration/pointmatcher_registration.cpp 2020-01-24 19:24:44.765800055 +0100
@@ -72,7 +72,7 @@
{
PM::TransformationParameters init_transform = parseTransformationDeg(params_.pointmatcher.initialTransform, 3);
- PM::Transformation* rigid_transform = PM::get().REG(Transformation).create("RigidTransformation");
+ auto rigid_transform = PM::get().REG(Transformation).create("RigidTransformation");
if (!rigid_transform->checkParameters(init_transform)) {
cerr << endl
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment