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

Why doesn't rviz appear as a node in rqt_graph?

asked 2017-08-19 23:24:47 -0600

Cataphract gravatar image

Why doesn't rviz appear as a node in rqt_graph? rviz is subscribed to some topics (such as /scan), but I don't see it in rqt_graph.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2017-10-31 10:30:37 -0600

updated 2017-10-31 10:42:48 -0600

Hi @Cataphract ,

RViz is a "debug" node (rosout and rqt_graph itself also).

When you open rqt_graph, I think that by default you have the Debug button checked. When this button is checked, all "debug nodes" are hidden.

If you want to show RViz on rqt_graph you have to "uncheck" the "Debug" button.

The list of nodes that are hidden can be found on a variable called QUIET_NAMES of rqt_graph.

Looking at the variable, we can see that every node that starts with one of the following values below are hidden when you "check" the Debug button on rqt_graph:

QUIET_NAMES = ['/diag_agg', '/runtime_logger', '/pr2_dashboard', '/rviz', '/rosout', '/cpu_monitor', '/monitor', '/hd_monitor', '/rxloggerlevel', '/clock', '/rqt', '/statistics']

If you prefer watch a video explaining this, I have created a one ( https://youtu.be/uVK0Yp4ZDGc ) that answers this question and show an example of how to add the /gazebo as a Debug Node (for learning purposes), by changing the QUIET_NAMES variable.

Cheers,

Ruben.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2017-08-19 23:24:47 -0600

Seen: 852 times

Last updated: Oct 31 '17