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