Ask Your Question
0

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 wiki.ros.org 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

Comments

Hey, welcome! Have you seen this? http://wiki.ros.org/rosout Sorry, I re-read your question. Now I understand you went through that specific page, didn't you?

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

Dear Javier,

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

Sincerely,

muscles gravatar imagemuscles ( 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 imageJavier V. Gómez ( 2016-05-30 02:53:08 -0500 )edit

1 Answer

Sort by » oldest newest most voted
1

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 http://wiki.ros.org/rqt_console to view outputs.

rqt_logger_level will let you set the logging level remotely as well. : http://wiki.ros.org/rqt_logger_level

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

Comments

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 imagegvdhoorn ( 2016-12-23 03:09:49 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 1,761 times

Last updated: Dec 22 '16