Skip to content

Commit

Permalink
feat: use THROTTLE to output log (tier4#969)
Browse files Browse the repository at this point in the history
  • Loading branch information
h-ohta authored and boyali committed Oct 3, 2022
1 parent dd22388 commit f041050
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 f041050

Please sign in to comment.