[ros-users] Callback for new topics?

Mike Purvis mpurvis at clearpathrobotics.com
Wed Jun 23 16:43:48 UTC 2010


Hey,

Is there a way to receive a callback or notification when new topics appear?

I see that rospy has this function:
http://www.ros.org/doc/api/rospy/html/rospy.client-module.html#get_published_topics

However, I'd prefer not to be polling it. For the moment, I've configured my
system with a shared "announce" channel where new hardware can make existing
hardware aware of itself and what its topics are. However, it would be great
if it were possible to simply subscribe to a topic of new topics, and do it
that way.

Thanks for any input,

Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/ros-users/attachments/20100623/29289c6c/attachment-0002.html>


More information about the ros-users mailing list