Commit 004b583c authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #1054 from Sahloul:bugs/surface_matching/cluster_poses_allocation

parents 2ca605a1 6b6d5a48
......@@ -166,7 +166,7 @@ private:
bool matchPose(const Pose3D& sourcePose, const Pose3D& targetPose);
void clusterPoses(std::vector<Pose3DPtr> poseList, int numPoses, std::vector<Pose3DPtr> &finalPoses);
void clusterPoses(std::vector<Pose3DPtr>& poseList, int numPoses, std::vector<Pose3DPtr> &finalPoses);
bool trained;
};
......
......@@ -327,7 +327,7 @@ bool PPF3DDetector::matchPose(const Pose3D& sourcePose, const Pose3D& targetPose
return (phi<this->rotation_threshold && dNorm < this->position_threshold);
}
void PPF3DDetector::clusterPoses(std::vector<Pose3DPtr> poseList, int numPoses, std::vector<Pose3DPtr> &finalPoses)
void PPF3DDetector::clusterPoses(std::vector<Pose3DPtr>& poseList, int numPoses, std::vector<Pose3DPtr> &finalPoses)
{
std::vector<PoseCluster3DPtr> poseClusters;
......
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