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