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