$search
00001 """autogenerated by genmsg_py from srs_actionAction.msg. Do not edit.""" 00002 import roslib.message 00003 import struct 00004 00005 import std_msgs.msg 00006 import roslib.rostime 00007 import actionlib_msgs.msg 00008 import srs_decision_making_interface.msg 00009 00010 class srs_actionAction(roslib.message.Message): 00011 _md5sum = "7a2b9b0f6e9547ef64a37ec111611476" 00012 _type = "srs_decision_making_interface/srs_actionAction" 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 srs_actionActionGoal action_goal 00017 srs_actionActionResult action_result 00018 srs_actionActionFeedback action_feedback 00019 00020 ================================================================================ 00021 MSG: srs_decision_making_interface/srs_actionActionGoal 00022 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ====== 00023 00024 Header header 00025 actionlib_msgs/GoalID goal_id 00026 srs_actionGoal 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: srs_decision_making_interface/srs_actionGoal 00061 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ====== 00062 #define the goal, srs_msgs/srs_action[] action_sequence #Specify what action sequence to be applied 00063 string action # to deprecate, replaced by json_parameters. Kept for backward compatibility 00064 string parameter # to deprecate, replaced by json_parameters 00065 uint32 priority # to deprecate 00066 string json_parameters # new added parameter in json (test by Ze) 00067 # string[] parameters # to deprecate 00068 00069 ================================================================================ 00070 MSG: srs_decision_making_interface/srs_actionActionResult 00071 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ====== 00072 00073 Header header 00074 actionlib_msgs/GoalStatus status 00075 srs_actionResult 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: srs_decision_making_interface/srs_actionResult 00105 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ====== 00106 #define the result 00107 uint32 return_value 00108 00109 ================================================================================ 00110 MSG: srs_decision_making_interface/srs_actionActionFeedback 00111 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ====== 00112 00113 Header header 00114 actionlib_msgs/GoalStatus status 00115 srs_actionFeedback feedback 00116 00117 ================================================================================ 00118 MSG: srs_decision_making_interface/srs_actionFeedback 00119 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ====== 00120 #define a feedback message 00121 string current_state # to deprecate 00122 bool solution_required # to deprecate 00123 uint32 exceptional_case_id # to deprecate 00124 string json_feedback # new added feedback in json (test by ze) 00125 00126 00127 """ 00128 __slots__ = ['action_goal','action_result','action_feedback'] 00129 _slot_types = ['srs_decision_making_interface/srs_actionActionGoal','srs_decision_making_interface/srs_actionActionResult','srs_decision_making_interface/srs_actionActionFeedback'] 00130 00131 def __init__(self, *args, **kwds): 00132 """ 00133 Constructor. Any message fields that are implicitly/explicitly 00134 set to None will be assigned a default value. The recommend 00135 use is keyword arguments as this is more robust to future message 00136 changes. You cannot mix in-order arguments and keyword arguments. 00137 00138 The available fields are: 00139 action_goal,action_result,action_feedback 00140 00141 @param args: complete set of field values, in .msg order 00142 @param kwds: use keyword arguments corresponding to message field names 00143 to set specific fields. 00144 """ 00145 if args or kwds: 00146 super(srs_actionAction, self).__init__(*args, **kwds) 00147 #message fields cannot be None, assign default values for those that are 00148 if self.action_goal is None: 00149 self.action_goal = srs_decision_making_interface.msg.srs_actionActionGoal() 00150 if self.action_result is None: 00151 self.action_result = srs_decision_making_interface.msg.srs_actionActionResult() 00152 if self.action_feedback is None: 00153 self.action_feedback = srs_decision_making_interface.msg.srs_actionActionFeedback() 00154 else: 00155 self.action_goal = srs_decision_making_interface.msg.srs_actionActionGoal() 00156 self.action_result = srs_decision_making_interface.msg.srs_actionActionResult() 00157 self.action_feedback = srs_decision_making_interface.msg.srs_actionActionFeedback() 00158 00159 def _get_types(self): 00160 """ 00161 internal API method 00162 """ 00163 return self._slot_types 00164 00165 def serialize(self, buff): 00166 """ 00167 serialize message into buffer 00168 @param buff: buffer 00169 @type buff: StringIO 00170 """ 00171 try: 00172 _x = self 00173 buff.write(_struct_3I.pack(_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs)) 00174 _x = self.action_goal.header.frame_id 00175 length = len(_x) 00176 buff.write(struct.pack('<I%ss'%length, length, _x)) 00177 _x = self 00178 buff.write(_struct_2I.pack(_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs)) 00179 _x = self.action_goal.goal_id.id 00180 length = len(_x) 00181 buff.write(struct.pack('<I%ss'%length, length, _x)) 00182 _x = self.action_goal.goal.action 00183 length = len(_x) 00184 buff.write(struct.pack('<I%ss'%length, length, _x)) 00185 _x = self.action_goal.goal.parameter 00186 length = len(_x) 00187 buff.write(struct.pack('<I%ss'%length, length, _x)) 00188 buff.write(_struct_I.pack(self.action_goal.goal.priority)) 00189 _x = self.action_goal.goal.json_parameters 00190 length = len(_x) 00191 buff.write(struct.pack('<I%ss'%length, length, _x)) 00192 _x = self 00193 buff.write(_struct_3I.pack(_x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs)) 00194 _x = self.action_result.header.frame_id 00195 length = len(_x) 00196 buff.write(struct.pack('<I%ss'%length, length, _x)) 00197 _x = self 00198 buff.write(_struct_2I.pack(_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs)) 00199 _x = self.action_result.status.goal_id.id 00200 length = len(_x) 00201 buff.write(struct.pack('<I%ss'%length, length, _x)) 00202 buff.write(_struct_B.pack(self.action_result.status.status)) 00203 _x = self.action_result.status.text 00204 length = len(_x) 00205 buff.write(struct.pack('<I%ss'%length, length, _x)) 00206 _x = self 00207 buff.write(_struct_4I.pack(_x.action_result.result.return_value, _x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs)) 00208 _x = self.action_feedback.header.frame_id 00209 length = len(_x) 00210 buff.write(struct.pack('<I%ss'%length, length, _x)) 00211 _x = self 00212 buff.write(_struct_2I.pack(_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs)) 00213 _x = self.action_feedback.status.goal_id.id 00214 length = len(_x) 00215 buff.write(struct.pack('<I%ss'%length, length, _x)) 00216 buff.write(_struct_B.pack(self.action_feedback.status.status)) 00217 _x = self.action_feedback.status.text 00218 length = len(_x) 00219 buff.write(struct.pack('<I%ss'%length, length, _x)) 00220 _x = self.action_feedback.feedback.current_state 00221 length = len(_x) 00222 buff.write(struct.pack('<I%ss'%length, length, _x)) 00223 _x = self 00224 buff.write(_struct_BI.pack(_x.action_feedback.feedback.solution_required, _x.action_feedback.feedback.exceptional_case_id)) 00225 _x = self.action_feedback.feedback.json_feedback 00226 length = len(_x) 00227 buff.write(struct.pack('<I%ss'%length, length, _x)) 00228 except struct.error as se: self._check_types(se) 00229 except TypeError as te: self._check_types(te) 00230 00231 def deserialize(self, str): 00232 """ 00233 unpack serialized message in str into this message instance 00234 @param str: byte array of serialized message 00235 @type str: str 00236 """ 00237 try: 00238 if self.action_goal is None: 00239 self.action_goal = srs_decision_making_interface.msg.srs_actionActionGoal() 00240 if self.action_result is None: 00241 self.action_result = srs_decision_making_interface.msg.srs_actionActionResult() 00242 if self.action_feedback is None: 00243 self.action_feedback = srs_decision_making_interface.msg.srs_actionActionFeedback() 00244 end = 0 00245 _x = self 00246 start = end 00247 end += 12 00248 (_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end]) 00249 start = end 00250 end += 4 00251 (length,) = _struct_I.unpack(str[start:end]) 00252 start = end 00253 end += length 00254 self.action_goal.header.frame_id = str[start:end] 00255 _x = self 00256 start = end 00257 end += 8 00258 (_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end]) 00259 start = end 00260 end += 4 00261 (length,) = _struct_I.unpack(str[start:end]) 00262 start = end 00263 end += length 00264 self.action_goal.goal_id.id = str[start:end] 00265 start = end 00266 end += 4 00267 (length,) = _struct_I.unpack(str[start:end]) 00268 start = end 00269 end += length 00270 self.action_goal.goal.action = 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.parameter = str[start:end] 00277 start = end 00278 end += 4 00279 (self.action_goal.goal.priority,) = _struct_I.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.json_parameters = str[start:end] 00286 _x = self 00287 start = end 00288 end += 12 00289 (_x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end]) 00290 start = end 00291 end += 4 00292 (length,) = _struct_I.unpack(str[start:end]) 00293 start = end 00294 end += length 00295 self.action_result.header.frame_id = str[start:end] 00296 _x = self 00297 start = end 00298 end += 8 00299 (_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs,) = _struct_2I.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.goal_id.id = str[start:end] 00306 start = end 00307 end += 1 00308 (self.action_result.status.status,) = _struct_B.unpack(str[start:end]) 00309 start = end 00310 end += 4 00311 (length,) = _struct_I.unpack(str[start:end]) 00312 start = end 00313 end += length 00314 self.action_result.status.text = str[start:end] 00315 _x = self 00316 start = end 00317 end += 16 00318 (_x.action_result.result.return_value, _x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs,) = _struct_4I.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_feedback.header.frame_id = str[start:end] 00325 _x = self 00326 start = end 00327 end += 8 00328 (_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs,) = _struct_2I.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.status.goal_id.id = str[start:end] 00335 start = end 00336 end += 1 00337 (self.action_feedback.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 self.action_feedback.status.text = str[start:end] 00344 start = end 00345 end += 4 00346 (length,) = _struct_I.unpack(str[start:end]) 00347 start = end 00348 end += length 00349 self.action_feedback.feedback.current_state = str[start:end] 00350 _x = self 00351 start = end 00352 end += 5 00353 (_x.action_feedback.feedback.solution_required, _x.action_feedback.feedback.exceptional_case_id,) = _struct_BI.unpack(str[start:end]) 00354 self.action_feedback.feedback.solution_required = bool(self.action_feedback.feedback.solution_required) 00355 start = end 00356 end += 4 00357 (length,) = _struct_I.unpack(str[start:end]) 00358 start = end 00359 end += length 00360 self.action_feedback.feedback.json_feedback = str[start:end] 00361 return self 00362 except struct.error as e: 00363 raise roslib.message.DeserializationError(e) #most likely buffer underfill 00364 00365 00366 def serialize_numpy(self, buff, numpy): 00367 """ 00368 serialize message with numpy array types into buffer 00369 @param buff: buffer 00370 @type buff: StringIO 00371 @param numpy: numpy python module 00372 @type numpy module 00373 """ 00374 try: 00375 _x = self 00376 buff.write(_struct_3I.pack(_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs)) 00377 _x = self.action_goal.header.frame_id 00378 length = len(_x) 00379 buff.write(struct.pack('<I%ss'%length, length, _x)) 00380 _x = self 00381 buff.write(_struct_2I.pack(_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs)) 00382 _x = self.action_goal.goal_id.id 00383 length = len(_x) 00384 buff.write(struct.pack('<I%ss'%length, length, _x)) 00385 _x = self.action_goal.goal.action 00386 length = len(_x) 00387 buff.write(struct.pack('<I%ss'%length, length, _x)) 00388 _x = self.action_goal.goal.parameter 00389 length = len(_x) 00390 buff.write(struct.pack('<I%ss'%length, length, _x)) 00391 buff.write(_struct_I.pack(self.action_goal.goal.priority)) 00392 _x = self.action_goal.goal.json_parameters 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_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs)) 00397 _x = self.action_result.header.frame_id 00398 length = len(_x) 00399 buff.write(struct.pack('<I%ss'%length, length, _x)) 00400 _x = self 00401 buff.write(_struct_2I.pack(_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs)) 00402 _x = self.action_result.status.goal_id.id 00403 length = len(_x) 00404 buff.write(struct.pack('<I%ss'%length, length, _x)) 00405 buff.write(_struct_B.pack(self.action_result.status.status)) 00406 _x = self.action_result.status.text 00407 length = len(_x) 00408 buff.write(struct.pack('<I%ss'%length, length, _x)) 00409 _x = self 00410 buff.write(_struct_4I.pack(_x.action_result.result.return_value, _x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs)) 00411 _x = self.action_feedback.header.frame_id 00412 length = len(_x) 00413 buff.write(struct.pack('<I%ss'%length, length, _x)) 00414 _x = self 00415 buff.write(_struct_2I.pack(_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs)) 00416 _x = self.action_feedback.status.goal_id.id 00417 length = len(_x) 00418 buff.write(struct.pack('<I%ss'%length, length, _x)) 00419 buff.write(_struct_B.pack(self.action_feedback.status.status)) 00420 _x = self.action_feedback.status.text 00421 length = len(_x) 00422 buff.write(struct.pack('<I%ss'%length, length, _x)) 00423 _x = self.action_feedback.feedback.current_state 00424 length = len(_x) 00425 buff.write(struct.pack('<I%ss'%length, length, _x)) 00426 _x = self 00427 buff.write(_struct_BI.pack(_x.action_feedback.feedback.solution_required, _x.action_feedback.feedback.exceptional_case_id)) 00428 _x = self.action_feedback.feedback.json_feedback 00429 length = len(_x) 00430 buff.write(struct.pack('<I%ss'%length, length, _x)) 00431 except struct.error as se: self._check_types(se) 00432 except TypeError as te: self._check_types(te) 00433 00434 def deserialize_numpy(self, str, numpy): 00435 """ 00436 unpack serialized message in str into this message instance using numpy for array types 00437 @param str: byte array of serialized message 00438 @type str: str 00439 @param numpy: numpy python module 00440 @type numpy: module 00441 """ 00442 try: 00443 if self.action_goal is None: 00444 self.action_goal = srs_decision_making_interface.msg.srs_actionActionGoal() 00445 if self.action_result is None: 00446 self.action_result = srs_decision_making_interface.msg.srs_actionActionResult() 00447 if self.action_feedback is None: 00448 self.action_feedback = srs_decision_making_interface.msg.srs_actionActionFeedback() 00449 end = 0 00450 _x = self 00451 start = end 00452 end += 12 00453 (_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end]) 00454 start = end 00455 end += 4 00456 (length,) = _struct_I.unpack(str[start:end]) 00457 start = end 00458 end += length 00459 self.action_goal.header.frame_id = str[start:end] 00460 _x = self 00461 start = end 00462 end += 8 00463 (_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs,) = _struct_2I.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.goal_id.id = str[start:end] 00470 start = end 00471 end += 4 00472 (length,) = _struct_I.unpack(str[start:end]) 00473 start = end 00474 end += length 00475 self.action_goal.goal.action = str[start:end] 00476 start = end 00477 end += 4 00478 (length,) = _struct_I.unpack(str[start:end]) 00479 start = end 00480 end += length 00481 self.action_goal.goal.parameter = str[start:end] 00482 start = end 00483 end += 4 00484 (self.action_goal.goal.priority,) = _struct_I.unpack(str[start:end]) 00485 start = end 00486 end += 4 00487 (length,) = _struct_I.unpack(str[start:end]) 00488 start = end 00489 end += length 00490 self.action_goal.goal.json_parameters = str[start:end] 00491 _x = self 00492 start = end 00493 end += 12 00494 (_x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end]) 00495 start = end 00496 end += 4 00497 (length,) = _struct_I.unpack(str[start:end]) 00498 start = end 00499 end += length 00500 self.action_result.header.frame_id = str[start:end] 00501 _x = self 00502 start = end 00503 end += 8 00504 (_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(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_result.status.goal_id.id = str[start:end] 00511 start = end 00512 end += 1 00513 (self.action_result.status.status,) = _struct_B.unpack(str[start:end]) 00514 start = end 00515 end += 4 00516 (length,) = _struct_I.unpack(str[start:end]) 00517 start = end 00518 end += length 00519 self.action_result.status.text = str[start:end] 00520 _x = self 00521 start = end 00522 end += 16 00523 (_x.action_result.result.return_value, _x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs,) = _struct_4I.unpack(str[start:end]) 00524 start = end 00525 end += 4 00526 (length,) = _struct_I.unpack(str[start:end]) 00527 start = end 00528 end += length 00529 self.action_feedback.header.frame_id = str[start:end] 00530 _x = self 00531 start = end 00532 end += 8 00533 (_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end]) 00534 start = end 00535 end += 4 00536 (length,) = _struct_I.unpack(str[start:end]) 00537 start = end 00538 end += length 00539 self.action_feedback.status.goal_id.id = str[start:end] 00540 start = end 00541 end += 1 00542 (self.action_feedback.status.status,) = _struct_B.unpack(str[start:end]) 00543 start = end 00544 end += 4 00545 (length,) = _struct_I.unpack(str[start:end]) 00546 start = end 00547 end += length 00548 self.action_feedback.status.text = 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.feedback.current_state = str[start:end] 00555 _x = self 00556 start = end 00557 end += 5 00558 (_x.action_feedback.feedback.solution_required, _x.action_feedback.feedback.exceptional_case_id,) = _struct_BI.unpack(str[start:end]) 00559 self.action_feedback.feedback.solution_required = bool(self.action_feedback.feedback.solution_required) 00560 start = end 00561 end += 4 00562 (length,) = _struct_I.unpack(str[start:end]) 00563 start = end 00564 end += length 00565 self.action_feedback.feedback.json_feedback = str[start:end] 00566 return self 00567 except struct.error as e: 00568 raise roslib.message.DeserializationError(e) #most likely buffer underfill 00569 00570 _struct_I = roslib.message.struct_I 00571 _struct_B = struct.Struct("<B") 00572 _struct_BI = struct.Struct("<BI") 00573 _struct_3I = struct.Struct("<3I") 00574 _struct_4I = struct.Struct("<4I") 00575 _struct_2I = struct.Struct("<2I")