Define RCLCPP_WARN_STREAM_SKIPFIRST_THROTTLE
Defined in File logging.hpp
Define Documentation
-
RCLCPP_WARN_STREAM_SKIPFIRST_THROTTLE(logger, clock, duration, stream_arg)
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.
stream_arg – The argument << into a stringstream