[ros-users] roscpp: subscribed topics list

Josh Faust jfaust at willowgarage.com
Wed May 5 17:55:09 UTC 2010


There isn't currently, no.  Until recently (1.1.x) the master did not store
the data type of subscribed topics, so all we would've been able to retrieve
are the topic names.

I've added a ticket: https://code.ros.org/trac/ros/ticket/2693

Josh

On Wed, May 5, 2010 at 2:50 AM, Enea Scioni <enea.scioni at student.unife.it>wrote:

>
> Hi all ROS-user,
> I've a question: where is a way to get a list of all subscribed topic,
> using
> roscpp?
> I know that there's a way using rospy (rostopic tool do this), but I didn't
> find into the documentation or wiki information about that, I'm only able
> to
> get all advertise topics or subscribed topics by the current node, but not
> for all topics.
>
> I can also use ros::master::getTopics but it returns only published topics,
> and subscribed topics. In the same way, I can't use ros::this_node because
> it gets only information about the current node.
> So, is there a way similar to ros::master::getTopics useful for get
> information about subscribed topics?
>
> Best Regards,
> Enea Scioni
>
>
> --
> View this message in context:
> http://ros-users.122217.n3.nabble.com/roscpp-subscribed-topics-list-tp778490p778490.html
> Sent from the ROS-Users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> ros-users mailing list
> ros-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ros-users
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100505/944e72d3/attachment-0004.html>


More information about the ros-users mailing list