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