[ros-users] Callback for new topics?

Ken Conley kwc at willowgarage.com
Wed Jun 23 16:45:59 UTC 2010


Hi Mike,

Currently you have to poll to find out about new topics. You could
have one node do this for the rest of the system, but that's about the
best you can do.

 - Ken

On Wed, Jun 23, 2010 at 9:43 AM, Mike Purvis
<mpurvis at clearpathrobotics.com> wrote:
> 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
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>



More information about the ros-users mailing list