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