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