ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The answer is Very simple, the field that you need to send is s1.buflist (from the example above): s = String("Hello World".encode('utf-8')) s1 = StringIO() s.serialize(s1) socket.send_multipart(s1.buflist) print "sent: " + data.__str__()
2 | No.2 Revision |
The answer is Very simple, the field that you need to send is s1.buflist (from the example above):
above):
s = String("Hello World".encode('utf-8'))
s1 = StringIO()
s.serialize(s1)
socket.send_multipart(s1.buflist)
print "sent: " + data.__str__()data.__str__()