ROS tutorial freezes on rostopic pub -r [closed]

asked 2014-02-18 18:08:43 -0500

chet gravatar image

updated 2014-02-19 07:43:43 -0500

ahendrix gravatar image

I'm going throughout the tutorial, when we get to the point of publishing a recurring message to view the node graph along with the plots, etc. my machine begins to freeze. It doesn't crash but get really really slow. I have checked the gnome-system-monitor and my 2 cores aren't on 100%, not is my 2GB RAM full. However the UI is very laggy. Eventually, the cores start pumping at 100% each, but it doesn't seem to make sense. I don't know why this is happening, but its hard to troubleshoot when things start to freeze up.

I am running on VirtualBox so that could be part of the issue, but it hasn't been a problem yet. I'm new to ROS. Thanks for any help.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2015-01-02 03:30:44.400605


Is the entire VM laggy, or just certain windows? Is there any noticeable load on the host system?

ahendrix gravatar image ahendrix  ( 2014-02-18 18:25:40 -0500 )edit

Entire VM. Everything else in the tutorial has been working just fine btw. rqt_graph, rqt_plot, etc. The host system seems just fine and the host activity of these 2 cores reflects the activity I see in gnome-system-monitor. Thanks

chet gravatar image chet  ( 2014-02-19 06:57:18 -0500 )edit

My experience with rqt_plot (and rxplot before it) is that, by default, they keep the entire history of data that they're received, and as this data accumulates it causes the plotting tools to run more slowly. Do you see better performance if you close rqt_plot?

ahendrix gravatar image ahendrix  ( 2014-02-19 07:12:56 -0500 )edit

Sorry, my point was that rqt_plot isn't the problem. Its runs just fine. If all I have running is (1) roscore, (2) turtlesim_node, and (3) rostopic pub -r, then things lag immediately after command 3. Thanks

chet gravatar image chet  ( 2014-02-19 07:30:25 -0500 )edit