$search
00001 """autogenerated by genmsg_py from AcquireObjectImageResult.msg. Do not edit.""" 00002 import roslib.message 00003 import struct 00004 00005 00006 class AcquireObjectImageResult(roslib.message.Message): 00007 _md5sum = "d41d8cd98f00b204e9800998ecf8427e" 00008 _type = "cob_object_detection_msgs/AcquireObjectImageResult" 00009 _has_header = False #flag to mark the presence of a Header object 00010 _full_text = """# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ====== 00011 # The results 00012 00013 """ 00014 __slots__ = [] 00015 _slot_types = [] 00016 00017 def __init__(self, *args, **kwds): 00018 """ 00019 Constructor. Any message fields that are implicitly/explicitly 00020 set to None will be assigned a default value. The recommend 00021 use is keyword arguments as this is more robust to future message 00022 changes. You cannot mix in-order arguments and keyword arguments. 00023 00024 The available fields are: 00025 00026 00027 @param args: complete set of field values, in .msg order 00028 @param kwds: use keyword arguments corresponding to message field names 00029 to set specific fields. 00030 """ 00031 if args or kwds: 00032 super(AcquireObjectImageResult, self).__init__(*args, **kwds) 00033 00034 def _get_types(self): 00035 """ 00036 internal API method 00037 """ 00038 return self._slot_types 00039 00040 def serialize(self, buff): 00041 """ 00042 serialize message into buffer 00043 @param buff: buffer 00044 @type buff: StringIO 00045 """ 00046 try: 00047 pass 00048 except struct.error as se: self._check_types(se) 00049 except TypeError as te: self._check_types(te) 00050 00051 def deserialize(self, str): 00052 """ 00053 unpack serialized message in str into this message instance 00054 @param str: byte array of serialized message 00055 @type str: str 00056 """ 00057 try: 00058 end = 0 00059 return self 00060 except struct.error as e: 00061 raise roslib.message.DeserializationError(e) #most likely buffer underfill 00062 00063 00064 def serialize_numpy(self, buff, numpy): 00065 """ 00066 serialize message with numpy array types into buffer 00067 @param buff: buffer 00068 @type buff: StringIO 00069 @param numpy: numpy python module 00070 @type numpy module 00071 """ 00072 try: 00073 pass 00074 except struct.error as se: self._check_types(se) 00075 except TypeError as te: self._check_types(te) 00076 00077 def deserialize_numpy(self, str, numpy): 00078 """ 00079 unpack serialized message in str into this message instance using numpy for array types 00080 @param str: byte array of serialized message 00081 @type str: str 00082 @param numpy: numpy python module 00083 @type numpy: module 00084 """ 00085 try: 00086 end = 0 00087 return self 00088 except struct.error as e: 00089 raise roslib.message.DeserializationError(e) #most likely buffer underfill 00090 00091 _struct_I = roslib.message.struct_I