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