ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I actually ended using 'pickle' in Python to do the same thing. It took away those 2 functions for literally 2 lines in code. I am sure the serialize_data in roscpp has more sophisticated purposes. However all I was trying to do was create a byte stream and send it out over a network. Then deserialize it into the data structure on the other end. For anyone else attempting similar tasks: I would highly suggesting looking at pickle.dumps and pickle.loads in Python.