Robotics StackExchange | Archived questions

rqt_console only shows one msg

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,

Asked by copyat300 on 2017-01-02 18:45:53 UTC

Comments

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

Asked by antoineniotna on 2018-12-14 09:25:23 UTC

No, never figured it out.

Asked by copyat300 on 2018-12-14 09:50:19 UTC

Answers

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!

Asked by antoineniotna on 2018-12-18 07:03:26 UTC

Comments