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