提交 f1b2ade3 编写于 作者: T Tae Eun Choe 提交者: Calvin Miao

Perception: Added more debugging log

Perception: fixed type issue

Perception: fixed type issue2
上级 f94c3db3
......@@ -342,6 +342,9 @@ void CNNSegmentation::GetObjectsFromSppEngine(
num_foreground = spp_engine_.RemoveGroundPointsInForegroundCluster(
original_cloud_, lidar_frame_ref_->roi_indices,
lidar_frame_ref_->non_ground_indices);
if (num_foreground == 0) {
ADEBUG << "No foreground segmentation output";
}
}
const auto& clusters = spp_engine_.clusters();
......
......@@ -59,6 +59,10 @@ size_t SppEngine::ProcessConnectedComponentCluster(
double sync_time1 = timer.toc(true);
worker_.WakeUp();
size_t num = detector_2d_cc_.Detect(&labels_2d_);
if (num == 0) {
ADEBUG << "No object detected";
// Later will decide if return this function here
}
double detect_time = timer.toc(true);
worker_.Join();
double sync_time2 = timer.toc(true);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册