Functions | |
def | pack_numpy |
def | unpack_numpy |
Variables | |
dictionary | NUMPY_DTYPE |
maps ros msg types to numpy types |
def include.genpy.generate_numpy.pack_numpy | ( | var | ) |
create numpy serialization code :param vars: name of variables to pack
Definition at line 65 of file generate_numpy.py.
def include.genpy.generate_numpy.unpack_numpy | ( | var, | |
count, | |||
dtype, | |||
buff | |||
) |
create numpy deserialization code
Definition at line 59 of file generate_numpy.py.
dictionary include::genpy::generate_numpy::NUMPY_DTYPE |
00001 { 00002 'float32': 'numpy.float32', 00003 'float64': 'numpy.float64', 00004 'bool': 'numpy.bool', 00005 'int8': 'numpy.int8', 00006 'int16': 'numpy.int16', 00007 'int32': 'numpy.int32', 00008 'int64': 'numpy.int64', 00009 'uint8': 'numpy.uint8', 00010 'uint16': 'numpy.uint16', 00011 'uint32': 'numpy.uint32', 00012 'uint64': 'numpy.uint64', 00013 # deprecated type 00014 'char' : 'numpy.uint8', 00015 'byte' : 'numpy.int8', 00016 }
maps ros msg types to numpy types
Definition at line 42 of file generate_numpy.py.