Commit 1fd979a9 authored by alexandre burton's avatar alexandre burton
Browse files

ClusterTracker: commentage de stdout debug

parent 56fd3d34
......@@ -66,7 +66,7 @@ class ClusterTracker
(*clusterMesh)->min[1] - cluster_halo))) {
// overlap X+Y
std::cout << "OVERLAP 1 " << std::endl;
// std::cout << "OVERLAP 1 " << std::endl;
(*clusterMesh)->smartCloud = *newCloud;
(*clusterMesh)->setupMesh();
(*clusterMesh)->lostTime = 0;
......@@ -121,13 +121,13 @@ class ClusterTracker
if ((((*c)->min[1] < (*clusterMesh)->max[1] + cluster_halo) && ((*c)->max[1] >
(*clusterMesh)->min[1] - cluster_halo))) {
// overlap X+Y
std::cout << "OVERLAP 2 avec tolérance" << cluster_halo << std::endl;
// std::cout << "OVERLAP 2 avec tolérance" << cluster_halo << std::endl;
(*clusterMesh)->smartCloud = *c;
(*clusterMesh)->setupMesh();
(*clusterMesh)->lostTime = 0;
(*clusterMesh)->lost = false;
(*clusterMesh)->activeSpree = 0;
std::cout << "delete cloud " << std::endl;
// std::cout << "delete cloud " << std::endl;
c = candidateClouds->erase(c);
reborn = true;
break;
......@@ -138,7 +138,7 @@ class ClusterTracker
if (!reborn) {
(*clusterMesh)->lostTime++;
if ((*clusterMesh)->lostTime > 2) {
std::cout << "delete clustermesh " << std::endl;
// std::cout << "delete clustermesh " << std::endl;
clusterMeshBin.push_back(*clusterMesh);
clusterMesh = clusterMeshes.erase(clusterMesh);
}
......@@ -162,7 +162,7 @@ class ClusterTracker
vector<shared_ptr<SmartCloud>>::iterator newCloud;
for (newCloud = candidateClouds->begin(); newCloud != candidateClouds->end(); newCloud++) {
std::cout << "new a clusterMesh" << std::endl;
// std::cout << "new a clusterMesh" << std::endl;
if (clusterMeshBin.size() > 0) {
shared_ptr<ClusterMesh> revived = clusterMeshBin.back();
......
Supports Markdown
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