Define RCLCPP_WARN_STREAM_ONCE

Define Documentation

RCLCPP_WARN_STREAM_ONCE(logger, stream_arg)

Log a message with given severity with the following condition:

  • All log calls except the first one are ignored.

Parameters:
  • logger – The rclcpp::Logger to use

  • stream_arg – The argument << into a stringstream