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