Skip to content

Commit

Permalink
fix: change when to clear a debugger
Browse files Browse the repository at this point in the history
Signed-off-by: yukke42 <yusuke.muramatsu@tier4.jp>
  • Loading branch information
yukke42 committed Apr 6, 2022
1 parent 2b0e0d2 commit 946a705
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions perception/image_projection_based_fusion/src/fusion_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,6 @@ void FusionNode<Msg>::fusionCallback(
return;
}

if (debugger_) {
debugger_->clear();
}

Msg output_msg = *input_msg;

preprocess(output_msg);
Expand Down Expand Up @@ -197,6 +193,9 @@ void FusionNode<Msg>::fusionCallback(
RCLCPP_WARN(this->get_logger(), "no camera info. id is %zu", image_id);
continue;
}
if (debugger_) {
debugger_->clear();
}

fuseOnSingleImage(
*input_msg, image_id, *input_roi_msg, camera_info_map_.at(image_id), output_msg);
Expand Down

0 comments on commit 946a705

Please sign in to comment.