_PostGraspPositionAction.py
Go to the documentation of this file.
00001 """autogenerated by genpy from tidyup_msgs/PostGraspPositionAction.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 tidyup_msgs.msg
00008 import genpy
00009 import actionlib_msgs.msg
00010 import std_msgs.msg
00011 
00012 class PostGraspPositionAction(genpy.Message):
00013   _md5sum = "f0e44f1c3dbc3a35b29eab8600c036b6"
00014   _type = "tidyup_msgs/PostGraspPositionAction"
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 PostGraspPositionActionGoal action_goal
00019 PostGraspPositionActionResult action_result
00020 PostGraspPositionActionFeedback action_feedback
00021 
00022 ================================================================================
00023 MSG: tidyup_msgs/PostGraspPositionActionGoal
00024 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00025 
00026 Header header
00027 actionlib_msgs/GoalID goal_id
00028 PostGraspPositionGoal 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: tidyup_msgs/PostGraspPositionGoal
00063 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00064 bool left_arm
00065 bool right_arm
00066 
00067 ================================================================================
00068 MSG: tidyup_msgs/PostGraspPositionActionResult
00069 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00070 
00071 Header header
00072 actionlib_msgs/GoalStatus status
00073 PostGraspPositionResult 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: tidyup_msgs/PostGraspPositionResult
00103 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00104 string result
00105 
00106 ================================================================================
00107 MSG: tidyup_msgs/PostGraspPositionActionFeedback
00108 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00109 
00110 Header header
00111 actionlib_msgs/GoalStatus status
00112 PostGraspPositionFeedback feedback
00113 
00114 ================================================================================
00115 MSG: tidyup_msgs/PostGraspPositionFeedback
00116 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00117 
00118 
00119 """
00120   __slots__ = ['action_goal','action_result','action_feedback']
00121   _slot_types = ['tidyup_msgs/PostGraspPositionActionGoal','tidyup_msgs/PostGraspPositionActionResult','tidyup_msgs/PostGraspPositionActionFeedback']
00122 
00123   def __init__(self, *args, **kwds):
00124     """
00125     Constructor. Any message fields that are implicitly/explicitly
00126     set to None will be assigned a default value. The recommend
00127     use is keyword arguments as this is more robust to future message
00128     changes.  You cannot mix in-order arguments and keyword arguments.
00129 
00130     The available fields are:
00131        action_goal,action_result,action_feedback
00132 
00133     :param args: complete set of field values, in .msg order
00134     :param kwds: use keyword arguments corresponding to message field names
00135     to set specific fields.
00136     """
00137     if args or kwds:
00138       super(PostGraspPositionAction, self).__init__(*args, **kwds)
00139       #message fields cannot be None, assign default values for those that are
00140       if self.action_goal is None:
00141         self.action_goal = tidyup_msgs.msg.PostGraspPositionActionGoal()
00142       if self.action_result is None:
00143         self.action_result = tidyup_msgs.msg.PostGraspPositionActionResult()
00144       if self.action_feedback is None:
00145         self.action_feedback = tidyup_msgs.msg.PostGraspPositionActionFeedback()
00146     else:
00147       self.action_goal = tidyup_msgs.msg.PostGraspPositionActionGoal()
00148       self.action_result = tidyup_msgs.msg.PostGraspPositionActionResult()
00149       self.action_feedback = tidyup_msgs.msg.PostGraspPositionActionFeedback()
00150 
00151   def _get_types(self):
00152     """
00153     internal API method
00154     """
00155     return self._slot_types
00156 
00157   def serialize(self, buff):
00158     """
00159     serialize message into buffer
00160     :param buff: buffer, ``StringIO``
00161     """
00162     try:
00163       _x = self
00164       buff.write(_struct_3I.pack(_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs))
00165       _x = self.action_goal.header.frame_id
00166       length = len(_x)
00167       if python3 or type(_x) == unicode:
00168         _x = _x.encode('utf-8')
00169         length = len(_x)
00170       buff.write(struct.pack('<I%ss'%length, length, _x))
00171       _x = self
00172       buff.write(_struct_2I.pack(_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs))
00173       _x = self.action_goal.goal_id.id
00174       length = len(_x)
00175       if python3 or type(_x) == unicode:
00176         _x = _x.encode('utf-8')
00177         length = len(_x)
00178       buff.write(struct.pack('<I%ss'%length, length, _x))
00179       _x = self
00180       buff.write(_struct_2B3I.pack(_x.action_goal.goal.left_arm, _x.action_goal.goal.right_arm, _x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs))
00181       _x = self.action_result.header.frame_id
00182       length = len(_x)
00183       if python3 or type(_x) == unicode:
00184         _x = _x.encode('utf-8')
00185         length = len(_x)
00186       buff.write(struct.pack('<I%ss'%length, length, _x))
00187       _x = self
00188       buff.write(_struct_2I.pack(_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs))
00189       _x = self.action_result.status.goal_id.id
00190       length = len(_x)
00191       if python3 or type(_x) == unicode:
00192         _x = _x.encode('utf-8')
00193         length = len(_x)
00194       buff.write(struct.pack('<I%ss'%length, length, _x))
00195       buff.write(_struct_B.pack(self.action_result.status.status))
00196       _x = self.action_result.status.text
00197       length = len(_x)
00198       if python3 or type(_x) == unicode:
00199         _x = _x.encode('utf-8')
00200         length = len(_x)
00201       buff.write(struct.pack('<I%ss'%length, length, _x))
00202       _x = self.action_result.result.result
00203       length = len(_x)
00204       if python3 or type(_x) == unicode:
00205         _x = _x.encode('utf-8')
00206         length = len(_x)
00207       buff.write(struct.pack('<I%ss'%length, length, _x))
00208       _x = self
00209       buff.write(_struct_3I.pack(_x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs))
00210       _x = self.action_feedback.header.frame_id
00211       length = len(_x)
00212       if python3 or type(_x) == unicode:
00213         _x = _x.encode('utf-8')
00214         length = len(_x)
00215       buff.write(struct.pack('<I%ss'%length, length, _x))
00216       _x = self
00217       buff.write(_struct_2I.pack(_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs))
00218       _x = self.action_feedback.status.goal_id.id
00219       length = len(_x)
00220       if python3 or type(_x) == unicode:
00221         _x = _x.encode('utf-8')
00222         length = len(_x)
00223       buff.write(struct.pack('<I%ss'%length, length, _x))
00224       buff.write(_struct_B.pack(self.action_feedback.status.status))
00225       _x = self.action_feedback.status.text
00226       length = len(_x)
00227       if python3 or type(_x) == unicode:
00228         _x = _x.encode('utf-8')
00229         length = len(_x)
00230       buff.write(struct.pack('<I%ss'%length, length, _x))
00231     except struct.error as se: self._check_types(se)
00232     except TypeError as te: self._check_types(te)
00233 
00234   def deserialize(self, str):
00235     """
00236     unpack serialized message in str into this message instance
00237     :param str: byte array of serialized message, ``str``
00238     """
00239     try:
00240       if self.action_goal is None:
00241         self.action_goal = tidyup_msgs.msg.PostGraspPositionActionGoal()
00242       if self.action_result is None:
00243         self.action_result = tidyup_msgs.msg.PostGraspPositionActionResult()
00244       if self.action_feedback is None:
00245         self.action_feedback = tidyup_msgs.msg.PostGraspPositionActionFeedback()
00246       end = 0
00247       _x = self
00248       start = end
00249       end += 12
00250       (_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
00251       start = end
00252       end += 4
00253       (length,) = _struct_I.unpack(str[start:end])
00254       start = end
00255       end += length
00256       if python3:
00257         self.action_goal.header.frame_id = str[start:end].decode('utf-8')
00258       else:
00259         self.action_goal.header.frame_id = str[start:end]
00260       _x = self
00261       start = end
00262       end += 8
00263       (_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00264       start = end
00265       end += 4
00266       (length,) = _struct_I.unpack(str[start:end])
00267       start = end
00268       end += length
00269       if python3:
00270         self.action_goal.goal_id.id = str[start:end].decode('utf-8')
00271       else:
00272         self.action_goal.goal_id.id = str[start:end]
00273       _x = self
00274       start = end
00275       end += 14
00276       (_x.action_goal.goal.left_arm, _x.action_goal.goal.right_arm, _x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs,) = _struct_2B3I.unpack(str[start:end])
00277       self.action_goal.goal.left_arm = bool(self.action_goal.goal.left_arm)
00278       self.action_goal.goal.right_arm = bool(self.action_goal.goal.right_arm)
00279       start = end
00280       end += 4
00281       (length,) = _struct_I.unpack(str[start:end])
00282       start = end
00283       end += length
00284       if python3:
00285         self.action_result.header.frame_id = str[start:end].decode('utf-8')
00286       else:
00287         self.action_result.header.frame_id = str[start:end]
00288       _x = self
00289       start = end
00290       end += 8
00291       (_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00292       start = end
00293       end += 4
00294       (length,) = _struct_I.unpack(str[start:end])
00295       start = end
00296       end += length
00297       if python3:
00298         self.action_result.status.goal_id.id = str[start:end].decode('utf-8')
00299       else:
00300         self.action_result.status.goal_id.id = str[start:end]
00301       start = end
00302       end += 1
00303       (self.action_result.status.status,) = _struct_B.unpack(str[start:end])
00304       start = end
00305       end += 4
00306       (length,) = _struct_I.unpack(str[start:end])
00307       start = end
00308       end += length
00309       if python3:
00310         self.action_result.status.text = str[start:end].decode('utf-8')
00311       else:
00312         self.action_result.status.text = str[start:end]
00313       start = end
00314       end += 4
00315       (length,) = _struct_I.unpack(str[start:end])
00316       start = end
00317       end += length
00318       if python3:
00319         self.action_result.result.result = str[start:end].decode('utf-8')
00320       else:
00321         self.action_result.result.result = str[start:end]
00322       _x = self
00323       start = end
00324       end += 12
00325       (_x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
00326       start = end
00327       end += 4
00328       (length,) = _struct_I.unpack(str[start:end])
00329       start = end
00330       end += length
00331       if python3:
00332         self.action_feedback.header.frame_id = str[start:end].decode('utf-8')
00333       else:
00334         self.action_feedback.header.frame_id = str[start:end]
00335       _x = self
00336       start = end
00337       end += 8
00338       (_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00339       start = end
00340       end += 4
00341       (length,) = _struct_I.unpack(str[start:end])
00342       start = end
00343       end += length
00344       if python3:
00345         self.action_feedback.status.goal_id.id = str[start:end].decode('utf-8')
00346       else:
00347         self.action_feedback.status.goal_id.id = str[start:end]
00348       start = end
00349       end += 1
00350       (self.action_feedback.status.status,) = _struct_B.unpack(str[start:end])
00351       start = end
00352       end += 4
00353       (length,) = _struct_I.unpack(str[start:end])
00354       start = end
00355       end += length
00356       if python3:
00357         self.action_feedback.status.text = str[start:end].decode('utf-8')
00358       else:
00359         self.action_feedback.status.text = str[start:end]
00360       return self
00361     except struct.error as e:
00362       raise genpy.DeserializationError(e) #most likely buffer underfill
00363 
00364 
00365   def serialize_numpy(self, buff, numpy):
00366     """
00367     serialize message with numpy array types into buffer
00368     :param buff: buffer, ``StringIO``
00369     :param numpy: numpy python module
00370     """
00371     try:
00372       _x = self
00373       buff.write(_struct_3I.pack(_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs))
00374       _x = self.action_goal.header.frame_id
00375       length = len(_x)
00376       if python3 or type(_x) == unicode:
00377         _x = _x.encode('utf-8')
00378         length = len(_x)
00379       buff.write(struct.pack('<I%ss'%length, length, _x))
00380       _x = self
00381       buff.write(_struct_2I.pack(_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs))
00382       _x = self.action_goal.goal_id.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_2B3I.pack(_x.action_goal.goal.left_arm, _x.action_goal.goal.right_arm, _x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs))
00390       _x = self.action_result.header.frame_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_2I.pack(_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs))
00398       _x = self.action_result.status.goal_id.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       buff.write(_struct_B.pack(self.action_result.status.status))
00405       _x = self.action_result.status.text
00406       length = len(_x)
00407       if python3 or type(_x) == unicode:
00408         _x = _x.encode('utf-8')
00409         length = len(_x)
00410       buff.write(struct.pack('<I%ss'%length, length, _x))
00411       _x = self.action_result.result.result
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_3I.pack(_x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs))
00419       _x = self.action_feedback.header.frame_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       _x = self
00426       buff.write(_struct_2I.pack(_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs))
00427       _x = self.action_feedback.status.goal_id.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       buff.write(_struct_B.pack(self.action_feedback.status.status))
00434       _x = self.action_feedback.status.text
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     except struct.error as se: self._check_types(se)
00441     except TypeError as te: self._check_types(te)
00442 
00443   def deserialize_numpy(self, str, numpy):
00444     """
00445     unpack serialized message in str into this message instance using numpy for array types
00446     :param str: byte array of serialized message, ``str``
00447     :param numpy: numpy python module
00448     """
00449     try:
00450       if self.action_goal is None:
00451         self.action_goal = tidyup_msgs.msg.PostGraspPositionActionGoal()
00452       if self.action_result is None:
00453         self.action_result = tidyup_msgs.msg.PostGraspPositionActionResult()
00454       if self.action_feedback is None:
00455         self.action_feedback = tidyup_msgs.msg.PostGraspPositionActionFeedback()
00456       end = 0
00457       _x = self
00458       start = end
00459       end += 12
00460       (_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
00461       start = end
00462       end += 4
00463       (length,) = _struct_I.unpack(str[start:end])
00464       start = end
00465       end += length
00466       if python3:
00467         self.action_goal.header.frame_id = str[start:end].decode('utf-8')
00468       else:
00469         self.action_goal.header.frame_id = str[start:end]
00470       _x = self
00471       start = end
00472       end += 8
00473       (_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00474       start = end
00475       end += 4
00476       (length,) = _struct_I.unpack(str[start:end])
00477       start = end
00478       end += length
00479       if python3:
00480         self.action_goal.goal_id.id = str[start:end].decode('utf-8')
00481       else:
00482         self.action_goal.goal_id.id = str[start:end]
00483       _x = self
00484       start = end
00485       end += 14
00486       (_x.action_goal.goal.left_arm, _x.action_goal.goal.right_arm, _x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs,) = _struct_2B3I.unpack(str[start:end])
00487       self.action_goal.goal.left_arm = bool(self.action_goal.goal.left_arm)
00488       self.action_goal.goal.right_arm = bool(self.action_goal.goal.right_arm)
00489       start = end
00490       end += 4
00491       (length,) = _struct_I.unpack(str[start:end])
00492       start = end
00493       end += length
00494       if python3:
00495         self.action_result.header.frame_id = str[start:end].decode('utf-8')
00496       else:
00497         self.action_result.header.frame_id = str[start:end]
00498       _x = self
00499       start = end
00500       end += 8
00501       (_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00502       start = end
00503       end += 4
00504       (length,) = _struct_I.unpack(str[start:end])
00505       start = end
00506       end += length
00507       if python3:
00508         self.action_result.status.goal_id.id = str[start:end].decode('utf-8')
00509       else:
00510         self.action_result.status.goal_id.id = str[start:end]
00511       start = end
00512       end += 1
00513       (self.action_result.status.status,) = _struct_B.unpack(str[start:end])
00514       start = end
00515       end += 4
00516       (length,) = _struct_I.unpack(str[start:end])
00517       start = end
00518       end += length
00519       if python3:
00520         self.action_result.status.text = str[start:end].decode('utf-8')
00521       else:
00522         self.action_result.status.text = str[start:end]
00523       start = end
00524       end += 4
00525       (length,) = _struct_I.unpack(str[start:end])
00526       start = end
00527       end += length
00528       if python3:
00529         self.action_result.result.result = str[start:end].decode('utf-8')
00530       else:
00531         self.action_result.result.result = str[start:end]
00532       _x = self
00533       start = end
00534       end += 12
00535       (_x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
00536       start = end
00537       end += 4
00538       (length,) = _struct_I.unpack(str[start:end])
00539       start = end
00540       end += length
00541       if python3:
00542         self.action_feedback.header.frame_id = str[start:end].decode('utf-8')
00543       else:
00544         self.action_feedback.header.frame_id = str[start:end]
00545       _x = self
00546       start = end
00547       end += 8
00548       (_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00549       start = end
00550       end += 4
00551       (length,) = _struct_I.unpack(str[start:end])
00552       start = end
00553       end += length
00554       if python3:
00555         self.action_feedback.status.goal_id.id = str[start:end].decode('utf-8')
00556       else:
00557         self.action_feedback.status.goal_id.id = str[start:end]
00558       start = end
00559       end += 1
00560       (self.action_feedback.status.status,) = _struct_B.unpack(str[start:end])
00561       start = end
00562       end += 4
00563       (length,) = _struct_I.unpack(str[start:end])
00564       start = end
00565       end += length
00566       if python3:
00567         self.action_feedback.status.text = str[start:end].decode('utf-8')
00568       else:
00569         self.action_feedback.status.text = str[start:end]
00570       return self
00571     except struct.error as e:
00572       raise genpy.DeserializationError(e) #most likely buffer underfill
00573 
00574 _struct_I = genpy.struct_I
00575 _struct_2B3I = struct.Struct("<2B3I")
00576 _struct_3I = struct.Struct("<3I")
00577 _struct_B = struct.Struct("<B")
00578 _struct_2I = struct.Struct("<2I")
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


tidyup_msgs
Author(s): Maintained by Christian Dornhege
autogenerated on Wed Dec 26 2012 15:47:07