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

Info about /rosout topic and rosout node

asked 2016-05-27 09:26:21 -0500

muscles gravatar image

Dear Members,

Hi Hope you guys are having a good one. I am very new to ROS and trying to understand the architecture. Until now I found it very fascinating and the community is doing a great job. I was looking at different nodes and topics and where I am stuck currently in understanding properly the /rosout topic and rosout node. I have been through the but did not understand it completely. That would be great if anyone here can shed some light on it and explain it to me in a more simpler way.

Sincerely, muscles

edit retag flag offensive close merge delete


Hey, welcome! Have you seen this? Sorry, I re-read your question. Now I understand you went through that specific page, didn't you?

Javier V. Gómez gravatar image Javier V. Gómez  ( 2016-05-27 11:17:16 -0500 )edit

Dear Javier,

Yes I have been through this specific page , but still did not completely understand why do we need rosout and what's the purpose of using it .


muscles gravatar image muscles  ( 2016-05-27 13:14:15 -0500 )edit

Well, I haven't used it at all, but I can imagine an use case: usually you print info on terminal. What if you cannot see this terminal? Then you store it to a file. If you publish to rosout, this is done transparently, and you have timing info, can store it in a rosbag, reproduce it, etc.

Javier V. Gómez gravatar image Javier V. Gómez  ( 2016-05-30 02:53:08 -0500 )edit

1 Answer

Sort by » oldest newest most voted

answered 2016-12-22 18:48:36 -0500

tfoote gravatar image

The rosout topic allows you to see what's happening in nodes that are running remotely and you potentially don't have access to the console. You can launch the rqt plugin rqt_console to view outputs.

rqt_logger_level will let you set the logging level remotely as well. :

Thus you can make all the console outputs available for debugging on any computer connected to the robot. Which is very convenient when you want to connect your robot and debug from a laptop.

edit flag offensive delete link more


I've always considered rosout to be the stdout (and stderr) of the entire ROS node graph (so that includes all nodes, irrespective of their deployment).

gvdhoorn gravatar image gvdhoorn  ( 2016-12-23 03:09:49 -0500 )edit

Question Tools

1 follower


Asked: 2016-05-27 09:26:21 -0500

Seen: 4,425 times

Last updated: Dec 22 '16