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

Revision history [back]

click to hide/show revision 1
initial version

There are no differences between the two rqt graphs, except for the namespace If you look at the first graph, you can see 4 nodes

  1. /keyop
  2. /mobile_base
  3. /mobile_base_nodelet_manager
  4. /diagnostic_aggregator

and 4 topics

  1. /mobile_base_nodelet_manager/bond
  2. /mobile_base/commands/velocity
  3. /mobile_base/commands/motor_power
  4. /diagnostics

If you look at the second graph, you can see the corresponding topics and nodes with the prefix qbot1 and that all nodes are subscribed to / publishing to correct topics.

I think your confusion is about the namespace box. In rqt graphs, the topics and nodes are grouped by the top level namespace in boxes. For an instance, in the first rqt graph, /mobile_base_nodelet_manager/bond topic is inside the box /mobile_base_nodelet_manager because it's the top level namespace. Similarly, topics /mobile_base/commands/velocity and /mobile_base/commands/motor_power are inside the box /mobile_base.

Since you add a top level namespace /qbot1, everything with /qbot1 as the top level namespace, (that is, everything except /diagnostics node) is within the qbot1 box. In the second rqt graph, you can see the bottom of the box but top and sides are cropped out. The rqt_graph wiki page has an example image which would make it clearer to you.

The bottom line is, given your launch files, the rqt_graphs you are getting are correct. Personally, I prefer the <group> tag if more than one launch file is included in the namespace group.

If your more complex launch files are not working, can you please edit the question or post it as a new question with the actual problem you are running into?

There are no differences between the two rqt graphs, except for the namespace namespace. If you look at the first graph, you can see 4 nodes

  1. /keyop
  2. /mobile_base
  3. /mobile_base_nodelet_manager
  4. /diagnostic_aggregator

and 4 topics

  1. /mobile_base_nodelet_manager/bond
  2. /mobile_base/commands/velocity
  3. /mobile_base/commands/motor_power
  4. /diagnostics

If you look at the second graph, you can see the corresponding topics and nodes with the prefix qbot1 and that all nodes are subscribed to / publishing to correct topics.

I think your confusion is about the namespace box. In rqt graphs, the topics and nodes are grouped by the top level namespace in boxes. For an instance, in the first rqt graph, /mobile_base_nodelet_manager/bond topic is inside the box /mobile_base_nodelet_manager because it's the top level namespace. Similarly, topics /mobile_base/commands/velocity and /mobile_base/commands/motor_power are inside the box /mobile_base.

Since you add a top level namespace /qbot1, everything with /qbot1 as the top level namespace, (that is, everything except /diagnostics node) is within the qbot1 box. In the second rqt graph, you can see the bottom of the box but top and sides are cropped out. The rqt_graph wiki page has an example image which would make it clearer to you.

The bottom line is, given your launch files, the rqt_graphs you are getting are correct. Personally, I prefer the <group> tag if more than one launch file is included in the namespace group.

If your more complex launch files are not working, can you please edit the question or post it as a new question with the actual problem you are running into?

There are no differences between the two rqt graphs, except for the namespace. If you look at the first graph, you can see 4 nodes

  1. /keyop
  2. /mobile_base
  3. /mobile_base_nodelet_manager
  4. /diagnostic_aggregator

and 4 topics

  1. /mobile_base_nodelet_manager/bond
  2. /mobile_base/commands/velocity
  3. /mobile_base/commands/motor_power
  4. /diagnostics

If you look at the second graph, you can see the corresponding topics and nodes with the prefix qbot1 and that all nodes are subscribed to / publishing to correct topics.

I think your confusion is about the namespace box. In rqt graphs, the topics and nodes are grouped by the top level namespace in boxes. For an instance, in the first rqt graph, /mobile_base_nodelet_manager/bond topic is inside the box /mobile_base_nodelet_manager because it's the top level namespace. Similarly, topics /mobile_base/commands/velocity and /mobile_base/commands/motor_power are inside the box /mobile_base.

Since you add a top level namespace /qbot1, everything with /qbot1 as the top level namespace, (that is, everything except /diagnostics node) topic) is within the qbot1 box. In the second rqt graph, you can see the bottom of the box but top and sides are cropped out. The rqt_graph wiki page has an example image which would make it clearer to you.

The bottom line is, given your launch files, the rqt_graphs you are getting are correct. Personally, I prefer the <group> tag if more than one launch file is included in the namespace group.

If your more complex launch files are not working, can you please edit the question or post it as a new question with the actual problem you are running into?