_voiceRecognitionAction.py
Go to the documentation of this file.
00001 """autogenerated by genpy from iri_perception_msgs/voiceRecognitionAction.msg. Do not edit."""
00002 import sys
00003 python3 = True if sys.hexversion > 0x03000000 else False
00004 import genpy
00005 import struct
00006 
00007 import actionlib_msgs.msg
00008 import genpy
00009 import iri_perception_msgs.msg
00010 import std_msgs.msg
00011 
00012 class voiceRecognitionAction(genpy.Message):
00013   _md5sum = "39ab7ff7ec2c8b9d9463068bbd242085"
00014   _type = "iri_perception_msgs/voiceRecognitionAction"
00015   _has_header = False #flag to mark the presence of a Header object
00016   _full_text = """# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00017 
00018 voiceRecognitionActionGoal action_goal
00019 voiceRecognitionActionResult action_result
00020 voiceRecognitionActionFeedback action_feedback
00021 
00022 ================================================================================
00023 MSG: iri_perception_msgs/voiceRecognitionActionGoal
00024 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00025 
00026 Header header
00027 actionlib_msgs/GoalID goal_id
00028 voiceRecognitionGoal goal
00029 
00030 ================================================================================
00031 MSG: std_msgs/Header
00032 # Standard metadata for higher-level stamped data types.
00033 # This is generally used to communicate timestamped data 
00034 # in a particular coordinate frame.
00035 # 
00036 # sequence ID: consecutively increasing ID 
00037 uint32 seq
00038 #Two-integer timestamp that is expressed as:
00039 # * stamp.secs: seconds (stamp_secs) since epoch
00040 # * stamp.nsecs: nanoseconds since stamp_secs
00041 # time-handling sugar is provided by the client library
00042 time stamp
00043 #Frame this data is associated with
00044 # 0: no frame
00045 # 1: global frame
00046 string frame_id
00047 
00048 ================================================================================
00049 MSG: actionlib_msgs/GoalID
00050 # The stamp should store the time at which this goal was requested.
00051 # It is used by an action server when it tries to preempt all
00052 # goals that were requested before a certain time
00053 time stamp
00054 
00055 # The id provides a way to associate feedback and
00056 # result message with specific goal requests. The id
00057 # specified must be unique.
00058 string id
00059 
00060 
00061 ================================================================================
00062 MSG: iri_perception_msgs/voiceRecognitionGoal
00063 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00064 #goal definition
00065 
00066 ================================================================================
00067 MSG: iri_perception_msgs/voiceRecognitionActionResult
00068 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00069 
00070 Header header
00071 actionlib_msgs/GoalStatus status
00072 voiceRecognitionResult result
00073 
00074 ================================================================================
00075 MSG: actionlib_msgs/GoalStatus
00076 GoalID goal_id
00077 uint8 status
00078 uint8 PENDING         = 0   # The goal has yet to be processed by the action server
00079 uint8 ACTIVE          = 1   # The goal is currently being processed by the action server
00080 uint8 PREEMPTED       = 2   # The goal received a cancel request after it started executing
00081                             #   and has since completed its execution (Terminal State)
00082 uint8 SUCCEEDED       = 3   # The goal was achieved successfully by the action server (Terminal State)
00083 uint8 ABORTED         = 4   # The goal was aborted during execution by the action server due
00084                             #    to some failure (Terminal State)
00085 uint8 REJECTED        = 5   # The goal was rejected by the action server without being processed,
00086                             #    because the goal was unattainable or invalid (Terminal State)
00087 uint8 PREEMPTING      = 6   # The goal received a cancel request after it started executing
00088                             #    and has not yet completed execution
00089 uint8 RECALLING       = 7   # The goal received a cancel request before it started executing,
00090                             #    but the action server has not yet confirmed that the goal is canceled
00091 uint8 RECALLED        = 8   # The goal received a cancel request before it started executing
00092                             #    and was successfully cancelled (Terminal State)
00093 uint8 LOST            = 9   # An action client can determine that a goal is LOST. This should not be
00094                             #    sent over the wire by an action server
00095 
00096 #Allow for the user to associate a string with GoalStatus for debugging
00097 string text
00098 
00099 
00100 ================================================================================
00101 MSG: iri_perception_msgs/voiceRecognitionResult
00102 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00103 #result definition
00104 string answer
00105 int16 code
00106 
00107 ================================================================================
00108 MSG: iri_perception_msgs/voiceRecognitionActionFeedback
00109 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00110 
00111 Header header
00112 actionlib_msgs/GoalStatus status
00113 voiceRecognitionFeedback feedback
00114 
00115 ================================================================================
00116 MSG: iri_perception_msgs/voiceRecognitionFeedback
00117 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00118 #feedback
00119 float32 noise
00120 int8 status
00121 
00122 
00123 """
00124   __slots__ = ['action_goal','action_result','action_feedback']
00125   _slot_types = ['iri_perception_msgs/voiceRecognitionActionGoal','iri_perception_msgs/voiceRecognitionActionResult','iri_perception_msgs/voiceRecognitionActionFeedback']
00126 
00127   def __init__(self, *args, **kwds):
00128     """
00129     Constructor. Any message fields that are implicitly/explicitly
00130     set to None will be assigned a default value. The recommend
00131     use is keyword arguments as this is more robust to future message
00132     changes.  You cannot mix in-order arguments and keyword arguments.
00133 
00134     The available fields are:
00135        action_goal,action_result,action_feedback
00136 
00137     :param args: complete set of field values, in .msg order
00138     :param kwds: use keyword arguments corresponding to message field names
00139     to set specific fields.
00140     """
00141     if args or kwds:
00142       super(voiceRecognitionAction, self).__init__(*args, **kwds)
00143       #message fields cannot be None, assign default values for those that are
00144       if self.action_goal is None:
00145         self.action_goal = iri_perception_msgs.msg.voiceRecognitionActionGoal()
00146       if self.action_result is None:
00147         self.action_result = iri_perception_msgs.msg.voiceRecognitionActionResult()
00148       if self.action_feedback is None:
00149         self.action_feedback = iri_perception_msgs.msg.voiceRecognitionActionFeedback()
00150     else:
00151       self.action_goal = iri_perception_msgs.msg.voiceRecognitionActionGoal()
00152       self.action_result = iri_perception_msgs.msg.voiceRecognitionActionResult()
00153       self.action_feedback = iri_perception_msgs.msg.voiceRecognitionActionFeedback()
00154 
00155   def _get_types(self):
00156     """
00157     internal API method
00158     """
00159     return self._slot_types
00160 
00161   def serialize(self, buff):
00162     """
00163     serialize message into buffer
00164     :param buff: buffer, ``StringIO``
00165     """
00166     try:
00167       _x = self
00168       buff.write(_struct_3I.pack(_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs))
00169       _x = self.action_goal.header.frame_id
00170       length = len(_x)
00171       if python3 or type(_x) == unicode:
00172         _x = _x.encode('utf-8')
00173         length = len(_x)
00174       buff.write(struct.pack('<I%ss'%length, length, _x))
00175       _x = self
00176       buff.write(_struct_2I.pack(_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs))
00177       _x = self.action_goal.goal_id.id
00178       length = len(_x)
00179       if python3 or type(_x) == unicode:
00180         _x = _x.encode('utf-8')
00181         length = len(_x)
00182       buff.write(struct.pack('<I%ss'%length, length, _x))
00183       _x = self
00184       buff.write(_struct_3I.pack(_x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs))
00185       _x = self.action_result.header.frame_id
00186       length = len(_x)
00187       if python3 or type(_x) == unicode:
00188         _x = _x.encode('utf-8')
00189         length = len(_x)
00190       buff.write(struct.pack('<I%ss'%length, length, _x))
00191       _x = self
00192       buff.write(_struct_2I.pack(_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs))
00193       _x = self.action_result.status.goal_id.id
00194       length = len(_x)
00195       if python3 or type(_x) == unicode:
00196         _x = _x.encode('utf-8')
00197         length = len(_x)
00198       buff.write(struct.pack('<I%ss'%length, length, _x))
00199       buff.write(_struct_B.pack(self.action_result.status.status))
00200       _x = self.action_result.status.text
00201       length = len(_x)
00202       if python3 or type(_x) == unicode:
00203         _x = _x.encode('utf-8')
00204         length = len(_x)
00205       buff.write(struct.pack('<I%ss'%length, length, _x))
00206       _x = self.action_result.result.answer
00207       length = len(_x)
00208       if python3 or type(_x) == unicode:
00209         _x = _x.encode('utf-8')
00210         length = len(_x)
00211       buff.write(struct.pack('<I%ss'%length, length, _x))
00212       _x = self
00213       buff.write(_struct_h3I.pack(_x.action_result.result.code, _x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs))
00214       _x = self.action_feedback.header.frame_id
00215       length = len(_x)
00216       if python3 or type(_x) == unicode:
00217         _x = _x.encode('utf-8')
00218         length = len(_x)
00219       buff.write(struct.pack('<I%ss'%length, length, _x))
00220       _x = self
00221       buff.write(_struct_2I.pack(_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs))
00222       _x = self.action_feedback.status.goal_id.id
00223       length = len(_x)
00224       if python3 or type(_x) == unicode:
00225         _x = _x.encode('utf-8')
00226         length = len(_x)
00227       buff.write(struct.pack('<I%ss'%length, length, _x))
00228       buff.write(_struct_B.pack(self.action_feedback.status.status))
00229       _x = self.action_feedback.status.text
00230       length = len(_x)
00231       if python3 or type(_x) == unicode:
00232         _x = _x.encode('utf-8')
00233         length = len(_x)
00234       buff.write(struct.pack('<I%ss'%length, length, _x))
00235       _x = self
00236       buff.write(_struct_fb.pack(_x.action_feedback.feedback.noise, _x.action_feedback.feedback.status))
00237     except struct.error as se: self._check_types(se)
00238     except TypeError as te: self._check_types(te)
00239 
00240   def deserialize(self, str):
00241     """
00242     unpack serialized message in str into this message instance
00243     :param str: byte array of serialized message, ``str``
00244     """
00245     try:
00246       if self.action_goal is None:
00247         self.action_goal = iri_perception_msgs.msg.voiceRecognitionActionGoal()
00248       if self.action_result is None:
00249         self.action_result = iri_perception_msgs.msg.voiceRecognitionActionResult()
00250       if self.action_feedback is None:
00251         self.action_feedback = iri_perception_msgs.msg.voiceRecognitionActionFeedback()
00252       end = 0
00253       _x = self
00254       start = end
00255       end += 12
00256       (_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
00257       start = end
00258       end += 4
00259       (length,) = _struct_I.unpack(str[start:end])
00260       start = end
00261       end += length
00262       if python3:
00263         self.action_goal.header.frame_id = str[start:end].decode('utf-8')
00264       else:
00265         self.action_goal.header.frame_id = str[start:end]
00266       _x = self
00267       start = end
00268       end += 8
00269       (_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00270       start = end
00271       end += 4
00272       (length,) = _struct_I.unpack(str[start:end])
00273       start = end
00274       end += length
00275       if python3:
00276         self.action_goal.goal_id.id = str[start:end].decode('utf-8')
00277       else:
00278         self.action_goal.goal_id.id = str[start:end]
00279       _x = self
00280       start = end
00281       end += 12
00282       (_x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
00283       start = end
00284       end += 4
00285       (length,) = _struct_I.unpack(str[start:end])
00286       start = end
00287       end += length
00288       if python3:
00289         self.action_result.header.frame_id = str[start:end].decode('utf-8')
00290       else:
00291         self.action_result.header.frame_id = str[start:end]
00292       _x = self
00293       start = end
00294       end += 8
00295       (_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00296       start = end
00297       end += 4
00298       (length,) = _struct_I.unpack(str[start:end])
00299       start = end
00300       end += length
00301       if python3:
00302         self.action_result.status.goal_id.id = str[start:end].decode('utf-8')
00303       else:
00304         self.action_result.status.goal_id.id = str[start:end]
00305       start = end
00306       end += 1
00307       (self.action_result.status.status,) = _struct_B.unpack(str[start:end])
00308       start = end
00309       end += 4
00310       (length,) = _struct_I.unpack(str[start:end])
00311       start = end
00312       end += length
00313       if python3:
00314         self.action_result.status.text = str[start:end].decode('utf-8')
00315       else:
00316         self.action_result.status.text = str[start:end]
00317       start = end
00318       end += 4
00319       (length,) = _struct_I.unpack(str[start:end])
00320       start = end
00321       end += length
00322       if python3:
00323         self.action_result.result.answer = str[start:end].decode('utf-8')
00324       else:
00325         self.action_result.result.answer = str[start:end]
00326       _x = self
00327       start = end
00328       end += 14
00329       (_x.action_result.result.code, _x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs,) = _struct_h3I.unpack(str[start:end])
00330       start = end
00331       end += 4
00332       (length,) = _struct_I.unpack(str[start:end])
00333       start = end
00334       end += length
00335       if python3:
00336         self.action_feedback.header.frame_id = str[start:end].decode('utf-8')
00337       else:
00338         self.action_feedback.header.frame_id = str[start:end]
00339       _x = self
00340       start = end
00341       end += 8
00342       (_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00343       start = end
00344       end += 4
00345       (length,) = _struct_I.unpack(str[start:end])
00346       start = end
00347       end += length
00348       if python3:
00349         self.action_feedback.status.goal_id.id = str[start:end].decode('utf-8')
00350       else:
00351         self.action_feedback.status.goal_id.id = str[start:end]
00352       start = end
00353       end += 1
00354       (self.action_feedback.status.status,) = _struct_B.unpack(str[start:end])
00355       start = end
00356       end += 4
00357       (length,) = _struct_I.unpack(str[start:end])
00358       start = end
00359       end += length
00360       if python3:
00361         self.action_feedback.status.text = str[start:end].decode('utf-8')
00362       else:
00363         self.action_feedback.status.text = str[start:end]
00364       _x = self
00365       start = end
00366       end += 5
00367       (_x.action_feedback.feedback.noise, _x.action_feedback.feedback.status,) = _struct_fb.unpack(str[start:end])
00368       return self
00369     except struct.error as e:
00370       raise genpy.DeserializationError(e) #most likely buffer underfill
00371 
00372 
00373   def serialize_numpy(self, buff, numpy):
00374     """
00375     serialize message with numpy array types into buffer
00376     :param buff: buffer, ``StringIO``
00377     :param numpy: numpy python module
00378     """
00379     try:
00380       _x = self
00381       buff.write(_struct_3I.pack(_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs))
00382       _x = self.action_goal.header.frame_id
00383       length = len(_x)
00384       if python3 or type(_x) == unicode:
00385         _x = _x.encode('utf-8')
00386         length = len(_x)
00387       buff.write(struct.pack('<I%ss'%length, length, _x))
00388       _x = self
00389       buff.write(_struct_2I.pack(_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs))
00390       _x = self.action_goal.goal_id.id
00391       length = len(_x)
00392       if python3 or type(_x) == unicode:
00393         _x = _x.encode('utf-8')
00394         length = len(_x)
00395       buff.write(struct.pack('<I%ss'%length, length, _x))
00396       _x = self
00397       buff.write(_struct_3I.pack(_x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs))
00398       _x = self.action_result.header.frame_id
00399       length = len(_x)
00400       if python3 or type(_x) == unicode:
00401         _x = _x.encode('utf-8')
00402         length = len(_x)
00403       buff.write(struct.pack('<I%ss'%length, length, _x))
00404       _x = self
00405       buff.write(_struct_2I.pack(_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs))
00406       _x = self.action_result.status.goal_id.id
00407       length = len(_x)
00408       if python3 or type(_x) == unicode:
00409         _x = _x.encode('utf-8')
00410         length = len(_x)
00411       buff.write(struct.pack('<I%ss'%length, length, _x))
00412       buff.write(_struct_B.pack(self.action_result.status.status))
00413       _x = self.action_result.status.text
00414       length = len(_x)
00415       if python3 or type(_x) == unicode:
00416         _x = _x.encode('utf-8')
00417         length = len(_x)
00418       buff.write(struct.pack('<I%ss'%length, length, _x))
00419       _x = self.action_result.result.answer
00420       length = len(_x)
00421       if python3 or type(_x) == unicode:
00422         _x = _x.encode('utf-8')
00423         length = len(_x)
00424       buff.write(struct.pack('<I%ss'%length, length, _x))
00425       _x = self
00426       buff.write(_struct_h3I.pack(_x.action_result.result.code, _x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs))
00427       _x = self.action_feedback.header.frame_id
00428       length = len(_x)
00429       if python3 or type(_x) == unicode:
00430         _x = _x.encode('utf-8')
00431         length = len(_x)
00432       buff.write(struct.pack('<I%ss'%length, length, _x))
00433       _x = self
00434       buff.write(_struct_2I.pack(_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs))
00435       _x = self.action_feedback.status.goal_id.id
00436       length = len(_x)
00437       if python3 or type(_x) == unicode:
00438         _x = _x.encode('utf-8')
00439         length = len(_x)
00440       buff.write(struct.pack('<I%ss'%length, length, _x))
00441       buff.write(_struct_B.pack(self.action_feedback.status.status))
00442       _x = self.action_feedback.status.text
00443       length = len(_x)
00444       if python3 or type(_x) == unicode:
00445         _x = _x.encode('utf-8')
00446         length = len(_x)
00447       buff.write(struct.pack('<I%ss'%length, length, _x))
00448       _x = self
00449       buff.write(_struct_fb.pack(_x.action_feedback.feedback.noise, _x.action_feedback.feedback.status))
00450     except struct.error as se: self._check_types(se)
00451     except TypeError as te: self._check_types(te)
00452 
00453   def deserialize_numpy(self, str, numpy):
00454     """
00455     unpack serialized message in str into this message instance using numpy for array types
00456     :param str: byte array of serialized message, ``str``
00457     :param numpy: numpy python module
00458     """
00459     try:
00460       if self.action_goal is None:
00461         self.action_goal = iri_perception_msgs.msg.voiceRecognitionActionGoal()
00462       if self.action_result is None:
00463         self.action_result = iri_perception_msgs.msg.voiceRecognitionActionResult()
00464       if self.action_feedback is None:
00465         self.action_feedback = iri_perception_msgs.msg.voiceRecognitionActionFeedback()
00466       end = 0
00467       _x = self
00468       start = end
00469       end += 12
00470       (_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
00471       start = end
00472       end += 4
00473       (length,) = _struct_I.unpack(str[start:end])
00474       start = end
00475       end += length
00476       if python3:
00477         self.action_goal.header.frame_id = str[start:end].decode('utf-8')
00478       else:
00479         self.action_goal.header.frame_id = str[start:end]
00480       _x = self
00481       start = end
00482       end += 8
00483       (_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00484       start = end
00485       end += 4
00486       (length,) = _struct_I.unpack(str[start:end])
00487       start = end
00488       end += length
00489       if python3:
00490         self.action_goal.goal_id.id = str[start:end].decode('utf-8')
00491       else:
00492         self.action_goal.goal_id.id = str[start:end]
00493       _x = self
00494       start = end
00495       end += 12
00496       (_x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
00497       start = end
00498       end += 4
00499       (length,) = _struct_I.unpack(str[start:end])
00500       start = end
00501       end += length
00502       if python3:
00503         self.action_result.header.frame_id = str[start:end].decode('utf-8')
00504       else:
00505         self.action_result.header.frame_id = str[start:end]
00506       _x = self
00507       start = end
00508       end += 8
00509       (_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00510       start = end
00511       end += 4
00512       (length,) = _struct_I.unpack(str[start:end])
00513       start = end
00514       end += length
00515       if python3:
00516         self.action_result.status.goal_id.id = str[start:end].decode('utf-8')
00517       else:
00518         self.action_result.status.goal_id.id = str[start:end]
00519       start = end
00520       end += 1
00521       (self.action_result.status.status,) = _struct_B.unpack(str[start:end])
00522       start = end
00523       end += 4
00524       (length,) = _struct_I.unpack(str[start:end])
00525       start = end
00526       end += length
00527       if python3:
00528         self.action_result.status.text = str[start:end].decode('utf-8')
00529       else:
00530         self.action_result.status.text = str[start:end]
00531       start = end
00532       end += 4
00533       (length,) = _struct_I.unpack(str[start:end])
00534       start = end
00535       end += length
00536       if python3:
00537         self.action_result.result.answer = str[start:end].decode('utf-8')
00538       else:
00539         self.action_result.result.answer = str[start:end]
00540       _x = self
00541       start = end
00542       end += 14
00543       (_x.action_result.result.code, _x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs,) = _struct_h3I.unpack(str[start:end])
00544       start = end
00545       end += 4
00546       (length,) = _struct_I.unpack(str[start:end])
00547       start = end
00548       end += length
00549       if python3:
00550         self.action_feedback.header.frame_id = str[start:end].decode('utf-8')
00551       else:
00552         self.action_feedback.header.frame_id = str[start:end]
00553       _x = self
00554       start = end
00555       end += 8
00556       (_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00557       start = end
00558       end += 4
00559       (length,) = _struct_I.unpack(str[start:end])
00560       start = end
00561       end += length
00562       if python3:
00563         self.action_feedback.status.goal_id.id = str[start:end].decode('utf-8')
00564       else:
00565         self.action_feedback.status.goal_id.id = str[start:end]
00566       start = end
00567       end += 1
00568       (self.action_feedback.status.status,) = _struct_B.unpack(str[start:end])
00569       start = end
00570       end += 4
00571       (length,) = _struct_I.unpack(str[start:end])
00572       start = end
00573       end += length
00574       if python3:
00575         self.action_feedback.status.text = str[start:end].decode('utf-8')
00576       else:
00577         self.action_feedback.status.text = str[start:end]
00578       _x = self
00579       start = end
00580       end += 5
00581       (_x.action_feedback.feedback.noise, _x.action_feedback.feedback.status,) = _struct_fb.unpack(str[start:end])
00582       return self
00583     except struct.error as e:
00584       raise genpy.DeserializationError(e) #most likely buffer underfill
00585 
00586 _struct_I = genpy.struct_I
00587 _struct_fb = struct.Struct("<fb")
00588 _struct_3I = struct.Struct("<3I")
00589 _struct_B = struct.Struct("<B")
00590 _struct_2I = struct.Struct("<2I")
00591 _struct_h3I = struct.Struct("<h3I")


iri_perception_msgs
Author(s):
autogenerated on Fri Dec 6 2013 20:02:15