def show_data_info(self): import utility import time while not rospy.is_shutdown(): time.sleep(.5) with self.mutex: utility.show_msg_info(self.msg) print('fps: %s' % round(self.fps, 2)) print '%s' % (quit_msg)
def show_data_info(msg, fps): import utility utility.show_msg_info(msg) print('fps: %s' % fps)
def show_data_info(self, msg): import utility utility.show_msg_info(msg, showLatency=True) print ("fps: %s" % self.fps)
def show_data_info(self, msg): import utility self.total_latency += utility.show_msg_info(msg, showLatency=True) print('fps: %s' % self.fps)
def show_data_info(self, msg): import utility utility.show_msg_info(msg, showLatency=True) print 'fps: %s' % (self.imgPlayer.get_fps())