_GraspAdjustFeedback.py
Go to the documentation of this file.
00001 """autogenerated by genpy from pr2_grasp_adjust/GraspAdjustFeedback.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 GraspAdjustFeedback(genpy.Message):
00009   _md5sum = "d41d8cd98f00b204e9800998ecf8427e"
00010   _type = "pr2_grasp_adjust/GraspAdjustFeedback"
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 #feedback
00014 
00015 
00016 
00017 """
00018   __slots__ = []
00019   _slot_types = []
00020 
00021   def __init__(self, *args, **kwds):
00022     """
00023     Constructor. Any message fields that are implicitly/explicitly
00024     set to None will be assigned a default value. The recommend
00025     use is keyword arguments as this is more robust to future message
00026     changes.  You cannot mix in-order arguments and keyword arguments.
00027 
00028     The available fields are:
00029        
00030 
00031     :param args: complete set of field values, in .msg order
00032     :param kwds: use keyword arguments corresponding to message field names
00033     to set specific fields.
00034     """
00035     if args or kwds:
00036       super(GraspAdjustFeedback, self).__init__(*args, **kwds)
00037 
00038   def _get_types(self):
00039     """
00040     internal API method
00041     """
00042     return self._slot_types
00043 
00044   def serialize(self, buff):
00045     """
00046     serialize message into buffer
00047     :param buff: buffer, ``StringIO``
00048     """
00049     try:
00050       pass
00051     except struct.error as se: self._check_types(se)
00052     except TypeError as te: self._check_types(te)
00053 
00054   def deserialize(self, str):
00055     """
00056     unpack serialized message in str into this message instance
00057     :param str: byte array of serialized message, ``str``
00058     """
00059     try:
00060       end = 0
00061       return self
00062     except struct.error as e:
00063       raise genpy.DeserializationError(e) #most likely buffer underfill
00064 
00065 
00066   def serialize_numpy(self, buff, numpy):
00067     """
00068     serialize message with numpy array types into buffer
00069     :param buff: buffer, ``StringIO``
00070     :param numpy: numpy python 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, ``str``
00081     :param numpy: numpy python module
00082     """
00083     try:
00084       end = 0
00085       return self
00086     except struct.error as e:
00087       raise genpy.DeserializationError(e) #most likely buffer underfill
00088 
00089 _struct_I = genpy.struct_I


pr2_grasp_adjust
Author(s): Adam Leeper
autogenerated on Fri Jan 3 2014 12:00:28