00001 """autogenerated by genpy from object_manipulation_msgs/PlaceActionResult.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 object_manipulation_msgs.msg
00009 import genpy
00010 import actionlib_msgs.msg
00011 import std_msgs.msg
00012
00013 class PlaceActionResult(genpy.Message):
00014 _md5sum = "df8a4d17f57aaf41c7039f0808224d11"
00015 _type = "object_manipulation_msgs/PlaceActionResult"
00016 _has_header = True
00017 _full_text = """# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00018
00019 Header header
00020 actionlib_msgs/GoalStatus status
00021 PlaceResult result
00022
00023 ================================================================================
00024 MSG: std_msgs/Header
00025 # Standard metadata for higher-level stamped data types.
00026 # This is generally used to communicate timestamped data
00027 # in a particular coordinate frame.
00028 #
00029 # sequence ID: consecutively increasing ID
00030 uint32 seq
00031 #Two-integer timestamp that is expressed as:
00032 # * stamp.secs: seconds (stamp_secs) since epoch
00033 # * stamp.nsecs: nanoseconds since stamp_secs
00034 # time-handling sugar is provided by the client library
00035 time stamp
00036 #Frame this data is associated with
00037 # 0: no frame
00038 # 1: global frame
00039 string frame_id
00040
00041 ================================================================================
00042 MSG: actionlib_msgs/GoalStatus
00043 GoalID goal_id
00044 uint8 status
00045 uint8 PENDING = 0 # The goal has yet to be processed by the action server
00046 uint8 ACTIVE = 1 # The goal is currently being processed by the action server
00047 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing
00048 # and has since completed its execution (Terminal State)
00049 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)
00050 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due
00051 # to some failure (Terminal State)
00052 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,
00053 # because the goal was unattainable or invalid (Terminal State)
00054 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing
00055 # and has not yet completed execution
00056 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,
00057 # but the action server has not yet confirmed that the goal is canceled
00058 uint8 RECALLED = 8 # The goal received a cancel request before it started executing
00059 # and was successfully cancelled (Terminal State)
00060 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be
00061 # sent over the wire by an action server
00062
00063 #Allow for the user to associate a string with GoalStatus for debugging
00064 string text
00065
00066
00067 ================================================================================
00068 MSG: actionlib_msgs/GoalID
00069 # The stamp should store the time at which this goal was requested.
00070 # It is used by an action server when it tries to preempt all
00071 # goals that were requested before a certain time
00072 time stamp
00073
00074 # The id provides a way to associate feedback and
00075 # result message with specific goal requests. The id
00076 # specified must be unique.
00077 string id
00078
00079
00080 ================================================================================
00081 MSG: object_manipulation_msgs/PlaceResult
00082 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00083
00084 # The result of the pickup attempt
00085 ManipulationResult manipulation_result
00086
00087 # The successful place location, if any
00088 geometry_msgs/PoseStamped place_location
00089
00090 # the list of attempted locations, in the order in which they were attempted
00091 # the successful one should be the last one in this list
00092 geometry_msgs/PoseStamped[] attempted_locations
00093
00094 # the outcomes of the attempted locations, in the same order as attempted_locations
00095 PlaceLocationResult[] attempted_location_results
00096
00097
00098 ================================================================================
00099 MSG: object_manipulation_msgs/ManipulationResult
00100 # Result codes for manipulation tasks
00101
00102 # task completed as expected
00103 # generally means you can proceed as planned
00104 int32 SUCCESS = 1
00105
00106 # task not possible (e.g. out of reach or obstacles in the way)
00107 # generally means that the world was not disturbed, so you can try another task
00108 int32 UNFEASIBLE = -1
00109
00110 # task was thought possible, but failed due to unexpected events during execution
00111 # it is likely that the world was disturbed, so you are encouraged to refresh
00112 # your sensed world model before proceeding to another task
00113 int32 FAILED = -2
00114
00115 # a lower level error prevented task completion (e.g. joint controller not responding)
00116 # generally requires human attention
00117 int32 ERROR = -3
00118
00119 # means that at some point during execution we ended up in a state that the collision-aware
00120 # arm navigation module will not move out of. The world was likely not disturbed, but you
00121 # probably need a new collision map to move the arm out of the stuck position
00122 int32 ARM_MOVEMENT_PREVENTED = -4
00123
00124 # specific to grasp actions
00125 # the object was grasped successfully, but the lift attempt could not achieve the minimum lift distance requested
00126 # it is likely that the collision environment will see collisions between the hand/object and the support surface
00127 int32 LIFT_FAILED = -5
00128
00129 # specific to place actions
00130 # the object was placed successfully, but the retreat attempt could not achieve the minimum retreat distance requested
00131 # it is likely that the collision environment will see collisions between the hand and the object
00132 int32 RETREAT_FAILED = -6
00133
00134 # indicates that somewhere along the line a human said "wait, stop, this is bad, go back and do something else"
00135 int32 CANCELLED = -7
00136
00137 # the actual value of this error code
00138 int32 value
00139
00140 ================================================================================
00141 MSG: geometry_msgs/PoseStamped
00142 # A Pose with reference coordinate frame and timestamp
00143 Header header
00144 Pose pose
00145
00146 ================================================================================
00147 MSG: geometry_msgs/Pose
00148 # A representation of pose in free space, composed of postion and orientation.
00149 Point position
00150 Quaternion orientation
00151
00152 ================================================================================
00153 MSG: geometry_msgs/Point
00154 # This contains the position of a point in free space
00155 float64 x
00156 float64 y
00157 float64 z
00158
00159 ================================================================================
00160 MSG: geometry_msgs/Quaternion
00161 # This represents an orientation in free space in quaternion form.
00162
00163 float64 x
00164 float64 y
00165 float64 z
00166 float64 w
00167
00168 ================================================================================
00169 MSG: object_manipulation_msgs/PlaceLocationResult
00170 int32 SUCCESS = 1
00171 int32 PLACE_OUT_OF_REACH = 2
00172 int32 PLACE_IN_COLLISION = 3
00173 int32 PLACE_UNFEASIBLE = 4
00174 int32 PREPLACE_OUT_OF_REACH = 5
00175 int32 PREPLACE_IN_COLLISION = 6
00176 int32 PREPLACE_UNFEASIBLE = 7
00177 int32 RETREAT_OUT_OF_REACH = 8
00178 int32 RETREAT_IN_COLLISION = 9
00179 int32 RETREAT_UNFEASIBLE = 10
00180 int32 MOVE_ARM_FAILED = 11
00181 int32 PLACE_FAILED = 12
00182 int32 RETREAT_FAILED = 13
00183 int32 result_code
00184
00185 # whether the state of the world was disturbed by this attempt. generally, this flag
00186 # shows if another task can be attempted, or a new sensed world model is recommeded
00187 # before proceeding
00188 bool continuation_possible
00189
00190 """
00191 __slots__ = ['header','status','result']
00192 _slot_types = ['std_msgs/Header','actionlib_msgs/GoalStatus','object_manipulation_msgs/PlaceResult']
00193
00194 def __init__(self, *args, **kwds):
00195 """
00196 Constructor. Any message fields that are implicitly/explicitly
00197 set to None will be assigned a default value. The recommend
00198 use is keyword arguments as this is more robust to future message
00199 changes. You cannot mix in-order arguments and keyword arguments.
00200
00201 The available fields are:
00202 header,status,result
00203
00204 :param args: complete set of field values, in .msg order
00205 :param kwds: use keyword arguments corresponding to message field names
00206 to set specific fields.
00207 """
00208 if args or kwds:
00209 super(PlaceActionResult, self).__init__(*args, **kwds)
00210
00211 if self.header is None:
00212 self.header = std_msgs.msg.Header()
00213 if self.status is None:
00214 self.status = actionlib_msgs.msg.GoalStatus()
00215 if self.result is None:
00216 self.result = object_manipulation_msgs.msg.PlaceResult()
00217 else:
00218 self.header = std_msgs.msg.Header()
00219 self.status = actionlib_msgs.msg.GoalStatus()
00220 self.result = object_manipulation_msgs.msg.PlaceResult()
00221
00222 def _get_types(self):
00223 """
00224 internal API method
00225 """
00226 return self._slot_types
00227
00228 def serialize(self, buff):
00229 """
00230 serialize message into buffer
00231 :param buff: buffer, ``StringIO``
00232 """
00233 try:
00234 _x = self
00235 buff.write(_struct_3I.pack(_x.header.seq, _x.header.stamp.secs, _x.header.stamp.nsecs))
00236 _x = self.header.frame_id
00237 length = len(_x)
00238 if python3 or type(_x) == unicode:
00239 _x = _x.encode('utf-8')
00240 length = len(_x)
00241 buff.write(struct.pack('<I%ss'%length, length, _x))
00242 _x = self
00243 buff.write(_struct_2I.pack(_x.status.goal_id.stamp.secs, _x.status.goal_id.stamp.nsecs))
00244 _x = self.status.goal_id.id
00245 length = len(_x)
00246 if python3 or type(_x) == unicode:
00247 _x = _x.encode('utf-8')
00248 length = len(_x)
00249 buff.write(struct.pack('<I%ss'%length, length, _x))
00250 buff.write(_struct_B.pack(self.status.status))
00251 _x = self.status.text
00252 length = len(_x)
00253 if python3 or type(_x) == unicode:
00254 _x = _x.encode('utf-8')
00255 length = len(_x)
00256 buff.write(struct.pack('<I%ss'%length, length, _x))
00257 _x = self
00258 buff.write(_struct_i3I.pack(_x.result.manipulation_result.value, _x.result.place_location.header.seq, _x.result.place_location.header.stamp.secs, _x.result.place_location.header.stamp.nsecs))
00259 _x = self.result.place_location.header.frame_id
00260 length = len(_x)
00261 if python3 or type(_x) == unicode:
00262 _x = _x.encode('utf-8')
00263 length = len(_x)
00264 buff.write(struct.pack('<I%ss'%length, length, _x))
00265 _x = self
00266 buff.write(_struct_7d.pack(_x.result.place_location.pose.position.x, _x.result.place_location.pose.position.y, _x.result.place_location.pose.position.z, _x.result.place_location.pose.orientation.x, _x.result.place_location.pose.orientation.y, _x.result.place_location.pose.orientation.z, _x.result.place_location.pose.orientation.w))
00267 length = len(self.result.attempted_locations)
00268 buff.write(_struct_I.pack(length))
00269 for val1 in self.result.attempted_locations:
00270 _v1 = val1.header
00271 buff.write(_struct_I.pack(_v1.seq))
00272 _v2 = _v1.stamp
00273 _x = _v2
00274 buff.write(_struct_2I.pack(_x.secs, _x.nsecs))
00275 _x = _v1.frame_id
00276 length = len(_x)
00277 if python3 or type(_x) == unicode:
00278 _x = _x.encode('utf-8')
00279 length = len(_x)
00280 buff.write(struct.pack('<I%ss'%length, length, _x))
00281 _v3 = val1.pose
00282 _v4 = _v3.position
00283 _x = _v4
00284 buff.write(_struct_3d.pack(_x.x, _x.y, _x.z))
00285 _v5 = _v3.orientation
00286 _x = _v5
00287 buff.write(_struct_4d.pack(_x.x, _x.y, _x.z, _x.w))
00288 length = len(self.result.attempted_location_results)
00289 buff.write(_struct_I.pack(length))
00290 for val1 in self.result.attempted_location_results:
00291 _x = val1
00292 buff.write(_struct_iB.pack(_x.result_code, _x.continuation_possible))
00293 except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(_x))))
00294 except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(_x))))
00295
00296 def deserialize(self, str):
00297 """
00298 unpack serialized message in str into this message instance
00299 :param str: byte array of serialized message, ``str``
00300 """
00301 try:
00302 if self.header is None:
00303 self.header = std_msgs.msg.Header()
00304 if self.status is None:
00305 self.status = actionlib_msgs.msg.GoalStatus()
00306 if self.result is None:
00307 self.result = object_manipulation_msgs.msg.PlaceResult()
00308 end = 0
00309 _x = self
00310 start = end
00311 end += 12
00312 (_x.header.seq, _x.header.stamp.secs, _x.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
00313 start = end
00314 end += 4
00315 (length,) = _struct_I.unpack(str[start:end])
00316 start = end
00317 end += length
00318 if python3:
00319 self.header.frame_id = str[start:end].decode('utf-8')
00320 else:
00321 self.header.frame_id = str[start:end]
00322 _x = self
00323 start = end
00324 end += 8
00325 (_x.status.goal_id.stamp.secs, _x.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00326 start = end
00327 end += 4
00328 (length,) = _struct_I.unpack(str[start:end])
00329 start = end
00330 end += length
00331 if python3:
00332 self.status.goal_id.id = str[start:end].decode('utf-8')
00333 else:
00334 self.status.goal_id.id = str[start:end]
00335 start = end
00336 end += 1
00337 (self.status.status,) = _struct_B.unpack(str[start:end])
00338 start = end
00339 end += 4
00340 (length,) = _struct_I.unpack(str[start:end])
00341 start = end
00342 end += length
00343 if python3:
00344 self.status.text = str[start:end].decode('utf-8')
00345 else:
00346 self.status.text = str[start:end]
00347 _x = self
00348 start = end
00349 end += 16
00350 (_x.result.manipulation_result.value, _x.result.place_location.header.seq, _x.result.place_location.header.stamp.secs, _x.result.place_location.header.stamp.nsecs,) = _struct_i3I.unpack(str[start:end])
00351 start = end
00352 end += 4
00353 (length,) = _struct_I.unpack(str[start:end])
00354 start = end
00355 end += length
00356 if python3:
00357 self.result.place_location.header.frame_id = str[start:end].decode('utf-8')
00358 else:
00359 self.result.place_location.header.frame_id = str[start:end]
00360 _x = self
00361 start = end
00362 end += 56
00363 (_x.result.place_location.pose.position.x, _x.result.place_location.pose.position.y, _x.result.place_location.pose.position.z, _x.result.place_location.pose.orientation.x, _x.result.place_location.pose.orientation.y, _x.result.place_location.pose.orientation.z, _x.result.place_location.pose.orientation.w,) = _struct_7d.unpack(str[start:end])
00364 start = end
00365 end += 4
00366 (length,) = _struct_I.unpack(str[start:end])
00367 self.result.attempted_locations = []
00368 for i in range(0, length):
00369 val1 = geometry_msgs.msg.PoseStamped()
00370 _v6 = val1.header
00371 start = end
00372 end += 4
00373 (_v6.seq,) = _struct_I.unpack(str[start:end])
00374 _v7 = _v6.stamp
00375 _x = _v7
00376 start = end
00377 end += 8
00378 (_x.secs, _x.nsecs,) = _struct_2I.unpack(str[start:end])
00379 start = end
00380 end += 4
00381 (length,) = _struct_I.unpack(str[start:end])
00382 start = end
00383 end += length
00384 if python3:
00385 _v6.frame_id = str[start:end].decode('utf-8')
00386 else:
00387 _v6.frame_id = str[start:end]
00388 _v8 = val1.pose
00389 _v9 = _v8.position
00390 _x = _v9
00391 start = end
00392 end += 24
00393 (_x.x, _x.y, _x.z,) = _struct_3d.unpack(str[start:end])
00394 _v10 = _v8.orientation
00395 _x = _v10
00396 start = end
00397 end += 32
00398 (_x.x, _x.y, _x.z, _x.w,) = _struct_4d.unpack(str[start:end])
00399 self.result.attempted_locations.append(val1)
00400 start = end
00401 end += 4
00402 (length,) = _struct_I.unpack(str[start:end])
00403 self.result.attempted_location_results = []
00404 for i in range(0, length):
00405 val1 = object_manipulation_msgs.msg.PlaceLocationResult()
00406 _x = val1
00407 start = end
00408 end += 5
00409 (_x.result_code, _x.continuation_possible,) = _struct_iB.unpack(str[start:end])
00410 val1.continuation_possible = bool(val1.continuation_possible)
00411 self.result.attempted_location_results.append(val1)
00412 return self
00413 except struct.error as e:
00414 raise genpy.DeserializationError(e)
00415
00416
00417 def serialize_numpy(self, buff, numpy):
00418 """
00419 serialize message with numpy array types into buffer
00420 :param buff: buffer, ``StringIO``
00421 :param numpy: numpy python module
00422 """
00423 try:
00424 _x = self
00425 buff.write(_struct_3I.pack(_x.header.seq, _x.header.stamp.secs, _x.header.stamp.nsecs))
00426 _x = self.header.frame_id
00427 length = len(_x)
00428 if python3 or type(_x) == unicode:
00429 _x = _x.encode('utf-8')
00430 length = len(_x)
00431 buff.write(struct.pack('<I%ss'%length, length, _x))
00432 _x = self
00433 buff.write(_struct_2I.pack(_x.status.goal_id.stamp.secs, _x.status.goal_id.stamp.nsecs))
00434 _x = self.status.goal_id.id
00435 length = len(_x)
00436 if python3 or type(_x) == unicode:
00437 _x = _x.encode('utf-8')
00438 length = len(_x)
00439 buff.write(struct.pack('<I%ss'%length, length, _x))
00440 buff.write(_struct_B.pack(self.status.status))
00441 _x = self.status.text
00442 length = len(_x)
00443 if python3 or type(_x) == unicode:
00444 _x = _x.encode('utf-8')
00445 length = len(_x)
00446 buff.write(struct.pack('<I%ss'%length, length, _x))
00447 _x = self
00448 buff.write(_struct_i3I.pack(_x.result.manipulation_result.value, _x.result.place_location.header.seq, _x.result.place_location.header.stamp.secs, _x.result.place_location.header.stamp.nsecs))
00449 _x = self.result.place_location.header.frame_id
00450 length = len(_x)
00451 if python3 or type(_x) == unicode:
00452 _x = _x.encode('utf-8')
00453 length = len(_x)
00454 buff.write(struct.pack('<I%ss'%length, length, _x))
00455 _x = self
00456 buff.write(_struct_7d.pack(_x.result.place_location.pose.position.x, _x.result.place_location.pose.position.y, _x.result.place_location.pose.position.z, _x.result.place_location.pose.orientation.x, _x.result.place_location.pose.orientation.y, _x.result.place_location.pose.orientation.z, _x.result.place_location.pose.orientation.w))
00457 length = len(self.result.attempted_locations)
00458 buff.write(_struct_I.pack(length))
00459 for val1 in self.result.attempted_locations:
00460 _v11 = val1.header
00461 buff.write(_struct_I.pack(_v11.seq))
00462 _v12 = _v11.stamp
00463 _x = _v12
00464 buff.write(_struct_2I.pack(_x.secs, _x.nsecs))
00465 _x = _v11.frame_id
00466 length = len(_x)
00467 if python3 or type(_x) == unicode:
00468 _x = _x.encode('utf-8')
00469 length = len(_x)
00470 buff.write(struct.pack('<I%ss'%length, length, _x))
00471 _v13 = val1.pose
00472 _v14 = _v13.position
00473 _x = _v14
00474 buff.write(_struct_3d.pack(_x.x, _x.y, _x.z))
00475 _v15 = _v13.orientation
00476 _x = _v15
00477 buff.write(_struct_4d.pack(_x.x, _x.y, _x.z, _x.w))
00478 length = len(self.result.attempted_location_results)
00479 buff.write(_struct_I.pack(length))
00480 for val1 in self.result.attempted_location_results:
00481 _x = val1
00482 buff.write(_struct_iB.pack(_x.result_code, _x.continuation_possible))
00483 except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(_x))))
00484 except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(_x))))
00485
00486 def deserialize_numpy(self, str, numpy):
00487 """
00488 unpack serialized message in str into this message instance using numpy for array types
00489 :param str: byte array of serialized message, ``str``
00490 :param numpy: numpy python module
00491 """
00492 try:
00493 if self.header is None:
00494 self.header = std_msgs.msg.Header()
00495 if self.status is None:
00496 self.status = actionlib_msgs.msg.GoalStatus()
00497 if self.result is None:
00498 self.result = object_manipulation_msgs.msg.PlaceResult()
00499 end = 0
00500 _x = self
00501 start = end
00502 end += 12
00503 (_x.header.seq, _x.header.stamp.secs, _x.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
00504 start = end
00505 end += 4
00506 (length,) = _struct_I.unpack(str[start:end])
00507 start = end
00508 end += length
00509 if python3:
00510 self.header.frame_id = str[start:end].decode('utf-8')
00511 else:
00512 self.header.frame_id = str[start:end]
00513 _x = self
00514 start = end
00515 end += 8
00516 (_x.status.goal_id.stamp.secs, _x.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00517 start = end
00518 end += 4
00519 (length,) = _struct_I.unpack(str[start:end])
00520 start = end
00521 end += length
00522 if python3:
00523 self.status.goal_id.id = str[start:end].decode('utf-8')
00524 else:
00525 self.status.goal_id.id = str[start:end]
00526 start = end
00527 end += 1
00528 (self.status.status,) = _struct_B.unpack(str[start:end])
00529 start = end
00530 end += 4
00531 (length,) = _struct_I.unpack(str[start:end])
00532 start = end
00533 end += length
00534 if python3:
00535 self.status.text = str[start:end].decode('utf-8')
00536 else:
00537 self.status.text = str[start:end]
00538 _x = self
00539 start = end
00540 end += 16
00541 (_x.result.manipulation_result.value, _x.result.place_location.header.seq, _x.result.place_location.header.stamp.secs, _x.result.place_location.header.stamp.nsecs,) = _struct_i3I.unpack(str[start:end])
00542 start = end
00543 end += 4
00544 (length,) = _struct_I.unpack(str[start:end])
00545 start = end
00546 end += length
00547 if python3:
00548 self.result.place_location.header.frame_id = str[start:end].decode('utf-8')
00549 else:
00550 self.result.place_location.header.frame_id = str[start:end]
00551 _x = self
00552 start = end
00553 end += 56
00554 (_x.result.place_location.pose.position.x, _x.result.place_location.pose.position.y, _x.result.place_location.pose.position.z, _x.result.place_location.pose.orientation.x, _x.result.place_location.pose.orientation.y, _x.result.place_location.pose.orientation.z, _x.result.place_location.pose.orientation.w,) = _struct_7d.unpack(str[start:end])
00555 start = end
00556 end += 4
00557 (length,) = _struct_I.unpack(str[start:end])
00558 self.result.attempted_locations = []
00559 for i in range(0, length):
00560 val1 = geometry_msgs.msg.PoseStamped()
00561 _v16 = val1.header
00562 start = end
00563 end += 4
00564 (_v16.seq,) = _struct_I.unpack(str[start:end])
00565 _v17 = _v16.stamp
00566 _x = _v17
00567 start = end
00568 end += 8
00569 (_x.secs, _x.nsecs,) = _struct_2I.unpack(str[start:end])
00570 start = end
00571 end += 4
00572 (length,) = _struct_I.unpack(str[start:end])
00573 start = end
00574 end += length
00575 if python3:
00576 _v16.frame_id = str[start:end].decode('utf-8')
00577 else:
00578 _v16.frame_id = str[start:end]
00579 _v18 = val1.pose
00580 _v19 = _v18.position
00581 _x = _v19
00582 start = end
00583 end += 24
00584 (_x.x, _x.y, _x.z,) = _struct_3d.unpack(str[start:end])
00585 _v20 = _v18.orientation
00586 _x = _v20
00587 start = end
00588 end += 32
00589 (_x.x, _x.y, _x.z, _x.w,) = _struct_4d.unpack(str[start:end])
00590 self.result.attempted_locations.append(val1)
00591 start = end
00592 end += 4
00593 (length,) = _struct_I.unpack(str[start:end])
00594 self.result.attempted_location_results = []
00595 for i in range(0, length):
00596 val1 = object_manipulation_msgs.msg.PlaceLocationResult()
00597 _x = val1
00598 start = end
00599 end += 5
00600 (_x.result_code, _x.continuation_possible,) = _struct_iB.unpack(str[start:end])
00601 val1.continuation_possible = bool(val1.continuation_possible)
00602 self.result.attempted_location_results.append(val1)
00603 return self
00604 except struct.error as e:
00605 raise genpy.DeserializationError(e)
00606
00607 _struct_I = genpy.struct_I
00608 _struct_B = struct.Struct("<B")
00609 _struct_i3I = struct.Struct("<i3I")
00610 _struct_3I = struct.Struct("<3I")
00611 _struct_7d = struct.Struct("<7d")
00612 _struct_4d = struct.Struct("<4d")
00613 _struct_iB = struct.Struct("<iB")
00614 _struct_2I = struct.Struct("<2I")
00615 _struct_3d = struct.Struct("<3d")