Skip to content

Commit

Permalink
feat: use THROTTLE to output log
Browse files Browse the repository at this point in the history
  • Loading branch information
h-ohta committed May 26, 2022
1 parent d9cc4fe commit f307271
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 f307271

Please sign in to comment.