visual-pushing-grasping
visual-pushing-grasping copied to clipboard
change parse_tcp_state_data
My UR Software version is 3.5. How to change parse_tcp_state_data? error: assert(robot_message_type == 16)
Hello, friend,have you solved your problem? I used ur5e, and the same problem occurred. If you solve it, could you tell me about the code modification part,thank you very much!
hi has anyone figured out the answer for this?
help! same error we found
def parse_tcp_state_data(state_data, subpackage):
# Read package header
baseIndex = 79
data_bytes = bytearray()
data_bytes.extend(state_data)
data_length = struct.unpack("!i", data_bytes[baseIndex:baseIndex + 4])[0];
robot_message_type = data_bytes[baseIndex + 4]
this may be useful for you.