0
$\begingroup$

Rosanswers logo

According to wikiros tutorials and my ros textbook, the node rosout subscribes to the topic /rosout, takes the messages, records them in a textual log file.

My inference from this explanation is some nodes publish some messages to the topic /rosout, and the node rosout records them in log file. In this point, a question comes to my mind:

which nodes publish messages to the topic /rosout ?

Can any node publish a message to the topic /rosout ?


Originally posted by gktg1514 on ROS Answers with karma: 67 on 2019-01-31

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

Can any node publish a message to the topic /rosout?

Sure: every node can publish to any topic

which nodes publish messages to the topic /rosout?

Any node using any of the ClientLibraries (which means: every). Check out this section as well as the links. There it is detailed how ROS logging (e.g. using rospy.log* and ROS_* end up in /rosout).


Originally posted by mgruhler with karma: 12390 on 2019-02-01

This answer was ACCEPTED on the original site

Post score: 3

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.