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