ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
In C++, you can define your own classes, and have those classes serialize the same way as an equivalent ROS message: http://wiki.ros.org/roscpp/Overview/MessagesSerializationAndAdaptingTypes
You should be able to do the same thing in python, but I'm not aware of a document that describes how to do it.