00001 """autogenerated by genpy from pr2_object_manipulation_msgs/PoseStampedScriptedAction.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 pr2_object_manipulation_msgs.msg
00008 import geometry_msgs.msg
00009 import genpy
00010 import actionlib_msgs.msg
00011 import std_msgs.msg
00012
00013 class PoseStampedScriptedAction(genpy.Message):
00014 _md5sum = "f5b5ac7df3511293339ae8166bd01210"
00015 _type = "pr2_object_manipulation_msgs/PoseStampedScriptedAction"
00016 _has_header = False
00017 _full_text = """# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00018
00019 PoseStampedScriptedActionGoal action_goal
00020 PoseStampedScriptedActionResult action_result
00021 PoseStampedScriptedActionFeedback action_feedback
00022
00023 ================================================================================
00024 MSG: pr2_object_manipulation_msgs/PoseStampedScriptedActionGoal
00025 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00026
00027 Header header
00028 actionlib_msgs/GoalID goal_id
00029 PoseStampedScriptedGoal 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: pr2_object_manipulation_msgs/PoseStampedScriptedGoal
00064 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00065 geometry_msgs/PoseStamped pose_stamped
00066
00067
00068 ================================================================================
00069 MSG: geometry_msgs/PoseStamped
00070 # A Pose with reference coordinate frame and timestamp
00071 Header header
00072 Pose pose
00073
00074 ================================================================================
00075 MSG: geometry_msgs/Pose
00076 # A representation of pose in free space, composed of postion and orientation.
00077 Point position
00078 Quaternion orientation
00079
00080 ================================================================================
00081 MSG: geometry_msgs/Point
00082 # This contains the position of a point in free space
00083 float64 x
00084 float64 y
00085 float64 z
00086
00087 ================================================================================
00088 MSG: geometry_msgs/Quaternion
00089 # This represents an orientation in free space in quaternion form.
00090
00091 float64 x
00092 float64 y
00093 float64 z
00094 float64 w
00095
00096 ================================================================================
00097 MSG: pr2_object_manipulation_msgs/PoseStampedScriptedActionResult
00098 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00099
00100 Header header
00101 actionlib_msgs/GoalStatus status
00102 PoseStampedScriptedResult result
00103
00104 ================================================================================
00105 MSG: actionlib_msgs/GoalStatus
00106 GoalID goal_id
00107 uint8 status
00108 uint8 PENDING = 0 # The goal has yet to be processed by the action server
00109 uint8 ACTIVE = 1 # The goal is currently being processed by the action server
00110 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing
00111 # and has since completed its execution (Terminal State)
00112 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)
00113 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due
00114 # to some failure (Terminal State)
00115 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,
00116 # because the goal was unattainable or invalid (Terminal State)
00117 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing
00118 # and has not yet completed execution
00119 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,
00120 # but the action server has not yet confirmed that the goal is canceled
00121 uint8 RECALLED = 8 # The goal received a cancel request before it started executing
00122 # and was successfully cancelled (Terminal State)
00123 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be
00124 # sent over the wire by an action server
00125
00126 #Allow for the user to associate a string with GoalStatus for debugging
00127 string text
00128
00129
00130 ================================================================================
00131 MSG: pr2_object_manipulation_msgs/PoseStampedScriptedResult
00132 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00133
00134 string result
00135
00136
00137 ================================================================================
00138 MSG: pr2_object_manipulation_msgs/PoseStampedScriptedActionFeedback
00139 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00140
00141 Header header
00142 actionlib_msgs/GoalStatus status
00143 PoseStampedScriptedFeedback feedback
00144
00145 ================================================================================
00146 MSG: pr2_object_manipulation_msgs/PoseStampedScriptedFeedback
00147 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00148
00149
00150 """
00151 __slots__ = ['action_goal','action_result','action_feedback']
00152 _slot_types = ['pr2_object_manipulation_msgs/PoseStampedScriptedActionGoal','pr2_object_manipulation_msgs/PoseStampedScriptedActionResult','pr2_object_manipulation_msgs/PoseStampedScriptedActionFeedback']
00153
00154 def __init__(self, *args, **kwds):
00155 """
00156 Constructor. Any message fields that are implicitly/explicitly
00157 set to None will be assigned a default value. The recommend
00158 use is keyword arguments as this is more robust to future message
00159 changes. You cannot mix in-order arguments and keyword arguments.
00160
00161 The available fields are:
00162 action_goal,action_result,action_feedback
00163
00164 :param args: complete set of field values, in .msg order
00165 :param kwds: use keyword arguments corresponding to message field names
00166 to set specific fields.
00167 """
00168 if args or kwds:
00169 super(PoseStampedScriptedAction, self).__init__(*args, **kwds)
00170
00171 if self.action_goal is None:
00172 self.action_goal = pr2_object_manipulation_msgs.msg.PoseStampedScriptedActionGoal()
00173 if self.action_result is None:
00174 self.action_result = pr2_object_manipulation_msgs.msg.PoseStampedScriptedActionResult()
00175 if self.action_feedback is None:
00176 self.action_feedback = pr2_object_manipulation_msgs.msg.PoseStampedScriptedActionFeedback()
00177 else:
00178 self.action_goal = pr2_object_manipulation_msgs.msg.PoseStampedScriptedActionGoal()
00179 self.action_result = pr2_object_manipulation_msgs.msg.PoseStampedScriptedActionResult()
00180 self.action_feedback = pr2_object_manipulation_msgs.msg.PoseStampedScriptedActionFeedback()
00181
00182 def _get_types(self):
00183 """
00184 internal API method
00185 """
00186 return self._slot_types
00187
00188 def serialize(self, buff):
00189 """
00190 serialize message into buffer
00191 :param buff: buffer, ``StringIO``
00192 """
00193 try:
00194 _x = self
00195 buff.write(_struct_3I.pack(_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs))
00196 _x = self.action_goal.header.frame_id
00197 length = len(_x)
00198 if python3 or type(_x) == unicode:
00199 _x = _x.encode('utf-8')
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 if python3 or type(_x) == unicode:
00207 _x = _x.encode('utf-8')
00208 length = len(_x)
00209 buff.write(struct.pack('<I%ss'%length, length, _x))
00210 _x = self
00211 buff.write(_struct_3I.pack(_x.action_goal.goal.pose_stamped.header.seq, _x.action_goal.goal.pose_stamped.header.stamp.secs, _x.action_goal.goal.pose_stamped.header.stamp.nsecs))
00212 _x = self.action_goal.goal.pose_stamped.header.frame_id
00213 length = len(_x)
00214 if python3 or type(_x) == unicode:
00215 _x = _x.encode('utf-8')
00216 length = len(_x)
00217 buff.write(struct.pack('<I%ss'%length, length, _x))
00218 _x = self
00219 buff.write(_struct_7d3I.pack(_x.action_goal.goal.pose_stamped.pose.position.x, _x.action_goal.goal.pose_stamped.pose.position.y, _x.action_goal.goal.pose_stamped.pose.position.z, _x.action_goal.goal.pose_stamped.pose.orientation.x, _x.action_goal.goal.pose_stamped.pose.orientation.y, _x.action_goal.goal.pose_stamped.pose.orientation.z, _x.action_goal.goal.pose_stamped.pose.orientation.w, _x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs))
00220 _x = self.action_result.header.frame_id
00221 length = len(_x)
00222 if python3 or type(_x) == unicode:
00223 _x = _x.encode('utf-8')
00224 length = len(_x)
00225 buff.write(struct.pack('<I%ss'%length, length, _x))
00226 _x = self
00227 buff.write(_struct_2I.pack(_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs))
00228 _x = self.action_result.status.goal_id.id
00229 length = len(_x)
00230 if python3 or type(_x) == unicode:
00231 _x = _x.encode('utf-8')
00232 length = len(_x)
00233 buff.write(struct.pack('<I%ss'%length, length, _x))
00234 buff.write(_struct_B.pack(self.action_result.status.status))
00235 _x = self.action_result.status.text
00236 length = len(_x)
00237 if python3 or type(_x) == unicode:
00238 _x = _x.encode('utf-8')
00239 length = len(_x)
00240 buff.write(struct.pack('<I%ss'%length, length, _x))
00241 _x = self.action_result.result.result
00242 length = len(_x)
00243 if python3 or type(_x) == unicode:
00244 _x = _x.encode('utf-8')
00245 length = len(_x)
00246 buff.write(struct.pack('<I%ss'%length, length, _x))
00247 _x = self
00248 buff.write(_struct_3I.pack(_x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs))
00249 _x = self.action_feedback.header.frame_id
00250 length = len(_x)
00251 if python3 or type(_x) == unicode:
00252 _x = _x.encode('utf-8')
00253 length = len(_x)
00254 buff.write(struct.pack('<I%ss'%length, length, _x))
00255 _x = self
00256 buff.write(_struct_2I.pack(_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs))
00257 _x = self.action_feedback.status.goal_id.id
00258 length = len(_x)
00259 if python3 or type(_x) == unicode:
00260 _x = _x.encode('utf-8')
00261 length = len(_x)
00262 buff.write(struct.pack('<I%ss'%length, length, _x))
00263 buff.write(_struct_B.pack(self.action_feedback.status.status))
00264 _x = self.action_feedback.status.text
00265 length = len(_x)
00266 if python3 or type(_x) == unicode:
00267 _x = _x.encode('utf-8')
00268 length = len(_x)
00269 buff.write(struct.pack('<I%ss'%length, length, _x))
00270 except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(_x))))
00271 except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(_x))))
00272
00273 def deserialize(self, str):
00274 """
00275 unpack serialized message in str into this message instance
00276 :param str: byte array of serialized message, ``str``
00277 """
00278 try:
00279 if self.action_goal is None:
00280 self.action_goal = pr2_object_manipulation_msgs.msg.PoseStampedScriptedActionGoal()
00281 if self.action_result is None:
00282 self.action_result = pr2_object_manipulation_msgs.msg.PoseStampedScriptedActionResult()
00283 if self.action_feedback is None:
00284 self.action_feedback = pr2_object_manipulation_msgs.msg.PoseStampedScriptedActionFeedback()
00285 end = 0
00286 _x = self
00287 start = end
00288 end += 12
00289 (_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
00290 start = end
00291 end += 4
00292 (length,) = _struct_I.unpack(str[start:end])
00293 start = end
00294 end += length
00295 if python3:
00296 self.action_goal.header.frame_id = str[start:end].decode('utf-8')
00297 else:
00298 self.action_goal.header.frame_id = str[start:end]
00299 _x = self
00300 start = end
00301 end += 8
00302 (_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00303 start = end
00304 end += 4
00305 (length,) = _struct_I.unpack(str[start:end])
00306 start = end
00307 end += length
00308 if python3:
00309 self.action_goal.goal_id.id = str[start:end].decode('utf-8')
00310 else:
00311 self.action_goal.goal_id.id = str[start:end]
00312 _x = self
00313 start = end
00314 end += 12
00315 (_x.action_goal.goal.pose_stamped.header.seq, _x.action_goal.goal.pose_stamped.header.stamp.secs, _x.action_goal.goal.pose_stamped.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
00316 start = end
00317 end += 4
00318 (length,) = _struct_I.unpack(str[start:end])
00319 start = end
00320 end += length
00321 if python3:
00322 self.action_goal.goal.pose_stamped.header.frame_id = str[start:end].decode('utf-8')
00323 else:
00324 self.action_goal.goal.pose_stamped.header.frame_id = str[start:end]
00325 _x = self
00326 start = end
00327 end += 68
00328 (_x.action_goal.goal.pose_stamped.pose.position.x, _x.action_goal.goal.pose_stamped.pose.position.y, _x.action_goal.goal.pose_stamped.pose.position.z, _x.action_goal.goal.pose_stamped.pose.orientation.x, _x.action_goal.goal.pose_stamped.pose.orientation.y, _x.action_goal.goal.pose_stamped.pose.orientation.z, _x.action_goal.goal.pose_stamped.pose.orientation.w, _x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs,) = _struct_7d3I.unpack(str[start:end])
00329 start = end
00330 end += 4
00331 (length,) = _struct_I.unpack(str[start:end])
00332 start = end
00333 end += length
00334 if python3:
00335 self.action_result.header.frame_id = str[start:end].decode('utf-8')
00336 else:
00337 self.action_result.header.frame_id = str[start:end]
00338 _x = self
00339 start = end
00340 end += 8
00341 (_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00342 start = end
00343 end += 4
00344 (length,) = _struct_I.unpack(str[start:end])
00345 start = end
00346 end += length
00347 if python3:
00348 self.action_result.status.goal_id.id = str[start:end].decode('utf-8')
00349 else:
00350 self.action_result.status.goal_id.id = str[start:end]
00351 start = end
00352 end += 1
00353 (self.action_result.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 if python3:
00360 self.action_result.status.text = str[start:end].decode('utf-8')
00361 else:
00362 self.action_result.status.text = str[start:end]
00363 start = end
00364 end += 4
00365 (length,) = _struct_I.unpack(str[start:end])
00366 start = end
00367 end += length
00368 if python3:
00369 self.action_result.result.result = str[start:end].decode('utf-8')
00370 else:
00371 self.action_result.result.result = str[start:end]
00372 _x = self
00373 start = end
00374 end += 12
00375 (_x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
00376 start = end
00377 end += 4
00378 (length,) = _struct_I.unpack(str[start:end])
00379 start = end
00380 end += length
00381 if python3:
00382 self.action_feedback.header.frame_id = str[start:end].decode('utf-8')
00383 else:
00384 self.action_feedback.header.frame_id = str[start:end]
00385 _x = self
00386 start = end
00387 end += 8
00388 (_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00389 start = end
00390 end += 4
00391 (length,) = _struct_I.unpack(str[start:end])
00392 start = end
00393 end += length
00394 if python3:
00395 self.action_feedback.status.goal_id.id = str[start:end].decode('utf-8')
00396 else:
00397 self.action_feedback.status.goal_id.id = str[start:end]
00398 start = end
00399 end += 1
00400 (self.action_feedback.status.status,) = _struct_B.unpack(str[start:end])
00401 start = end
00402 end += 4
00403 (length,) = _struct_I.unpack(str[start:end])
00404 start = end
00405 end += length
00406 if python3:
00407 self.action_feedback.status.text = str[start:end].decode('utf-8')
00408 else:
00409 self.action_feedback.status.text = str[start:end]
00410 return self
00411 except struct.error as e:
00412 raise genpy.DeserializationError(e)
00413
00414
00415 def serialize_numpy(self, buff, numpy):
00416 """
00417 serialize message with numpy array types into buffer
00418 :param buff: buffer, ``StringIO``
00419 :param numpy: numpy python module
00420 """
00421 try:
00422 _x = self
00423 buff.write(_struct_3I.pack(_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs))
00424 _x = self.action_goal.header.frame_id
00425 length = len(_x)
00426 if python3 or type(_x) == unicode:
00427 _x = _x.encode('utf-8')
00428 length = len(_x)
00429 buff.write(struct.pack('<I%ss'%length, length, _x))
00430 _x = self
00431 buff.write(_struct_2I.pack(_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs))
00432 _x = self.action_goal.goal_id.id
00433 length = len(_x)
00434 if python3 or type(_x) == unicode:
00435 _x = _x.encode('utf-8')
00436 length = len(_x)
00437 buff.write(struct.pack('<I%ss'%length, length, _x))
00438 _x = self
00439 buff.write(_struct_3I.pack(_x.action_goal.goal.pose_stamped.header.seq, _x.action_goal.goal.pose_stamped.header.stamp.secs, _x.action_goal.goal.pose_stamped.header.stamp.nsecs))
00440 _x = self.action_goal.goal.pose_stamped.header.frame_id
00441 length = len(_x)
00442 if python3 or type(_x) == unicode:
00443 _x = _x.encode('utf-8')
00444 length = len(_x)
00445 buff.write(struct.pack('<I%ss'%length, length, _x))
00446 _x = self
00447 buff.write(_struct_7d3I.pack(_x.action_goal.goal.pose_stamped.pose.position.x, _x.action_goal.goal.pose_stamped.pose.position.y, _x.action_goal.goal.pose_stamped.pose.position.z, _x.action_goal.goal.pose_stamped.pose.orientation.x, _x.action_goal.goal.pose_stamped.pose.orientation.y, _x.action_goal.goal.pose_stamped.pose.orientation.z, _x.action_goal.goal.pose_stamped.pose.orientation.w, _x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs))
00448 _x = self.action_result.header.frame_id
00449 length = len(_x)
00450 if python3 or type(_x) == unicode:
00451 _x = _x.encode('utf-8')
00452 length = len(_x)
00453 buff.write(struct.pack('<I%ss'%length, length, _x))
00454 _x = self
00455 buff.write(_struct_2I.pack(_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs))
00456 _x = self.action_result.status.goal_id.id
00457 length = len(_x)
00458 if python3 or type(_x) == unicode:
00459 _x = _x.encode('utf-8')
00460 length = len(_x)
00461 buff.write(struct.pack('<I%ss'%length, length, _x))
00462 buff.write(_struct_B.pack(self.action_result.status.status))
00463 _x = self.action_result.status.text
00464 length = len(_x)
00465 if python3 or type(_x) == unicode:
00466 _x = _x.encode('utf-8')
00467 length = len(_x)
00468 buff.write(struct.pack('<I%ss'%length, length, _x))
00469 _x = self.action_result.result.result
00470 length = len(_x)
00471 if python3 or type(_x) == unicode:
00472 _x = _x.encode('utf-8')
00473 length = len(_x)
00474 buff.write(struct.pack('<I%ss'%length, length, _x))
00475 _x = self
00476 buff.write(_struct_3I.pack(_x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs))
00477 _x = self.action_feedback.header.frame_id
00478 length = len(_x)
00479 if python3 or type(_x) == unicode:
00480 _x = _x.encode('utf-8')
00481 length = len(_x)
00482 buff.write(struct.pack('<I%ss'%length, length, _x))
00483 _x = self
00484 buff.write(_struct_2I.pack(_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs))
00485 _x = self.action_feedback.status.goal_id.id
00486 length = len(_x)
00487 if python3 or type(_x) == unicode:
00488 _x = _x.encode('utf-8')
00489 length = len(_x)
00490 buff.write(struct.pack('<I%ss'%length, length, _x))
00491 buff.write(_struct_B.pack(self.action_feedback.status.status))
00492 _x = self.action_feedback.status.text
00493 length = len(_x)
00494 if python3 or type(_x) == unicode:
00495 _x = _x.encode('utf-8')
00496 length = len(_x)
00497 buff.write(struct.pack('<I%ss'%length, length, _x))
00498 except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(_x))))
00499 except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(_x))))
00500
00501 def deserialize_numpy(self, str, numpy):
00502 """
00503 unpack serialized message in str into this message instance using numpy for array types
00504 :param str: byte array of serialized message, ``str``
00505 :param numpy: numpy python module
00506 """
00507 try:
00508 if self.action_goal is None:
00509 self.action_goal = pr2_object_manipulation_msgs.msg.PoseStampedScriptedActionGoal()
00510 if self.action_result is None:
00511 self.action_result = pr2_object_manipulation_msgs.msg.PoseStampedScriptedActionResult()
00512 if self.action_feedback is None:
00513 self.action_feedback = pr2_object_manipulation_msgs.msg.PoseStampedScriptedActionFeedback()
00514 end = 0
00515 _x = self
00516 start = end
00517 end += 12
00518 (_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
00519 start = end
00520 end += 4
00521 (length,) = _struct_I.unpack(str[start:end])
00522 start = end
00523 end += length
00524 if python3:
00525 self.action_goal.header.frame_id = str[start:end].decode('utf-8')
00526 else:
00527 self.action_goal.header.frame_id = str[start:end]
00528 _x = self
00529 start = end
00530 end += 8
00531 (_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00532 start = end
00533 end += 4
00534 (length,) = _struct_I.unpack(str[start:end])
00535 start = end
00536 end += length
00537 if python3:
00538 self.action_goal.goal_id.id = str[start:end].decode('utf-8')
00539 else:
00540 self.action_goal.goal_id.id = str[start:end]
00541 _x = self
00542 start = end
00543 end += 12
00544 (_x.action_goal.goal.pose_stamped.header.seq, _x.action_goal.goal.pose_stamped.header.stamp.secs, _x.action_goal.goal.pose_stamped.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
00545 start = end
00546 end += 4
00547 (length,) = _struct_I.unpack(str[start:end])
00548 start = end
00549 end += length
00550 if python3:
00551 self.action_goal.goal.pose_stamped.header.frame_id = str[start:end].decode('utf-8')
00552 else:
00553 self.action_goal.goal.pose_stamped.header.frame_id = str[start:end]
00554 _x = self
00555 start = end
00556 end += 68
00557 (_x.action_goal.goal.pose_stamped.pose.position.x, _x.action_goal.goal.pose_stamped.pose.position.y, _x.action_goal.goal.pose_stamped.pose.position.z, _x.action_goal.goal.pose_stamped.pose.orientation.x, _x.action_goal.goal.pose_stamped.pose.orientation.y, _x.action_goal.goal.pose_stamped.pose.orientation.z, _x.action_goal.goal.pose_stamped.pose.orientation.w, _x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs,) = _struct_7d3I.unpack(str[start:end])
00558 start = end
00559 end += 4
00560 (length,) = _struct_I.unpack(str[start:end])
00561 start = end
00562 end += length
00563 if python3:
00564 self.action_result.header.frame_id = str[start:end].decode('utf-8')
00565 else:
00566 self.action_result.header.frame_id = str[start:end]
00567 _x = self
00568 start = end
00569 end += 8
00570 (_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00571 start = end
00572 end += 4
00573 (length,) = _struct_I.unpack(str[start:end])
00574 start = end
00575 end += length
00576 if python3:
00577 self.action_result.status.goal_id.id = str[start:end].decode('utf-8')
00578 else:
00579 self.action_result.status.goal_id.id = str[start:end]
00580 start = end
00581 end += 1
00582 (self.action_result.status.status,) = _struct_B.unpack(str[start:end])
00583 start = end
00584 end += 4
00585 (length,) = _struct_I.unpack(str[start:end])
00586 start = end
00587 end += length
00588 if python3:
00589 self.action_result.status.text = str[start:end].decode('utf-8')
00590 else:
00591 self.action_result.status.text = str[start:end]
00592 start = end
00593 end += 4
00594 (length,) = _struct_I.unpack(str[start:end])
00595 start = end
00596 end += length
00597 if python3:
00598 self.action_result.result.result = str[start:end].decode('utf-8')
00599 else:
00600 self.action_result.result.result = str[start:end]
00601 _x = self
00602 start = end
00603 end += 12
00604 (_x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
00605 start = end
00606 end += 4
00607 (length,) = _struct_I.unpack(str[start:end])
00608 start = end
00609 end += length
00610 if python3:
00611 self.action_feedback.header.frame_id = str[start:end].decode('utf-8')
00612 else:
00613 self.action_feedback.header.frame_id = str[start:end]
00614 _x = self
00615 start = end
00616 end += 8
00617 (_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00618 start = end
00619 end += 4
00620 (length,) = _struct_I.unpack(str[start:end])
00621 start = end
00622 end += length
00623 if python3:
00624 self.action_feedback.status.goal_id.id = str[start:end].decode('utf-8')
00625 else:
00626 self.action_feedback.status.goal_id.id = str[start:end]
00627 start = end
00628 end += 1
00629 (self.action_feedback.status.status,) = _struct_B.unpack(str[start:end])
00630 start = end
00631 end += 4
00632 (length,) = _struct_I.unpack(str[start:end])
00633 start = end
00634 end += length
00635 if python3:
00636 self.action_feedback.status.text = str[start:end].decode('utf-8')
00637 else:
00638 self.action_feedback.status.text = str[start:end]
00639 return self
00640 except struct.error as e:
00641 raise genpy.DeserializationError(e)
00642
00643 _struct_I = genpy.struct_I
00644 _struct_3I = struct.Struct("<3I")
00645 _struct_B = struct.Struct("<B")
00646 _struct_2I = struct.Struct("<2I")
00647 _struct_7d3I = struct.Struct("<7d3I")