ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

rosout node and rosout topic

asked 2019-01-31 14:59:15 -0500

gktg1514 gravatar image

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 ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2019-02-01 01:14:34 -0500

mgruhler gravatar image

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).

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2019-01-31 14:59:15 -0500

Seen: 276 times

Last updated: Feb 01 '19