ROS2 ROS_ERROR_STREAM equivalent
Is there an equivalent to the stream log functions in ROS1?
I only found the RCLCPP_ERROR which is an equivalent for the ROS_ERROR.
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Available in ROS2 as of Eloquent. https://github.com/ros2/rclcpp/pull/926
The stream operators have not been implemented in rclcpp yet.
You can get an overview of the logging API here: http://docs.ros2.org/crystal/api/rclc...
If that's something that you'd like to see we'd be happy to have a contribution to add support for stream style macros. Before you implement too much I suggest opening a ticket to discuss the best approach here: https://github.com/ros2/rclcpp/issues
Asked: 2018-12-17 03:01:09 -0600
Seen: 3,028 times
Last updated: Jan 29 '20
Unless something has changed since I last looked at the macros, there's no equivalent for this in ROS 2.