$search
00001 """autogenerated by genmsg_py from GetPoseAction.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 GetPoseAction(roslib.message.Message): 00012 _md5sum = "a84575fda2ec9f0e3524c2db02ef3d20" 00013 _type = "pr2_object_manipulation_msgs/GetPoseAction" 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 GetPoseActionGoal action_goal 00018 GetPoseActionResult action_result 00019 GetPoseActionFeedback action_feedback 00020 00021 ================================================================================ 00022 MSG: pr2_object_manipulation_msgs/GetPoseActionGoal 00023 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ====== 00024 00025 Header header 00026 actionlib_msgs/GoalID goal_id 00027 GetPoseGoal 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/GetPoseGoal 00062 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ====== 00063 00064 # a seed position for the pose marker. If empty (quaternion of norm 0) 00065 # the marker will be initialized at the current pose of the header frame. 00066 geometry_msgs/PoseStamped starting_pose 00067 00068 00069 ================================================================================ 00070 MSG: geometry_msgs/PoseStamped 00071 # A Pose with reference coordinate frame and timestamp 00072 Header header 00073 Pose pose 00074 00075 ================================================================================ 00076 MSG: geometry_msgs/Pose 00077 # A representation of pose in free space, composed of postion and orientation. 00078 Point position 00079 Quaternion orientation 00080 00081 ================================================================================ 00082 MSG: geometry_msgs/Point 00083 # This contains the position of a point in free space 00084 float64 x 00085 float64 y 00086 float64 z 00087 00088 ================================================================================ 00089 MSG: geometry_msgs/Quaternion 00090 # This represents an orientation in free space in quaternion form. 00091 00092 float64 x 00093 float64 y 00094 float64 z 00095 float64 w 00096 00097 ================================================================================ 00098 MSG: pr2_object_manipulation_msgs/GetPoseActionResult 00099 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ====== 00100 00101 Header header 00102 actionlib_msgs/GoalStatus status 00103 GetPoseResult result 00104 00105 ================================================================================ 00106 MSG: actionlib_msgs/GoalStatus 00107 GoalID goal_id 00108 uint8 status 00109 uint8 PENDING = 0 # The goal has yet to be processed by the action server 00110 uint8 ACTIVE = 1 # The goal is currently being processed by the action server 00111 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing 00112 # and has since completed its execution (Terminal State) 00113 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State) 00114 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due 00115 # to some failure (Terminal State) 00116 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed, 00117 # because the goal was unattainable or invalid (Terminal State) 00118 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing 00119 # and has not yet completed execution 00120 uint8 RECALLING = 7 # The goal received a cancel request before it started executing, 00121 # but the action server has not yet confirmed that the goal is canceled 00122 uint8 RECALLED = 8 # The goal received a cancel request before it started executing 00123 # and was successfully cancelled (Terminal State) 00124 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be 00125 # sent over the wire by an action server 00126 00127 #Allow for the user to associate a string with GoalStatus for debugging 00128 string text 00129 00130 00131 ================================================================================ 00132 MSG: pr2_object_manipulation_msgs/GetPoseResult 00133 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ====== 00134 # the returned pose, assuming the user has clicked "accept" 00135 # if the user clicks "cancel" the action aborts 00136 geometry_msgs/PoseStamped pose 00137 00138 00139 ================================================================================ 00140 MSG: pr2_object_manipulation_msgs/GetPoseActionFeedback 00141 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ====== 00142 00143 Header header 00144 actionlib_msgs/GoalStatus status 00145 GetPoseFeedback feedback 00146 00147 ================================================================================ 00148 MSG: pr2_object_manipulation_msgs/GetPoseFeedback 00149 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ====== 00150 00151 00152 """ 00153 __slots__ = ['action_goal','action_result','action_feedback'] 00154 _slot_types = ['pr2_object_manipulation_msgs/GetPoseActionGoal','pr2_object_manipulation_msgs/GetPoseActionResult','pr2_object_manipulation_msgs/GetPoseActionFeedback'] 00155 00156 def __init__(self, *args, **kwds): 00157 """ 00158 Constructor. Any message fields that are implicitly/explicitly 00159 set to None will be assigned a default value. The recommend 00160 use is keyword arguments as this is more robust to future message 00161 changes. You cannot mix in-order arguments and keyword arguments. 00162 00163 The available fields are: 00164 action_goal,action_result,action_feedback 00165 00166 @param args: complete set of field values, in .msg order 00167 @param kwds: use keyword arguments corresponding to message field names 00168 to set specific fields. 00169 """ 00170 if args or kwds: 00171 super(GetPoseAction, self).__init__(*args, **kwds) 00172 #message fields cannot be None, assign default values for those that are 00173 if self.action_goal is None: 00174 self.action_goal = pr2_object_manipulation_msgs.msg.GetPoseActionGoal() 00175 if self.action_result is None: 00176 self.action_result = pr2_object_manipulation_msgs.msg.GetPoseActionResult() 00177 if self.action_feedback is None: 00178 self.action_feedback = pr2_object_manipulation_msgs.msg.GetPoseActionFeedback() 00179 else: 00180 self.action_goal = pr2_object_manipulation_msgs.msg.GetPoseActionGoal() 00181 self.action_result = pr2_object_manipulation_msgs.msg.GetPoseActionResult() 00182 self.action_feedback = pr2_object_manipulation_msgs.msg.GetPoseActionFeedback() 00183 00184 def _get_types(self): 00185 """ 00186 internal API method 00187 """ 00188 return self._slot_types 00189 00190 def serialize(self, buff): 00191 """ 00192 serialize message into buffer 00193 @param buff: buffer 00194 @type buff: StringIO 00195 """ 00196 try: 00197 _x = self 00198 buff.write(_struct_3I.pack(_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs)) 00199 _x = self.action_goal.header.frame_id 00200 length = len(_x) 00201 buff.write(struct.pack('<I%ss'%length, length, _x)) 00202 _x = self 00203 buff.write(_struct_2I.pack(_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs)) 00204 _x = self.action_goal.goal_id.id 00205 length = len(_x) 00206 buff.write(struct.pack('<I%ss'%length, length, _x)) 00207 _x = self 00208 buff.write(_struct_3I.pack(_x.action_goal.goal.starting_pose.header.seq, _x.action_goal.goal.starting_pose.header.stamp.secs, _x.action_goal.goal.starting_pose.header.stamp.nsecs)) 00209 _x = self.action_goal.goal.starting_pose.header.frame_id 00210 length = len(_x) 00211 buff.write(struct.pack('<I%ss'%length, length, _x)) 00212 _x = self 00213 buff.write(_struct_7d3I.pack(_x.action_goal.goal.starting_pose.pose.position.x, _x.action_goal.goal.starting_pose.pose.position.y, _x.action_goal.goal.starting_pose.pose.position.z, _x.action_goal.goal.starting_pose.pose.orientation.x, _x.action_goal.goal.starting_pose.pose.orientation.y, _x.action_goal.goal.starting_pose.pose.orientation.z, _x.action_goal.goal.starting_pose.pose.orientation.w, _x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs)) 00214 _x = self.action_result.header.frame_id 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_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs)) 00219 _x = self.action_result.status.goal_id.id 00220 length = len(_x) 00221 buff.write(struct.pack('<I%ss'%length, length, _x)) 00222 buff.write(_struct_B.pack(self.action_result.status.status)) 00223 _x = self.action_result.status.text 00224 length = len(_x) 00225 buff.write(struct.pack('<I%ss'%length, length, _x)) 00226 _x = self 00227 buff.write(_struct_3I.pack(_x.action_result.result.pose.header.seq, _x.action_result.result.pose.header.stamp.secs, _x.action_result.result.pose.header.stamp.nsecs)) 00228 _x = self.action_result.result.pose.header.frame_id 00229 length = len(_x) 00230 buff.write(struct.pack('<I%ss'%length, length, _x)) 00231 _x = self 00232 buff.write(_struct_7d3I.pack(_x.action_result.result.pose.pose.position.x, _x.action_result.result.pose.pose.position.y, _x.action_result.result.pose.pose.position.z, _x.action_result.result.pose.pose.orientation.x, _x.action_result.result.pose.pose.orientation.y, _x.action_result.result.pose.pose.orientation.z, _x.action_result.result.pose.pose.orientation.w, _x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs)) 00233 _x = self.action_feedback.header.frame_id 00234 length = len(_x) 00235 buff.write(struct.pack('<I%ss'%length, length, _x)) 00236 _x = self 00237 buff.write(_struct_2I.pack(_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs)) 00238 _x = self.action_feedback.status.goal_id.id 00239 length = len(_x) 00240 buff.write(struct.pack('<I%ss'%length, length, _x)) 00241 buff.write(_struct_B.pack(self.action_feedback.status.status)) 00242 _x = self.action_feedback.status.text 00243 length = len(_x) 00244 buff.write(struct.pack('<I%ss'%length, length, _x)) 00245 except struct.error as se: self._check_types(se) 00246 except TypeError as te: self._check_types(te) 00247 00248 def deserialize(self, str): 00249 """ 00250 unpack serialized message in str into this message instance 00251 @param str: byte array of serialized message 00252 @type str: str 00253 """ 00254 try: 00255 if self.action_goal is None: 00256 self.action_goal = pr2_object_manipulation_msgs.msg.GetPoseActionGoal() 00257 if self.action_result is None: 00258 self.action_result = pr2_object_manipulation_msgs.msg.GetPoseActionResult() 00259 if self.action_feedback is None: 00260 self.action_feedback = pr2_object_manipulation_msgs.msg.GetPoseActionFeedback() 00261 end = 0 00262 _x = self 00263 start = end 00264 end += 12 00265 (_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end]) 00266 start = end 00267 end += 4 00268 (length,) = _struct_I.unpack(str[start:end]) 00269 start = end 00270 end += length 00271 self.action_goal.header.frame_id = str[start:end] 00272 _x = self 00273 start = end 00274 end += 8 00275 (_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end]) 00276 start = end 00277 end += 4 00278 (length,) = _struct_I.unpack(str[start:end]) 00279 start = end 00280 end += length 00281 self.action_goal.goal_id.id = str[start:end] 00282 _x = self 00283 start = end 00284 end += 12 00285 (_x.action_goal.goal.starting_pose.header.seq, _x.action_goal.goal.starting_pose.header.stamp.secs, _x.action_goal.goal.starting_pose.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end]) 00286 start = end 00287 end += 4 00288 (length,) = _struct_I.unpack(str[start:end]) 00289 start = end 00290 end += length 00291 self.action_goal.goal.starting_pose.header.frame_id = str[start:end] 00292 _x = self 00293 start = end 00294 end += 68 00295 (_x.action_goal.goal.starting_pose.pose.position.x, _x.action_goal.goal.starting_pose.pose.position.y, _x.action_goal.goal.starting_pose.pose.position.z, _x.action_goal.goal.starting_pose.pose.orientation.x, _x.action_goal.goal.starting_pose.pose.orientation.y, _x.action_goal.goal.starting_pose.pose.orientation.z, _x.action_goal.goal.starting_pose.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]) 00296 start = end 00297 end += 4 00298 (length,) = _struct_I.unpack(str[start:end]) 00299 start = end 00300 end += length 00301 self.action_result.header.frame_id = str[start:end] 00302 _x = self 00303 start = end 00304 end += 8 00305 (_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end]) 00306 start = end 00307 end += 4 00308 (length,) = _struct_I.unpack(str[start:end]) 00309 start = end 00310 end += length 00311 self.action_result.status.goal_id.id = str[start:end] 00312 start = end 00313 end += 1 00314 (self.action_result.status.status,) = _struct_B.unpack(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.status.text = str[start:end] 00321 _x = self 00322 start = end 00323 end += 12 00324 (_x.action_result.result.pose.header.seq, _x.action_result.result.pose.header.stamp.secs, _x.action_result.result.pose.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_result.result.pose.header.frame_id = str[start:end] 00331 _x = self 00332 start = end 00333 end += 68 00334 (_x.action_result.result.pose.pose.position.x, _x.action_result.result.pose.pose.position.y, _x.action_result.result.pose.pose.position.z, _x.action_result.result.pose.pose.orientation.x, _x.action_result.result.pose.pose.orientation.y, _x.action_result.result.pose.pose.orientation.z, _x.action_result.result.pose.pose.orientation.w, _x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs,) = _struct_7d3I.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.header.frame_id = str[start:end] 00341 _x = self 00342 start = end 00343 end += 8 00344 (_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end]) 00345 start = end 00346 end += 4 00347 (length,) = _struct_I.unpack(str[start:end]) 00348 start = end 00349 end += length 00350 self.action_feedback.status.goal_id.id = str[start:end] 00351 start = end 00352 end += 1 00353 (self.action_feedback.status.status,) = _struct_B.unpack(str[start:end]) 00354 start = end 00355 end += 4 00356 (length,) = _struct_I.unpack(str[start:end]) 00357 start = end 00358 end += length 00359 self.action_feedback.status.text = str[start:end] 00360 return self 00361 except struct.error as e: 00362 raise roslib.message.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 00369 @type buff: StringIO 00370 @param numpy: numpy python module 00371 @type numpy module 00372 """ 00373 try: 00374 _x = self 00375 buff.write(_struct_3I.pack(_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs)) 00376 _x = self.action_goal.header.frame_id 00377 length = len(_x) 00378 buff.write(struct.pack('<I%ss'%length, length, _x)) 00379 _x = self 00380 buff.write(_struct_2I.pack(_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs)) 00381 _x = self.action_goal.goal_id.id 00382 length = len(_x) 00383 buff.write(struct.pack('<I%ss'%length, length, _x)) 00384 _x = self 00385 buff.write(_struct_3I.pack(_x.action_goal.goal.starting_pose.header.seq, _x.action_goal.goal.starting_pose.header.stamp.secs, _x.action_goal.goal.starting_pose.header.stamp.nsecs)) 00386 _x = self.action_goal.goal.starting_pose.header.frame_id 00387 length = len(_x) 00388 buff.write(struct.pack('<I%ss'%length, length, _x)) 00389 _x = self 00390 buff.write(_struct_7d3I.pack(_x.action_goal.goal.starting_pose.pose.position.x, _x.action_goal.goal.starting_pose.pose.position.y, _x.action_goal.goal.starting_pose.pose.position.z, _x.action_goal.goal.starting_pose.pose.orientation.x, _x.action_goal.goal.starting_pose.pose.orientation.y, _x.action_goal.goal.starting_pose.pose.orientation.z, _x.action_goal.goal.starting_pose.pose.orientation.w, _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 buff.write(struct.pack('<I%ss'%length, length, _x)) 00394 _x = self 00395 buff.write(_struct_2I.pack(_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs)) 00396 _x = self.action_result.status.goal_id.id 00397 length = len(_x) 00398 buff.write(struct.pack('<I%ss'%length, length, _x)) 00399 buff.write(_struct_B.pack(self.action_result.status.status)) 00400 _x = self.action_result.status.text 00401 length = len(_x) 00402 buff.write(struct.pack('<I%ss'%length, length, _x)) 00403 _x = self 00404 buff.write(_struct_3I.pack(_x.action_result.result.pose.header.seq, _x.action_result.result.pose.header.stamp.secs, _x.action_result.result.pose.header.stamp.nsecs)) 00405 _x = self.action_result.result.pose.header.frame_id 00406 length = len(_x) 00407 buff.write(struct.pack('<I%ss'%length, length, _x)) 00408 _x = self 00409 buff.write(_struct_7d3I.pack(_x.action_result.result.pose.pose.position.x, _x.action_result.result.pose.pose.position.y, _x.action_result.result.pose.pose.position.z, _x.action_result.result.pose.pose.orientation.x, _x.action_result.result.pose.pose.orientation.y, _x.action_result.result.pose.pose.orientation.z, _x.action_result.result.pose.pose.orientation.w, _x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs)) 00410 _x = self.action_feedback.header.frame_id 00411 length = len(_x) 00412 buff.write(struct.pack('<I%ss'%length, length, _x)) 00413 _x = self 00414 buff.write(_struct_2I.pack(_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs)) 00415 _x = self.action_feedback.status.goal_id.id 00416 length = len(_x) 00417 buff.write(struct.pack('<I%ss'%length, length, _x)) 00418 buff.write(_struct_B.pack(self.action_feedback.status.status)) 00419 _x = self.action_feedback.status.text 00420 length = len(_x) 00421 buff.write(struct.pack('<I%ss'%length, length, _x)) 00422 except struct.error as se: self._check_types(se) 00423 except TypeError as te: self._check_types(te) 00424 00425 def deserialize_numpy(self, str, numpy): 00426 """ 00427 unpack serialized message in str into this message instance using numpy for array types 00428 @param str: byte array of serialized message 00429 @type str: str 00430 @param numpy: numpy python module 00431 @type numpy: module 00432 """ 00433 try: 00434 if self.action_goal is None: 00435 self.action_goal = pr2_object_manipulation_msgs.msg.GetPoseActionGoal() 00436 if self.action_result is None: 00437 self.action_result = pr2_object_manipulation_msgs.msg.GetPoseActionResult() 00438 if self.action_feedback is None: 00439 self.action_feedback = pr2_object_manipulation_msgs.msg.GetPoseActionFeedback() 00440 end = 0 00441 _x = self 00442 start = end 00443 end += 12 00444 (_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end]) 00445 start = end 00446 end += 4 00447 (length,) = _struct_I.unpack(str[start:end]) 00448 start = end 00449 end += length 00450 self.action_goal.header.frame_id = str[start:end] 00451 _x = self 00452 start = end 00453 end += 8 00454 (_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end]) 00455 start = end 00456 end += 4 00457 (length,) = _struct_I.unpack(str[start:end]) 00458 start = end 00459 end += length 00460 self.action_goal.goal_id.id = str[start:end] 00461 _x = self 00462 start = end 00463 end += 12 00464 (_x.action_goal.goal.starting_pose.header.seq, _x.action_goal.goal.starting_pose.header.stamp.secs, _x.action_goal.goal.starting_pose.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end]) 00465 start = end 00466 end += 4 00467 (length,) = _struct_I.unpack(str[start:end]) 00468 start = end 00469 end += length 00470 self.action_goal.goal.starting_pose.header.frame_id = str[start:end] 00471 _x = self 00472 start = end 00473 end += 68 00474 (_x.action_goal.goal.starting_pose.pose.position.x, _x.action_goal.goal.starting_pose.pose.position.y, _x.action_goal.goal.starting_pose.pose.position.z, _x.action_goal.goal.starting_pose.pose.orientation.x, _x.action_goal.goal.starting_pose.pose.orientation.y, _x.action_goal.goal.starting_pose.pose.orientation.z, _x.action_goal.goal.starting_pose.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]) 00475 start = end 00476 end += 4 00477 (length,) = _struct_I.unpack(str[start:end]) 00478 start = end 00479 end += length 00480 self.action_result.header.frame_id = str[start:end] 00481 _x = self 00482 start = end 00483 end += 8 00484 (_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end]) 00485 start = end 00486 end += 4 00487 (length,) = _struct_I.unpack(str[start:end]) 00488 start = end 00489 end += length 00490 self.action_result.status.goal_id.id = str[start:end] 00491 start = end 00492 end += 1 00493 (self.action_result.status.status,) = _struct_B.unpack(str[start:end]) 00494 start = end 00495 end += 4 00496 (length,) = _struct_I.unpack(str[start:end]) 00497 start = end 00498 end += length 00499 self.action_result.status.text = str[start:end] 00500 _x = self 00501 start = end 00502 end += 12 00503 (_x.action_result.result.pose.header.seq, _x.action_result.result.pose.header.stamp.secs, _x.action_result.result.pose.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end]) 00504 start = end 00505 end += 4 00506 (length,) = _struct_I.unpack(str[start:end]) 00507 start = end 00508 end += length 00509 self.action_result.result.pose.header.frame_id = str[start:end] 00510 _x = self 00511 start = end 00512 end += 68 00513 (_x.action_result.result.pose.pose.position.x, _x.action_result.result.pose.pose.position.y, _x.action_result.result.pose.pose.position.z, _x.action_result.result.pose.pose.orientation.x, _x.action_result.result.pose.pose.orientation.y, _x.action_result.result.pose.pose.orientation.z, _x.action_result.result.pose.pose.orientation.w, _x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs,) = _struct_7d3I.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 self.action_feedback.header.frame_id = str[start:end] 00520 _x = self 00521 start = end 00522 end += 8 00523 (_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end]) 00524 start = end 00525 end += 4 00526 (length,) = _struct_I.unpack(str[start:end]) 00527 start = end 00528 end += length 00529 self.action_feedback.status.goal_id.id = str[start:end] 00530 start = end 00531 end += 1 00532 (self.action_feedback.status.status,) = _struct_B.unpack(str[start:end]) 00533 start = end 00534 end += 4 00535 (length,) = _struct_I.unpack(str[start:end]) 00536 start = end 00537 end += length 00538 self.action_feedback.status.text = str[start:end] 00539 return self 00540 except struct.error as e: 00541 raise roslib.message.DeserializationError(e) #most likely buffer underfill 00542 00543 _struct_I = roslib.message.struct_I 00544 _struct_3I = struct.Struct("<3I") 00545 _struct_B = struct.Struct("<B") 00546 _struct_2I = struct.Struct("<2I") 00547 _struct_7d3I = struct.Struct("<7d3I")