genmsg Python API¶
Classes¶
-
class
genmsg.
MsgSpec
(types, names, constants, text, full_name, package='', short_name='')[source]¶ Container class for storing loaded msg description files. Field types and names are stored in separate lists with 1-to-1 correspondence. MsgSpec can also return an md5 of the source text.
-
fields
()[source]¶ Returns: zip list of types and names (e.g. [(‘int32’, ‘x’), (‘int32’, ‘y’)], [(str,str),]
-