_DiagnosisRepairAction.py
Go to the documentation of this file.
00001 """autogenerated by genpy from tug_ist_diagnosis_msgs/DiagnosisRepairAction.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 tug_ist_diagnosis_msgs.msg
00010 import std_msgs.msg
00011 
00012 class DiagnosisRepairAction(genpy.Message):
00013   _md5sum = "fcca687c911251c2be32ab22e5196c63"
00014   _type = "tug_ist_diagnosis_msgs/DiagnosisRepairAction"
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 DiagnosisRepairActionGoal action_goal
00019 DiagnosisRepairActionResult action_result
00020 DiagnosisRepairActionFeedback action_feedback
00021 
00022 ================================================================================
00023 MSG: tug_ist_diagnosis_msgs/DiagnosisRepairActionGoal
00024 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00025 
00026 Header header
00027 actionlib_msgs/GoalID goal_id
00028 DiagnosisRepairGoal 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: tug_ist_diagnosis_msgs/DiagnosisRepairGoal
00063 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00064 #goal definition
00065 string[] parameter
00066 
00067 ================================================================================
00068 MSG: tug_ist_diagnosis_msgs/DiagnosisRepairActionResult
00069 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00070 
00071 Header header
00072 actionlib_msgs/GoalStatus status
00073 DiagnosisRepairResult result
00074 
00075 ================================================================================
00076 MSG: actionlib_msgs/GoalStatus
00077 GoalID goal_id
00078 uint8 status
00079 uint8 PENDING         = 0   # The goal has yet to be processed by the action server
00080 uint8 ACTIVE          = 1   # The goal is currently being processed by the action server
00081 uint8 PREEMPTED       = 2   # The goal received a cancel request after it started executing
00082                             #   and has since completed its execution (Terminal State)
00083 uint8 SUCCEEDED       = 3   # The goal was achieved successfully by the action server (Terminal State)
00084 uint8 ABORTED         = 4   # The goal was aborted during execution by the action server due
00085                             #    to some failure (Terminal State)
00086 uint8 REJECTED        = 5   # The goal was rejected by the action server without being processed,
00087                             #    because the goal was unattainable or invalid (Terminal State)
00088 uint8 PREEMPTING      = 6   # The goal received a cancel request after it started executing
00089                             #    and has not yet completed execution
00090 uint8 RECALLING       = 7   # The goal received a cancel request before it started executing,
00091                             #    but the action server has not yet confirmed that the goal is canceled
00092 uint8 RECALLED        = 8   # The goal received a cancel request before it started executing
00093                             #    and was successfully cancelled (Terminal State)
00094 uint8 LOST            = 9   # An action client can determine that a goal is LOST. This should not be
00095                             #    sent over the wire by an action server
00096 
00097 #Allow for the user to associate a string with GoalStatus for debugging
00098 string text
00099 
00100 
00101 ================================================================================
00102 MSG: tug_ist_diagnosis_msgs/DiagnosisRepairResult
00103 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00104 #result definition
00105 int32 result
00106 
00107 ================================================================================
00108 MSG: tug_ist_diagnosis_msgs/DiagnosisRepairActionFeedback
00109 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00110 
00111 Header header
00112 actionlib_msgs/GoalStatus status
00113 DiagnosisRepairFeedback feedback
00114 
00115 ================================================================================
00116 MSG: tug_ist_diagnosis_msgs/DiagnosisRepairFeedback
00117 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00118 #feedback
00119 int32 feedback
00120 
00121 
00122 """
00123   __slots__ = ['action_goal','action_result','action_feedback']
00124   _slot_types = ['tug_ist_diagnosis_msgs/DiagnosisRepairActionGoal','tug_ist_diagnosis_msgs/DiagnosisRepairActionResult','tug_ist_diagnosis_msgs/DiagnosisRepairActionFeedback']
00125 
00126   def __init__(self, *args, **kwds):
00127     """
00128     Constructor. Any message fields that are implicitly/explicitly
00129     set to None will be assigned a default value. The recommend
00130     use is keyword arguments as this is more robust to future message
00131     changes.  You cannot mix in-order arguments and keyword arguments.
00132 
00133     The available fields are:
00134        action_goal,action_result,action_feedback
00135 
00136     :param args: complete set of field values, in .msg order
00137     :param kwds: use keyword arguments corresponding to message field names
00138     to set specific fields.
00139     """
00140     if args or kwds:
00141       super(DiagnosisRepairAction, self).__init__(*args, **kwds)
00142       #message fields cannot be None, assign default values for those that are
00143       if self.action_goal is None:
00144         self.action_goal = tug_ist_diagnosis_msgs.msg.DiagnosisRepairActionGoal()
00145       if self.action_result is None:
00146         self.action_result = tug_ist_diagnosis_msgs.msg.DiagnosisRepairActionResult()
00147       if self.action_feedback is None:
00148         self.action_feedback = tug_ist_diagnosis_msgs.msg.DiagnosisRepairActionFeedback()
00149     else:
00150       self.action_goal = tug_ist_diagnosis_msgs.msg.DiagnosisRepairActionGoal()
00151       self.action_result = tug_ist_diagnosis_msgs.msg.DiagnosisRepairActionResult()
00152       self.action_feedback = tug_ist_diagnosis_msgs.msg.DiagnosisRepairActionFeedback()
00153 
00154   def _get_types(self):
00155     """
00156     internal API method
00157     """
00158     return self._slot_types
00159 
00160   def serialize(self, buff):
00161     """
00162     serialize message into buffer
00163     :param buff: buffer, ``StringIO``
00164     """
00165     try:
00166       _x = self
00167       buff.write(_struct_3I.pack(_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs))
00168       _x = self.action_goal.header.frame_id
00169       length = len(_x)
00170       if python3 or type(_x) == unicode:
00171         _x = _x.encode('utf-8')
00172         length = len(_x)
00173       buff.write(struct.pack('<I%ss'%length, length, _x))
00174       _x = self
00175       buff.write(_struct_2I.pack(_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs))
00176       _x = self.action_goal.goal_id.id
00177       length = len(_x)
00178       if python3 or type(_x) == unicode:
00179         _x = _x.encode('utf-8')
00180         length = len(_x)
00181       buff.write(struct.pack('<I%ss'%length, length, _x))
00182       length = len(self.action_goal.goal.parameter)
00183       buff.write(_struct_I.pack(length))
00184       for val1 in self.action_goal.goal.parameter:
00185         length = len(val1)
00186         if python3 or type(val1) == unicode:
00187           val1 = val1.encode('utf-8')
00188           length = len(val1)
00189         buff.write(struct.pack('<I%ss'%length, length, val1))
00190       _x = self
00191       buff.write(_struct_3I.pack(_x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs))
00192       _x = self.action_result.header.frame_id
00193       length = len(_x)
00194       if python3 or type(_x) == unicode:
00195         _x = _x.encode('utf-8')
00196         length = len(_x)
00197       buff.write(struct.pack('<I%ss'%length, length, _x))
00198       _x = self
00199       buff.write(_struct_2I.pack(_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs))
00200       _x = self.action_result.status.goal_id.id
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       buff.write(_struct_B.pack(self.action_result.status.status))
00207       _x = self.action_result.status.text
00208       length = len(_x)
00209       if python3 or type(_x) == unicode:
00210         _x = _x.encode('utf-8')
00211         length = len(_x)
00212       buff.write(struct.pack('<I%ss'%length, length, _x))
00213       _x = self
00214       buff.write(_struct_i3I.pack(_x.action_result.result.result, _x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs))
00215       _x = self.action_feedback.header.frame_id
00216       length = len(_x)
00217       if python3 or type(_x) == unicode:
00218         _x = _x.encode('utf-8')
00219         length = len(_x)
00220       buff.write(struct.pack('<I%ss'%length, length, _x))
00221       _x = self
00222       buff.write(_struct_2I.pack(_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs))
00223       _x = self.action_feedback.status.goal_id.id
00224       length = len(_x)
00225       if python3 or type(_x) == unicode:
00226         _x = _x.encode('utf-8')
00227         length = len(_x)
00228       buff.write(struct.pack('<I%ss'%length, length, _x))
00229       buff.write(_struct_B.pack(self.action_feedback.status.status))
00230       _x = self.action_feedback.status.text
00231       length = len(_x)
00232       if python3 or type(_x) == unicode:
00233         _x = _x.encode('utf-8')
00234         length = len(_x)
00235       buff.write(struct.pack('<I%ss'%length, length, _x))
00236       buff.write(_struct_i.pack(self.action_feedback.feedback.feedback))
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 = tug_ist_diagnosis_msgs.msg.DiagnosisRepairActionGoal()
00248       if self.action_result is None:
00249         self.action_result = tug_ist_diagnosis_msgs.msg.DiagnosisRepairActionResult()
00250       if self.action_feedback is None:
00251         self.action_feedback = tug_ist_diagnosis_msgs.msg.DiagnosisRepairActionFeedback()
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       start = end
00280       end += 4
00281       (length,) = _struct_I.unpack(str[start:end])
00282       self.action_goal.goal.parameter = []
00283       for i in range(0, length):
00284         start = end
00285         end += 4
00286         (length,) = _struct_I.unpack(str[start:end])
00287         start = end
00288         end += length
00289         if python3:
00290           val1 = str[start:end].decode('utf-8')
00291         else:
00292           val1 = str[start:end]
00293         self.action_goal.goal.parameter.append(val1)
00294       _x = self
00295       start = end
00296       end += 12
00297       (_x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
00298       start = end
00299       end += 4
00300       (length,) = _struct_I.unpack(str[start:end])
00301       start = end
00302       end += length
00303       if python3:
00304         self.action_result.header.frame_id = str[start:end].decode('utf-8')
00305       else:
00306         self.action_result.header.frame_id = str[start:end]
00307       _x = self
00308       start = end
00309       end += 8
00310       (_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00311       start = end
00312       end += 4
00313       (length,) = _struct_I.unpack(str[start:end])
00314       start = end
00315       end += length
00316       if python3:
00317         self.action_result.status.goal_id.id = str[start:end].decode('utf-8')
00318       else:
00319         self.action_result.status.goal_id.id = str[start:end]
00320       start = end
00321       end += 1
00322       (self.action_result.status.status,) = _struct_B.unpack(str[start:end])
00323       start = end
00324       end += 4
00325       (length,) = _struct_I.unpack(str[start:end])
00326       start = end
00327       end += length
00328       if python3:
00329         self.action_result.status.text = str[start:end].decode('utf-8')
00330       else:
00331         self.action_result.status.text = str[start:end]
00332       _x = self
00333       start = end
00334       end += 16
00335       (_x.action_result.result.result, _x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs,) = _struct_i3I.unpack(str[start:end])
00336       start = end
00337       end += 4
00338       (length,) = _struct_I.unpack(str[start:end])
00339       start = end
00340       end += length
00341       if python3:
00342         self.action_feedback.header.frame_id = str[start:end].decode('utf-8')
00343       else:
00344         self.action_feedback.header.frame_id = str[start:end]
00345       _x = self
00346       start = end
00347       end += 8
00348       (_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00349       start = end
00350       end += 4
00351       (length,) = _struct_I.unpack(str[start:end])
00352       start = end
00353       end += length
00354       if python3:
00355         self.action_feedback.status.goal_id.id = str[start:end].decode('utf-8')
00356       else:
00357         self.action_feedback.status.goal_id.id = str[start:end]
00358       start = end
00359       end += 1
00360       (self.action_feedback.status.status,) = _struct_B.unpack(str[start:end])
00361       start = end
00362       end += 4
00363       (length,) = _struct_I.unpack(str[start:end])
00364       start = end
00365       end += length
00366       if python3:
00367         self.action_feedback.status.text = str[start:end].decode('utf-8')
00368       else:
00369         self.action_feedback.status.text = str[start:end]
00370       start = end
00371       end += 4
00372       (self.action_feedback.feedback.feedback,) = _struct_i.unpack(str[start:end])
00373       return self
00374     except struct.error as e:
00375       raise genpy.DeserializationError(e) #most likely buffer underfill
00376 
00377 
00378   def serialize_numpy(self, buff, numpy):
00379     """
00380     serialize message with numpy array types into buffer
00381     :param buff: buffer, ``StringIO``
00382     :param numpy: numpy python module
00383     """
00384     try:
00385       _x = self
00386       buff.write(_struct_3I.pack(_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs))
00387       _x = self.action_goal.header.frame_id
00388       length = len(_x)
00389       if python3 or type(_x) == unicode:
00390         _x = _x.encode('utf-8')
00391         length = len(_x)
00392       buff.write(struct.pack('<I%ss'%length, length, _x))
00393       _x = self
00394       buff.write(_struct_2I.pack(_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs))
00395       _x = self.action_goal.goal_id.id
00396       length = len(_x)
00397       if python3 or type(_x) == unicode:
00398         _x = _x.encode('utf-8')
00399         length = len(_x)
00400       buff.write(struct.pack('<I%ss'%length, length, _x))
00401       length = len(self.action_goal.goal.parameter)
00402       buff.write(_struct_I.pack(length))
00403       for val1 in self.action_goal.goal.parameter:
00404         length = len(val1)
00405         if python3 or type(val1) == unicode:
00406           val1 = val1.encode('utf-8')
00407           length = len(val1)
00408         buff.write(struct.pack('<I%ss'%length, length, val1))
00409       _x = self
00410       buff.write(_struct_3I.pack(_x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs))
00411       _x = self.action_result.header.frame_id
00412       length = len(_x)
00413       if python3 or type(_x) == unicode:
00414         _x = _x.encode('utf-8')
00415         length = len(_x)
00416       buff.write(struct.pack('<I%ss'%length, length, _x))
00417       _x = self
00418       buff.write(_struct_2I.pack(_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs))
00419       _x = self.action_result.status.goal_id.id
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       buff.write(_struct_B.pack(self.action_result.status.status))
00426       _x = self.action_result.status.text
00427       length = len(_x)
00428       if python3 or type(_x) == unicode:
00429         _x = _x.encode('utf-8')
00430         length = len(_x)
00431       buff.write(struct.pack('<I%ss'%length, length, _x))
00432       _x = self
00433       buff.write(_struct_i3I.pack(_x.action_result.result.result, _x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs))
00434       _x = self.action_feedback.header.frame_id
00435       length = len(_x)
00436       if python3 or type(_x) == unicode:
00437         _x = _x.encode('utf-8')
00438         length = len(_x)
00439       buff.write(struct.pack('<I%ss'%length, length, _x))
00440       _x = self
00441       buff.write(_struct_2I.pack(_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs))
00442       _x = self.action_feedback.status.goal_id.id
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       buff.write(_struct_B.pack(self.action_feedback.status.status))
00449       _x = self.action_feedback.status.text
00450       length = len(_x)
00451       if python3 or type(_x) == unicode:
00452         _x = _x.encode('utf-8')
00453         length = len(_x)
00454       buff.write(struct.pack('<I%ss'%length, length, _x))
00455       buff.write(_struct_i.pack(self.action_feedback.feedback.feedback))
00456     except struct.error as se: self._check_types(se)
00457     except TypeError as te: self._check_types(te)
00458 
00459   def deserialize_numpy(self, str, numpy):
00460     """
00461     unpack serialized message in str into this message instance using numpy for array types
00462     :param str: byte array of serialized message, ``str``
00463     :param numpy: numpy python module
00464     """
00465     try:
00466       if self.action_goal is None:
00467         self.action_goal = tug_ist_diagnosis_msgs.msg.DiagnosisRepairActionGoal()
00468       if self.action_result is None:
00469         self.action_result = tug_ist_diagnosis_msgs.msg.DiagnosisRepairActionResult()
00470       if self.action_feedback is None:
00471         self.action_feedback = tug_ist_diagnosis_msgs.msg.DiagnosisRepairActionFeedback()
00472       end = 0
00473       _x = self
00474       start = end
00475       end += 12
00476       (_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
00477       start = end
00478       end += 4
00479       (length,) = _struct_I.unpack(str[start:end])
00480       start = end
00481       end += length
00482       if python3:
00483         self.action_goal.header.frame_id = str[start:end].decode('utf-8')
00484       else:
00485         self.action_goal.header.frame_id = str[start:end]
00486       _x = self
00487       start = end
00488       end += 8
00489       (_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00490       start = end
00491       end += 4
00492       (length,) = _struct_I.unpack(str[start:end])
00493       start = end
00494       end += length
00495       if python3:
00496         self.action_goal.goal_id.id = str[start:end].decode('utf-8')
00497       else:
00498         self.action_goal.goal_id.id = str[start:end]
00499       start = end
00500       end += 4
00501       (length,) = _struct_I.unpack(str[start:end])
00502       self.action_goal.goal.parameter = []
00503       for i in range(0, length):
00504         start = end
00505         end += 4
00506         (length,) = _struct_I.unpack(str[start:end])
00507         start = end
00508         end += length
00509         if python3:
00510           val1 = str[start:end].decode('utf-8')
00511         else:
00512           val1 = str[start:end]
00513         self.action_goal.goal.parameter.append(val1)
00514       _x = self
00515       start = end
00516       end += 12
00517       (_x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
00518       start = end
00519       end += 4
00520       (length,) = _struct_I.unpack(str[start:end])
00521       start = end
00522       end += length
00523       if python3:
00524         self.action_result.header.frame_id = str[start:end].decode('utf-8')
00525       else:
00526         self.action_result.header.frame_id = str[start:end]
00527       _x = self
00528       start = end
00529       end += 8
00530       (_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(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.status.goal_id.id = str[start:end].decode('utf-8')
00538       else:
00539         self.action_result.status.goal_id.id = str[start:end]
00540       start = end
00541       end += 1
00542       (self.action_result.status.status,) = _struct_B.unpack(str[start:end])
00543       start = end
00544       end += 4
00545       (length,) = _struct_I.unpack(str[start:end])
00546       start = end
00547       end += length
00548       if python3:
00549         self.action_result.status.text = str[start:end].decode('utf-8')
00550       else:
00551         self.action_result.status.text = str[start:end]
00552       _x = self
00553       start = end
00554       end += 16
00555       (_x.action_result.result.result, _x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs,) = _struct_i3I.unpack(str[start:end])
00556       start = end
00557       end += 4
00558       (length,) = _struct_I.unpack(str[start:end])
00559       start = end
00560       end += length
00561       if python3:
00562         self.action_feedback.header.frame_id = str[start:end].decode('utf-8')
00563       else:
00564         self.action_feedback.header.frame_id = str[start:end]
00565       _x = self
00566       start = end
00567       end += 8
00568       (_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs,) = _struct_2I.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.goal_id.id = str[start:end].decode('utf-8')
00576       else:
00577         self.action_feedback.status.goal_id.id = str[start:end]
00578       start = end
00579       end += 1
00580       (self.action_feedback.status.status,) = _struct_B.unpack(str[start:end])
00581       start = end
00582       end += 4
00583       (length,) = _struct_I.unpack(str[start:end])
00584       start = end
00585       end += length
00586       if python3:
00587         self.action_feedback.status.text = str[start:end].decode('utf-8')
00588       else:
00589         self.action_feedback.status.text = str[start:end]
00590       start = end
00591       end += 4
00592       (self.action_feedback.feedback.feedback,) = _struct_i.unpack(str[start:end])
00593       return self
00594     except struct.error as e:
00595       raise genpy.DeserializationError(e) #most likely buffer underfill
00596 
00597 _struct_I = genpy.struct_I
00598 _struct_i = struct.Struct("<i")
00599 _struct_3I = struct.Struct("<3I")
00600 _struct_B = struct.Struct("<B")
00601 _struct_2I = struct.Struct("<2I")
00602 _struct_i3I = struct.Struct("<i3I")


tug_ist_diagnosis_msgs
Author(s): Safdar Zaman, Gerald Steinbauer
autogenerated on Mon Jan 6 2014 11:51:02