Skip to content

Commit a3732f5

Browse files
Added small fixes and added logging fix changes.
2 parents 52ecc1b + a6ed279 commit a3732f5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ed_sensor_integration/src/kinect/segmenter.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,9 @@ SegmentationResult Segmenter::cluster(const cv::Mat& depth_image, const geo::Dep
334334
cluster.label = seg_result.labels[i];
335335
cluster.classification_confidence = seg_result.confidences[i];
336336
if (logging)
337-
ROS_DEBUG("Cluster %zu classified as '%s' with confidence %.2f", i, cluster.label.c_str(), cluster.classification_confidence);
337+
{
338+
ROS_ERROR("Cluster %zu classified as '%s' with confidence %.2f and has id %s", i, cluster.label.c_str(), cluster.classification_confidence, cluster.id.c_str());
339+
}
338340
}
339341

340342
// Store in thread-safe pre-allocated array

0 commit comments

Comments
 (0)