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 -0500
Seen: 2,771 times
Last updated: Jan 29 '20
How to get a ROS 2 node's log folder/file?
[ros2cli] Cannot get the lifecycle state of lifecycle demo nodes?
Cannot build ROS2 humble (rclcpp) with Android NDK
Frames are moving away from global frame
Best Practices and Recommendations for Creating Moveit2-based ROS2 Actions
Confused adding header files in ROS2
cmake error package is considered to be NOT FOUND
rosdep can't find cyclonedds during foxy install
ROS2 through docker: failed to configure logging: Failed to create log directory
Unless something has changed since I last looked at the macros, there's no equivalent for this in ROS 2.