_UserCommandAction.py
Go to the documentation of this file.
00001 """autogenerated by genpy from pr2_interactive_object_detection/UserCommandAction.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 pr2_interactive_object_detection.msg
00008 import genpy
00009 import actionlib_msgs.msg
00010 import std_msgs.msg
00011 
00012 class UserCommandAction(genpy.Message):
00013   _md5sum = "6f0314e1800e44b4f4f8b0f30a7d5258"
00014   _type = "pr2_interactive_object_detection/UserCommandAction"
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 UserCommandActionGoal action_goal
00019 UserCommandActionResult action_result
00020 UserCommandActionFeedback action_feedback
00021 
00022 ================================================================================
00023 MSG: pr2_interactive_object_detection/UserCommandActionGoal
00024 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00025 
00026 Header header
00027 actionlib_msgs/GoalID goal_id
00028 UserCommandGoal 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: pr2_interactive_object_detection/UserCommandGoal
00063 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00064 #request constants
00065 int8 LOOK_AT_TABLE=0
00066 
00067 int8 SEGMENT=1
00068 int8 RECOGNIZE=2
00069 int8 DETECT=3
00070 int8 RESET=4
00071 
00072 int8 request
00073 bool interactive
00074 
00075 ================================================================================
00076 MSG: pr2_interactive_object_detection/UserCommandActionResult
00077 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00078 
00079 Header header
00080 actionlib_msgs/GoalStatus status
00081 UserCommandResult result
00082 
00083 ================================================================================
00084 MSG: actionlib_msgs/GoalStatus
00085 GoalID goal_id
00086 uint8 status
00087 uint8 PENDING         = 0   # The goal has yet to be processed by the action server
00088 uint8 ACTIVE          = 1   # The goal is currently being processed by the action server
00089 uint8 PREEMPTED       = 2   # The goal received a cancel request after it started executing
00090                             #   and has since completed its execution (Terminal State)
00091 uint8 SUCCEEDED       = 3   # The goal was achieved successfully by the action server (Terminal State)
00092 uint8 ABORTED         = 4   # The goal was aborted during execution by the action server due
00093                             #    to some failure (Terminal State)
00094 uint8 REJECTED        = 5   # The goal was rejected by the action server without being processed,
00095                             #    because the goal was unattainable or invalid (Terminal State)
00096 uint8 PREEMPTING      = 6   # The goal received a cancel request after it started executing
00097                             #    and has not yet completed execution
00098 uint8 RECALLING       = 7   # The goal received a cancel request before it started executing,
00099                             #    but the action server has not yet confirmed that the goal is canceled
00100 uint8 RECALLED        = 8   # The goal received a cancel request before it started executing
00101                             #    and was successfully cancelled (Terminal State)
00102 uint8 LOST            = 9   # An action client can determine that a goal is LOST. This should not be
00103                             #    sent over the wire by an action server
00104 
00105 #Allow for the user to associate a string with GoalStatus for debugging
00106 string text
00107 
00108 
00109 ================================================================================
00110 MSG: pr2_interactive_object_detection/UserCommandResult
00111 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00112 #no specific result
00113 
00114 ================================================================================
00115 MSG: pr2_interactive_object_detection/UserCommandActionFeedback
00116 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00117 
00118 Header header
00119 actionlib_msgs/GoalStatus status
00120 UserCommandFeedback feedback
00121 
00122 ================================================================================
00123 MSG: pr2_interactive_object_detection/UserCommandFeedback
00124 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00125 #feedback in the form of a status string
00126 string status
00127 
00128 
00129 """
00130   __slots__ = ['action_goal','action_result','action_feedback']
00131   _slot_types = ['pr2_interactive_object_detection/UserCommandActionGoal','pr2_interactive_object_detection/UserCommandActionResult','pr2_interactive_object_detection/UserCommandActionFeedback']
00132 
00133   def __init__(self, *args, **kwds):
00134     """
00135     Constructor. Any message fields that are implicitly/explicitly
00136     set to None will be assigned a default value. The recommend
00137     use is keyword arguments as this is more robust to future message
00138     changes.  You cannot mix in-order arguments and keyword arguments.
00139 
00140     The available fields are:
00141        action_goal,action_result,action_feedback
00142 
00143     :param args: complete set of field values, in .msg order
00144     :param kwds: use keyword arguments corresponding to message field names
00145     to set specific fields.
00146     """
00147     if args or kwds:
00148       super(UserCommandAction, self).__init__(*args, **kwds)
00149       #message fields cannot be None, assign default values for those that are
00150       if self.action_goal is None:
00151         self.action_goal = pr2_interactive_object_detection.msg.UserCommandActionGoal()
00152       if self.action_result is None:
00153         self.action_result = pr2_interactive_object_detection.msg.UserCommandActionResult()
00154       if self.action_feedback is None:
00155         self.action_feedback = pr2_interactive_object_detection.msg.UserCommandActionFeedback()
00156     else:
00157       self.action_goal = pr2_interactive_object_detection.msg.UserCommandActionGoal()
00158       self.action_result = pr2_interactive_object_detection.msg.UserCommandActionResult()
00159       self.action_feedback = pr2_interactive_object_detection.msg.UserCommandActionFeedback()
00160 
00161   def _get_types(self):
00162     """
00163     internal API method
00164     """
00165     return self._slot_types
00166 
00167   def serialize(self, buff):
00168     """
00169     serialize message into buffer
00170     :param buff: buffer, ``StringIO``
00171     """
00172     try:
00173       _x = self
00174       buff.write(_struct_3I.pack(_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs))
00175       _x = self.action_goal.header.frame_id
00176       length = len(_x)
00177       if python3 or type(_x) == unicode:
00178         _x = _x.encode('utf-8')
00179         length = len(_x)
00180       buff.write(struct.pack('<I%ss'%length, length, _x))
00181       _x = self
00182       buff.write(_struct_2I.pack(_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs))
00183       _x = self.action_goal.goal_id.id
00184       length = len(_x)
00185       if python3 or type(_x) == unicode:
00186         _x = _x.encode('utf-8')
00187         length = len(_x)
00188       buff.write(struct.pack('<I%ss'%length, length, _x))
00189       _x = self
00190       buff.write(_struct_bB3I.pack(_x.action_goal.goal.request, _x.action_goal.goal.interactive, _x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs))
00191       _x = self.action_result.header.frame_id
00192       length = len(_x)
00193       if python3 or type(_x) == unicode:
00194         _x = _x.encode('utf-8')
00195         length = len(_x)
00196       buff.write(struct.pack('<I%ss'%length, length, _x))
00197       _x = self
00198       buff.write(_struct_2I.pack(_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs))
00199       _x = self.action_result.status.goal_id.id
00200       length = len(_x)
00201       if python3 or type(_x) == unicode:
00202         _x = _x.encode('utf-8')
00203         length = len(_x)
00204       buff.write(struct.pack('<I%ss'%length, length, _x))
00205       buff.write(_struct_B.pack(self.action_result.status.status))
00206       _x = self.action_result.status.text
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_3I.pack(_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.action_feedback.feedback.status
00236       length = len(_x)
00237       if python3 or type(_x) == unicode:
00238         _x = _x.encode('utf-8')
00239         length = len(_x)
00240       buff.write(struct.pack('<I%ss'%length, length, _x))
00241     except struct.error as se: self._check_types(se)
00242     except TypeError as te: self._check_types(te)
00243 
00244   def deserialize(self, str):
00245     """
00246     unpack serialized message in str into this message instance
00247     :param str: byte array of serialized message, ``str``
00248     """
00249     try:
00250       if self.action_goal is None:
00251         self.action_goal = pr2_interactive_object_detection.msg.UserCommandActionGoal()
00252       if self.action_result is None:
00253         self.action_result = pr2_interactive_object_detection.msg.UserCommandActionResult()
00254       if self.action_feedback is None:
00255         self.action_feedback = pr2_interactive_object_detection.msg.UserCommandActionFeedback()
00256       end = 0
00257       _x = self
00258       start = end
00259       end += 12
00260       (_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
00261       start = end
00262       end += 4
00263       (length,) = _struct_I.unpack(str[start:end])
00264       start = end
00265       end += length
00266       if python3:
00267         self.action_goal.header.frame_id = str[start:end].decode('utf-8')
00268       else:
00269         self.action_goal.header.frame_id = str[start:end]
00270       _x = self
00271       start = end
00272       end += 8
00273       (_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00274       start = end
00275       end += 4
00276       (length,) = _struct_I.unpack(str[start:end])
00277       start = end
00278       end += length
00279       if python3:
00280         self.action_goal.goal_id.id = str[start:end].decode('utf-8')
00281       else:
00282         self.action_goal.goal_id.id = str[start:end]
00283       _x = self
00284       start = end
00285       end += 14
00286       (_x.action_goal.goal.request, _x.action_goal.goal.interactive, _x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs,) = _struct_bB3I.unpack(str[start:end])
00287       self.action_goal.goal.interactive = bool(self.action_goal.goal.interactive)
00288       start = end
00289       end += 4
00290       (length,) = _struct_I.unpack(str[start:end])
00291       start = end
00292       end += length
00293       if python3:
00294         self.action_result.header.frame_id = str[start:end].decode('utf-8')
00295       else:
00296         self.action_result.header.frame_id = str[start:end]
00297       _x = self
00298       start = end
00299       end += 8
00300       (_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00301       start = end
00302       end += 4
00303       (length,) = _struct_I.unpack(str[start:end])
00304       start = end
00305       end += length
00306       if python3:
00307         self.action_result.status.goal_id.id = str[start:end].decode('utf-8')
00308       else:
00309         self.action_result.status.goal_id.id = str[start:end]
00310       start = end
00311       end += 1
00312       (self.action_result.status.status,) = _struct_B.unpack(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.status.text = str[start:end].decode('utf-8')
00320       else:
00321         self.action_result.status.text = 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       start = end
00361       end += 4
00362       (length,) = _struct_I.unpack(str[start:end])
00363       start = end
00364       end += length
00365       if python3:
00366         self.action_feedback.feedback.status = str[start:end].decode('utf-8')
00367       else:
00368         self.action_feedback.feedback.status = str[start:end]
00369       return self
00370     except struct.error as e:
00371       raise genpy.DeserializationError(e) #most likely buffer underfill
00372 
00373 
00374   def serialize_numpy(self, buff, numpy):
00375     """
00376     serialize message with numpy array types into buffer
00377     :param buff: buffer, ``StringIO``
00378     :param numpy: numpy python module
00379     """
00380     try:
00381       _x = self
00382       buff.write(_struct_3I.pack(_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs))
00383       _x = self.action_goal.header.frame_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_2I.pack(_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs))
00391       _x = self.action_goal.goal_id.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_bB3I.pack(_x.action_goal.goal.request, _x.action_goal.goal.interactive, _x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs))
00399       _x = self.action_result.header.frame_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       _x = self
00406       buff.write(_struct_2I.pack(_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs))
00407       _x = self.action_result.status.goal_id.id
00408       length = len(_x)
00409       if python3 or type(_x) == unicode:
00410         _x = _x.encode('utf-8')
00411         length = len(_x)
00412       buff.write(struct.pack('<I%ss'%length, length, _x))
00413       buff.write(_struct_B.pack(self.action_result.status.status))
00414       _x = self.action_result.status.text
00415       length = len(_x)
00416       if python3 or type(_x) == unicode:
00417         _x = _x.encode('utf-8')
00418         length = len(_x)
00419       buff.write(struct.pack('<I%ss'%length, length, _x))
00420       _x = self
00421       buff.write(_struct_3I.pack(_x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs))
00422       _x = self.action_feedback.header.frame_id
00423       length = len(_x)
00424       if python3 or type(_x) == unicode:
00425         _x = _x.encode('utf-8')
00426         length = len(_x)
00427       buff.write(struct.pack('<I%ss'%length, length, _x))
00428       _x = self
00429       buff.write(_struct_2I.pack(_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs))
00430       _x = self.action_feedback.status.goal_id.id
00431       length = len(_x)
00432       if python3 or type(_x) == unicode:
00433         _x = _x.encode('utf-8')
00434         length = len(_x)
00435       buff.write(struct.pack('<I%ss'%length, length, _x))
00436       buff.write(_struct_B.pack(self.action_feedback.status.status))
00437       _x = self.action_feedback.status.text
00438       length = len(_x)
00439       if python3 or type(_x) == unicode:
00440         _x = _x.encode('utf-8')
00441         length = len(_x)
00442       buff.write(struct.pack('<I%ss'%length, length, _x))
00443       _x = self.action_feedback.feedback.status
00444       length = len(_x)
00445       if python3 or type(_x) == unicode:
00446         _x = _x.encode('utf-8')
00447         length = len(_x)
00448       buff.write(struct.pack('<I%ss'%length, length, _x))
00449     except struct.error as se: self._check_types(se)
00450     except TypeError as te: self._check_types(te)
00451 
00452   def deserialize_numpy(self, str, numpy):
00453     """
00454     unpack serialized message in str into this message instance using numpy for array types
00455     :param str: byte array of serialized message, ``str``
00456     :param numpy: numpy python module
00457     """
00458     try:
00459       if self.action_goal is None:
00460         self.action_goal = pr2_interactive_object_detection.msg.UserCommandActionGoal()
00461       if self.action_result is None:
00462         self.action_result = pr2_interactive_object_detection.msg.UserCommandActionResult()
00463       if self.action_feedback is None:
00464         self.action_feedback = pr2_interactive_object_detection.msg.UserCommandActionFeedback()
00465       end = 0
00466       _x = self
00467       start = end
00468       end += 12
00469       (_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
00470       start = end
00471       end += 4
00472       (length,) = _struct_I.unpack(str[start:end])
00473       start = end
00474       end += length
00475       if python3:
00476         self.action_goal.header.frame_id = str[start:end].decode('utf-8')
00477       else:
00478         self.action_goal.header.frame_id = str[start:end]
00479       _x = self
00480       start = end
00481       end += 8
00482       (_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00483       start = end
00484       end += 4
00485       (length,) = _struct_I.unpack(str[start:end])
00486       start = end
00487       end += length
00488       if python3:
00489         self.action_goal.goal_id.id = str[start:end].decode('utf-8')
00490       else:
00491         self.action_goal.goal_id.id = str[start:end]
00492       _x = self
00493       start = end
00494       end += 14
00495       (_x.action_goal.goal.request, _x.action_goal.goal.interactive, _x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs,) = _struct_bB3I.unpack(str[start:end])
00496       self.action_goal.goal.interactive = bool(self.action_goal.goal.interactive)
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       _x = self
00532       start = end
00533       end += 12
00534       (_x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
00535       start = end
00536       end += 4
00537       (length,) = _struct_I.unpack(str[start:end])
00538       start = end
00539       end += length
00540       if python3:
00541         self.action_feedback.header.frame_id = str[start:end].decode('utf-8')
00542       else:
00543         self.action_feedback.header.frame_id = str[start:end]
00544       _x = self
00545       start = end
00546       end += 8
00547       (_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00548       start = end
00549       end += 4
00550       (length,) = _struct_I.unpack(str[start:end])
00551       start = end
00552       end += length
00553       if python3:
00554         self.action_feedback.status.goal_id.id = str[start:end].decode('utf-8')
00555       else:
00556         self.action_feedback.status.goal_id.id = str[start:end]
00557       start = end
00558       end += 1
00559       (self.action_feedback.status.status,) = _struct_B.unpack(str[start:end])
00560       start = end
00561       end += 4
00562       (length,) = _struct_I.unpack(str[start:end])
00563       start = end
00564       end += length
00565       if python3:
00566         self.action_feedback.status.text = str[start:end].decode('utf-8')
00567       else:
00568         self.action_feedback.status.text = 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.feedback.status = str[start:end].decode('utf-8')
00576       else:
00577         self.action_feedback.feedback.status = str[start:end]
00578       return self
00579     except struct.error as e:
00580       raise genpy.DeserializationError(e) #most likely buffer underfill
00581 
00582 _struct_I = genpy.struct_I
00583 _struct_bB3I = struct.Struct("<bB3I")
00584 _struct_3I = struct.Struct("<3I")
00585 _struct_B = struct.Struct("<B")
00586 _struct_2I = struct.Struct("<2I")


pr2_interactive_object_detection
Author(s): David Gossow
autogenerated on Fri Jan 3 2014 12:04:26