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


object_manipulation_msgs
Author(s): Matei Ciocarlie
autogenerated on Mon Oct 6 2014 02:58:11