module documentation
Dynamic generation of deserializer.
| Function | generate |
Dymamically generate message classes from msg_cat .msg text gendeps dump. |
| Function | _gen |
Modify the generated code to rewrite names such that the code can safely co-exist with messages of the same name. |
| Function | _gen |
Modify pkg/base_type name so that it can safely co-exist with statically generated files. |
| Function | _generate |
Dynamically generate message specificition. |
Dymamically generate message classes from msg_cat .msg text gendeps dump.
This method modifies sys.path to include a temp file directory. :param core_type str: top-level ROS message type of concatenated .msg text :param msg_cat str: concatenation of full message text (output of gendeps --cat) :raises: MsgGenerationException If dep_msg is improperly formatted
Modify the generated code to rewrite names such that the code can safely co-exist with messages of the same name.
| Parameters | |
| py | genmsg_py-generated Python source code, str |
| current | Undocumented |
| types | Undocumented |
| Returns | |
| updated text, str | |
Modify pkg/base_type name so that it can safely co-exist with statically generated files.
@rtype: str
| Returns | |
| name to use for pkg/base_type for dynamically generated message class. |