获取UR5机械臂TCP坐标时报错 struct.error: unpack requires a buffer of 48 byte
问题:使用如下代码获取UR5机器人TCP坐标时报错“position=struct.unpack(‘!6d’,data[444:492])struct.error:unpackrequiresabufferof48bytes”importnumpyasnpimportsocketimporttimeimportstructimportutilimportrtdefromtimeimportslee