micro-ROS / micro_ros_diagnostics

Diagnostics framework for micro-ROS
Apache License 2.0
8 stars 4 forks source link

Feature request: Logging like ros2 node.get_logger() #6

Closed PaddyCube closed 3 years ago

PaddyCube commented 3 years ago

A ROS2 node provides a handy interface for log messages. Something like node.get_logger().info(). You all know we can view these messages in rqt and other tools.

It seems that such a function is not availabe in micro-ros

norro commented 3 years ago

Hi @PaddyCube, this seems to be a feature request of the client library, not the diagnostics framework. Please consider opening a feature request for https://github.com/ros2/rclc/.

However, have you had a look at the error and warning macros in rclc, i.e. rclc/types.h#L39-L63 Is this somewhat what you're looking for?

PaddyCube commented 3 years ago

Thanks, I've created a new one here https://github.com/micro-ROS/rclc/issues/77