Re: [ros-users] roscpp: subscribed topics list

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: Josh Faust
Date:  
To: ros-users
Subject: Re: [ros-users] roscpp: subscribed topics list
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 <>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
>
> https://lists.sourceforge.net/lists/listinfo/ros-users
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>