Skip to content

Commit 946a705

Browse files
author
yukke42
committed
fix: change when to clear a debugger
Signed-off-by: yukke42 <yusuke.muramatsu@tier4.jp>
1 parent 2b0e0d2 commit 946a705

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

perception/image_projection_based_fusion/src/fusion_node.cpp

+3-4
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,6 @@ void FusionNode<Msg>::fusionCallback(
153153
return;
154154
}
155155

156-
if (debugger_) {
157-
debugger_->clear();
158-
}
159-
160156
Msg output_msg = *input_msg;
161157

162158
preprocess(output_msg);
@@ -197,6 +193,9 @@ void FusionNode<Msg>::fusionCallback(
197193
RCLCPP_WARN(this->get_logger(), "no camera info. id is %zu", image_id);
198194
continue;
199195
}
196+
if (debugger_) {
197+
debugger_->clear();
198+
}
200199

201200
fuseOnSingleImage(
202201
*input_msg, image_id, *input_roi_msg, camera_info_map_.at(image_id), output_msg);

0 commit comments

Comments
 (0)