Skip to content

Commit

Permalink
feat: use THROTTLE to output log (#969)
Browse files Browse the repository at this point in the history
  • Loading branch information
h-ohta authored May 30, 2022
1 parent b51fe91 commit 8b949df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ bool StopLineModule::modifyPathVelocity(

// If no collision found, do nothing
if (!collision) {
RCLCPP_WARN(logger_, "is no collision");
RCLCPP_WARN_THROTTLE(logger_, *clock_, 5000 /* ms */, "is no collision");
return true;
}

Expand Down

0 comments on commit 8b949df

Please sign in to comment.