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

Explore subscribed topics

asked 2012-06-04 05:01:34 -0500

Erwan R. gravatar image

Hello !

I'm currently investigating deeper into explore node as it drives (in simulation) my PR2 to discover his environment. When running the node and looking at rxgraph, I noticed that the subscribed topics differs from the ones listed in the [documentation]{http://www.ros.org/wiki/explore}.

The running node subscribes to :

  1. /move_base/result
  2. /move_base/feedback
  3. /move_base/status
  4. /tf

whereas none are written on ros.org.

Is that because of a node update and what are they used for ?

Thanks for answering.

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
3

answered 2012-06-04 05:06:02 -0500

updated 2012-06-04 07:53:25 -0500

1-3 are the result of an action interface (more information about actionlib).

4 is the result of a tf listener.

All of the above are features of ROS that use topics to communicate, but don't require explicitly creating publishers or subscribers, and are not considered part of a node's topic API.

edit flag offensive delete link more

Comments

Thanks ! That brings more light on my way to understanding ROS.

Erwan R. gravatar image Erwan R.  ( 2012-06-04 05:19:47 -0500 )edit
1

answered 2012-06-04 05:08:20 -0500

Lorenz gravatar image

The subscription to tf is pretty common, every node that instantiates a tf::TransformListener subscribes to it, so I don't think it is part of the API and needs to be mentioned in the documentation.

The subscriptions to the move_base topics is actually mentioned in the documentation at section 2.1.4. Every action client subscribes to the result, feedback and status topic of the action server and publishes the goal and the cancel topic.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-06-04 05:01:34 -0500

Seen: 661 times

Last updated: Jun 04 '12