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