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