Skip to content

Commit

Permalink
feat: use THROTTLE to output log (autowarefoundation#969)
Browse files Browse the repository at this point in the history
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
  • Loading branch information
h-ohta authored and ktro2828 committed Jun 7, 2022
1 parent 4e67fad commit 97d3160
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 97d3160

Please sign in to comment.