def add_subscriber(self, pc2_callback): rospy.Subscriber('/velodyne_points', PointCloud2, pc2_callback)