def listen():
global pub, data_list, rospy
rospy.init_node('listen', anonymous=True)
pub = rospy.Publisher('camera/depth/points_replay', PointCloud2, queue_size=10)
rospy.Subscriber("points_photo_trigger", std_msgs.msg.Int32, callback_photo)
评论列表
文章目录