parameters: (self)
docstring: Create TimeSynchronizer to listen on rgb image, detection result and tracking results
docstring_summary: Create TimeSynchronizer to listen on rgb image, detection result and tracking results
docstring_tokens: Create TimeSynchronizer to listen on rgb image detection result and tracking results
function: def __init__(self):
          """Create TimeSynchronizer to listen on rgb image, detection result and tracking results
          """
          self._bridge = CvBridge()
          self._pub = rospy.Publisher(self.PUB_TOPIC, Image, queue_size=10)
          image_sub = message_filters.Subscriber('/object_analytics/rgb', Image)
          detection_sub = message_filters.Subscriber('/object_analytics/detection', ObjectsInBoxes)
          tracking_sub = message_filters.Subscriber('/object_analytics/tracking', TrackedObjects)
  
          ts = message_filters.TimeSynchronizer([image_sub, detection_sub, tracking_sub], 100)
          ts.registerCallback(self._callback)
  
          self._measures = [Measure('Detection', '/object_analytics/detection', ObjectsInBoxes),
                            Measure('Localization', '/object_analytics/localization', ObjectsInBoxes3D),
                            Measure('Tracking', '/object_analytics/tracking', TrackedObjects)]
function_tokens: def __init__ ( self ) : self . _bridge = CvBridge ( ) self . _pub = rospy . Publisher ( self . PUB_TOPIC , Image , queue_size = 10 ) image_sub = message_filters . Subscriber ( '/object_analytics/rgb' , Image ) detection_sub = message_filters . Subscriber ( '/object_analytics/detection' , ObjectsInBoxes ) tracking_sub = message_filters . Subscriber ( '/object_analytics/tracking' , TrackedObjects ) ts = message_filters . TimeSynchronizer ( [ image_sub , detection_sub , tracking_sub ] , 100 ) ts . registerCallback ( self . _callback ) self . _measures = [ Measure ( 'Detection' , '/object_analytics/detection' , ObjectsInBoxes ) , Measure ( 'Localization' , '/object_analytics/localization' , ObjectsInBoxes3D ) , Measure ( 'Tracking' , '/object_analytics/tracking' , TrackedObjects ) ]