Define RCLCPP_DEBUG_SKIPFIRST_THROTTLE
Defined in File logging.hpp
Define Documentation
-
RCLCPP_DEBUG_SKIPFIRST_THROTTLE(logger, clock, duration, ...)
Log a message with given severity with the following conditions:
The first log call is ignored but all subsequent calls are processed.
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.