TypeError: serialize() missing 1 required positional argument: ‘buff‘0.报错1. 修改
0.报错Traceback (most recent call last): File "./new.py", line 25, in <module> pub_Pxyz.publish(msg_Pxyz) File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/topics.py", line 882, in publish self.impl.publ