00001 import rospy 00002 import sys 00003 00004 class DBMSubscriber(rospy.Subscriber): 00005 def __init__(self, name, data_class, callback=None, callback_args=None, queue_size=None, buff_size=65536, tcp_nodelay=False): 00006 self.managed_topic_name = name + "/optimized" 00007 rospy.Subscriber.__init__(self, self.managed_topic_name, data_class, callback, callback_args, queue_size, buff_size, tcp_nodelay)