Ask Your Question
0

Rosout topic, non-string messages

asked 2011-06-09 23:41:22 -0500

smerino gravatar image

updated 2011-06-10 01:26:47 -0500

As I read I understand that all topics messages are displayed in rosout topic. But as I see the messages that are different than a simple string aren't displayed, isn't it?

So what can I do if I want to show all the messages from all topics?. Is there a log file? or can I change the rosout configuration?. Perhaps the unique method is to subscribe to every topic?

Thank you.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2011-06-10 00:17:45 -0500

dornhege gravatar image

updated 2011-06-10 00:18:04 -0500

rosout does not display all topics! It displays information send from programs via ROS_INFO/ROS_WARN, etc.

You can look at any message via: rostopic echo <topic>. And yes, there are logging facilities. Look for rosrecord and rosbag.

edit flag offensive delete link more
0

answered 2011-06-10 01:22:41 -0500

smerino gravatar image

Ok I saw that some topic were published in rosout a ROS_INFO.

Rosrecord is deprecated. Rosbag could help me. But as I see it generate binary files. I saw that it's format is published, perhaps I can read it. My idea is to read the message of topics in real time, like subscribing them, but I want to subscribe to more than one. Now, the better way to do it that I found is to redirect de desired topics with the rostopic echo. Also I can program a node that could subscribe to more than one node? I have to think which could be the better way.

Thank you

edit flag offensive delete link more

Comments

You can of course subscribe to more than one topic using multiple subscribers. rosout is only for displaying information and rosbag is for recording and playing back information. Are you missing this information: http://www.ros.org/wiki/roscpp/Overview/Publishers_and_Subscribers ?
dornhege gravatar imagedornhege ( 2011-06-10 05:09:29 -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

Stats

Asked: 2011-06-09 23:41:22 -0500

Seen: 488 times

Last updated: Jun 10 '11