Define RCLCPP_ERROR_THROTTLE
Defined in File logging.hpp
Define Documentation
-
RCLCPP_ERROR_THROTTLE(logger, clock, duration, ...)
Log a message with given severity with the following condition:
Log calls are ignored if the last logged message is not longer ago than the specified duration.
- Parameters:
logger – The
rclcpp::Logger
to useclock – rclcpp::Clock that will be used to get the time point.
duration – The duration of the throttle interval as an integral value in milliseconds.
... – The format string, followed by the variable arguments for the format string.