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

rqt_console only shows one msg

asked 2017-01-02 17:45:53 -0600

copyat300 gravatar image

I was working with launch files and noticed one of the nodes I was working with wasn't showing all it's messages in rqt_console.

I'm running ROS Kinetic on Ubuntu 16.04

My knowledge of the ROS ecosystem isn't great because I'm still relatively new but it looks like the issues is with /rosout only sending one message for my node and I'm not sure why that is. When running my node with rosrun it appears everything is being logged correctly but only one message goes out over /rosout.

Here are some screenshots demonstrating what. I'm talking about.

https://drive.google.com/open?id=0B4iK_v6Ye3Vlems0TDEwdDZyNFU

(Sorry I don't have enough Karama to embed the photos)

I'm not sure what to do next in debugging this issue.

Thank You,

edit retag flag offensive close merge delete

Comments

I have exactly the same problem, did you find any answer ?

antoineniotna gravatar image antoineniotna  ( 2018-12-14 08:25:23 -0600 )edit
1

No, never figured it out.

copyat300 gravatar image copyat300  ( 2018-12-14 08:50:19 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-12-18 06:03:26 -0600

antoineniotna gravatar image

updated 2018-12-18 06:04:10 -0600

In my case I replace the std::cout of my program with ROS_INFO_STREAM, and I experienced the same problem as you, only the last message is took in account in rosout.

I wanted to use rqt_console to be able to differentiate which node is outputing what.

So, the work around I did was to customize the ros info messages to make the node appear, you can find the info here.

I hope it will help the next guy!

edit flag offensive delete link more

Question Tools

3 followers

Stats

Asked: 2017-01-02 17:45:53 -0600

Seen: 383 times

Last updated: Dec 18 '18