_PlanPathAction.py
Go to the documentation of this file.
00001 """autogenerated by genpy from youbot_overhead_localization/PlanPathAction.msg. Do not edit."""
00002 import sys
00003 python3 = True if sys.hexversion > 0x03000000 else False
00004 import genpy
00005 import struct
00006 
00007 import genpy
00008 import actionlib_msgs.msg
00009 import youbot_overhead_localization.msg
00010 import std_msgs.msg
00011 
00012 class PlanPathAction(genpy.Message):
00013   _md5sum = "4a40a7d3a0fdb483dbcc788b4f233685"
00014   _type = "youbot_overhead_localization/PlanPathAction"
00015   _has_header = False #flag to mark the presence of a Header object
00016   _full_text = """# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00017 
00018 PlanPathActionGoal action_goal
00019 PlanPathActionResult action_result
00020 PlanPathActionFeedback action_feedback
00021 
00022 ================================================================================
00023 MSG: youbot_overhead_localization/PlanPathActionGoal
00024 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00025 
00026 Header header
00027 actionlib_msgs/GoalID goal_id
00028 PlanPathGoal goal
00029 
00030 ================================================================================
00031 MSG: std_msgs/Header
00032 # Standard metadata for higher-level stamped data types.
00033 # This is generally used to communicate timestamped data 
00034 # in a particular coordinate frame.
00035 # 
00036 # sequence ID: consecutively increasing ID 
00037 uint32 seq
00038 #Two-integer timestamp that is expressed as:
00039 # * stamp.secs: seconds (stamp_secs) since epoch
00040 # * stamp.nsecs: nanoseconds since stamp_secs
00041 # time-handling sugar is provided by the client library
00042 time stamp
00043 #Frame this data is associated with
00044 # 0: no frame
00045 # 1: global frame
00046 string frame_id
00047 
00048 ================================================================================
00049 MSG: actionlib_msgs/GoalID
00050 # The stamp should store the time at which this goal was requested.
00051 # It is used by an action server when it tries to preempt all
00052 # goals that were requested before a certain time
00053 time stamp
00054 
00055 # The id provides a way to associate feedback and
00056 # result message with specific goal requests. The id
00057 # specified must be unique.
00058 string id
00059 
00060 
00061 ================================================================================
00062 MSG: youbot_overhead_localization/PlanPathGoal
00063 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00064 #goal definition
00065 string topic_name
00066 float32 x
00067 float32 y
00068 
00069 ================================================================================
00070 MSG: youbot_overhead_localization/PlanPathActionResult
00071 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00072 
00073 Header header
00074 actionlib_msgs/GoalStatus status
00075 PlanPathResult 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: youbot_overhead_localization/PlanPathResult
00105 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00106 #result definition
00107 float32 posx
00108 float32 posy
00109 
00110 ================================================================================
00111 MSG: youbot_overhead_localization/PlanPathActionFeedback
00112 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00113 
00114 Header header
00115 actionlib_msgs/GoalStatus status
00116 PlanPathFeedback feedback
00117 
00118 ================================================================================
00119 MSG: youbot_overhead_localization/PlanPathFeedback
00120 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00121 #feedback
00122 float32 pathLength
00123 
00124 
00125 """
00126   __slots__ = ['action_goal','action_result','action_feedback']
00127   _slot_types = ['youbot_overhead_localization/PlanPathActionGoal','youbot_overhead_localization/PlanPathActionResult','youbot_overhead_localization/PlanPathActionFeedback']
00128 
00129   def __init__(self, *args, **kwds):
00130     """
00131     Constructor. Any message fields that are implicitly/explicitly
00132     set to None will be assigned a default value. The recommend
00133     use is keyword arguments as this is more robust to future message
00134     changes.  You cannot mix in-order arguments and keyword arguments.
00135 
00136     The available fields are:
00137        action_goal,action_result,action_feedback
00138 
00139     :param args: complete set of field values, in .msg order
00140     :param kwds: use keyword arguments corresponding to message field names
00141     to set specific fields.
00142     """
00143     if args or kwds:
00144       super(PlanPathAction, self).__init__(*args, **kwds)
00145       #message fields cannot be None, assign default values for those that are
00146       if self.action_goal is None:
00147         self.action_goal = youbot_overhead_localization.msg.PlanPathActionGoal()
00148       if self.action_result is None:
00149         self.action_result = youbot_overhead_localization.msg.PlanPathActionResult()
00150       if self.action_feedback is None:
00151         self.action_feedback = youbot_overhead_localization.msg.PlanPathActionFeedback()
00152     else:
00153       self.action_goal = youbot_overhead_localization.msg.PlanPathActionGoal()
00154       self.action_result = youbot_overhead_localization.msg.PlanPathActionResult()
00155       self.action_feedback = youbot_overhead_localization.msg.PlanPathActionFeedback()
00156 
00157   def _get_types(self):
00158     """
00159     internal API method
00160     """
00161     return self._slot_types
00162 
00163   def serialize(self, buff):
00164     """
00165     serialize message into buffer
00166     :param buff: buffer, ``StringIO``
00167     """
00168     try:
00169       _x = self
00170       buff.write(_struct_3I.pack(_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs))
00171       _x = self.action_goal.header.frame_id
00172       length = len(_x)
00173       if python3 or type(_x) == unicode:
00174         _x = _x.encode('utf-8')
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       if python3 or type(_x) == unicode:
00182         _x = _x.encode('utf-8')
00183         length = len(_x)
00184       buff.write(struct.pack('<I%ss'%length, length, _x))
00185       _x = self.action_goal.goal.topic_name
00186       length = len(_x)
00187       if python3 or type(_x) == unicode:
00188         _x = _x.encode('utf-8')
00189         length = len(_x)
00190       buff.write(struct.pack('<I%ss'%length, length, _x))
00191       _x = self
00192       buff.write(_struct_2f3I.pack(_x.action_goal.goal.x, _x.action_goal.goal.y, _x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs))
00193       _x = self.action_result.header.frame_id
00194       length = len(_x)
00195       if python3 or type(_x) == unicode:
00196         _x = _x.encode('utf-8')
00197         length = len(_x)
00198       buff.write(struct.pack('<I%ss'%length, length, _x))
00199       _x = self
00200       buff.write(_struct_2I.pack(_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs))
00201       _x = self.action_result.status.goal_id.id
00202       length = len(_x)
00203       if python3 or type(_x) == unicode:
00204         _x = _x.encode('utf-8')
00205         length = len(_x)
00206       buff.write(struct.pack('<I%ss'%length, length, _x))
00207       buff.write(_struct_B.pack(self.action_result.status.status))
00208       _x = self.action_result.status.text
00209       length = len(_x)
00210       if python3 or type(_x) == unicode:
00211         _x = _x.encode('utf-8')
00212         length = len(_x)
00213       buff.write(struct.pack('<I%ss'%length, length, _x))
00214       _x = self
00215       buff.write(_struct_2f3I.pack(_x.action_result.result.posx, _x.action_result.result.posy, _x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs))
00216       _x = self.action_feedback.header.frame_id
00217       length = len(_x)
00218       if python3 or type(_x) == unicode:
00219         _x = _x.encode('utf-8')
00220         length = len(_x)
00221       buff.write(struct.pack('<I%ss'%length, length, _x))
00222       _x = self
00223       buff.write(_struct_2I.pack(_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs))
00224       _x = self.action_feedback.status.goal_id.id
00225       length = len(_x)
00226       if python3 or type(_x) == unicode:
00227         _x = _x.encode('utf-8')
00228         length = len(_x)
00229       buff.write(struct.pack('<I%ss'%length, length, _x))
00230       buff.write(_struct_B.pack(self.action_feedback.status.status))
00231       _x = self.action_feedback.status.text
00232       length = len(_x)
00233       if python3 or type(_x) == unicode:
00234         _x = _x.encode('utf-8')
00235         length = len(_x)
00236       buff.write(struct.pack('<I%ss'%length, length, _x))
00237       buff.write(_struct_f.pack(self.action_feedback.feedback.pathLength))
00238     except struct.error as se: self._check_types(se)
00239     except TypeError as te: self._check_types(te)
00240 
00241   def deserialize(self, str):
00242     """
00243     unpack serialized message in str into this message instance
00244     :param str: byte array of serialized message, ``str``
00245     """
00246     try:
00247       if self.action_goal is None:
00248         self.action_goal = youbot_overhead_localization.msg.PlanPathActionGoal()
00249       if self.action_result is None:
00250         self.action_result = youbot_overhead_localization.msg.PlanPathActionResult()
00251       if self.action_feedback is None:
00252         self.action_feedback = youbot_overhead_localization.msg.PlanPathActionFeedback()
00253       end = 0
00254       _x = self
00255       start = end
00256       end += 12
00257       (_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
00258       start = end
00259       end += 4
00260       (length,) = _struct_I.unpack(str[start:end])
00261       start = end
00262       end += length
00263       if python3:
00264         self.action_goal.header.frame_id = str[start:end].decode('utf-8')
00265       else:
00266         self.action_goal.header.frame_id = str[start:end]
00267       _x = self
00268       start = end
00269       end += 8
00270       (_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00271       start = end
00272       end += 4
00273       (length,) = _struct_I.unpack(str[start:end])
00274       start = end
00275       end += length
00276       if python3:
00277         self.action_goal.goal_id.id = str[start:end].decode('utf-8')
00278       else:
00279         self.action_goal.goal_id.id = str[start:end]
00280       start = end
00281       end += 4
00282       (length,) = _struct_I.unpack(str[start:end])
00283       start = end
00284       end += length
00285       if python3:
00286         self.action_goal.goal.topic_name = str[start:end].decode('utf-8')
00287       else:
00288         self.action_goal.goal.topic_name = str[start:end]
00289       _x = self
00290       start = end
00291       end += 20
00292       (_x.action_goal.goal.x, _x.action_goal.goal.y, _x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs,) = _struct_2f3I.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       if python3:
00299         self.action_result.header.frame_id = str[start:end].decode('utf-8')
00300       else:
00301         self.action_result.header.frame_id = str[start:end]
00302       _x = self
00303       start = end
00304       end += 8
00305       (_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00306       start = end
00307       end += 4
00308       (length,) = _struct_I.unpack(str[start:end])
00309       start = end
00310       end += length
00311       if python3:
00312         self.action_result.status.goal_id.id = str[start:end].decode('utf-8')
00313       else:
00314         self.action_result.status.goal_id.id = str[start:end]
00315       start = end
00316       end += 1
00317       (self.action_result.status.status,) = _struct_B.unpack(str[start:end])
00318       start = end
00319       end += 4
00320       (length,) = _struct_I.unpack(str[start:end])
00321       start = end
00322       end += length
00323       if python3:
00324         self.action_result.status.text = str[start:end].decode('utf-8')
00325       else:
00326         self.action_result.status.text = str[start:end]
00327       _x = self
00328       start = end
00329       end += 20
00330       (_x.action_result.result.posx, _x.action_result.result.posy, _x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs,) = _struct_2f3I.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       if python3:
00337         self.action_feedback.header.frame_id = str[start:end].decode('utf-8')
00338       else:
00339         self.action_feedback.header.frame_id = str[start:end]
00340       _x = self
00341       start = end
00342       end += 8
00343       (_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00344       start = end
00345       end += 4
00346       (length,) = _struct_I.unpack(str[start:end])
00347       start = end
00348       end += length
00349       if python3:
00350         self.action_feedback.status.goal_id.id = str[start:end].decode('utf-8')
00351       else:
00352         self.action_feedback.status.goal_id.id = str[start:end]
00353       start = end
00354       end += 1
00355       (self.action_feedback.status.status,) = _struct_B.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       if python3:
00362         self.action_feedback.status.text = str[start:end].decode('utf-8')
00363       else:
00364         self.action_feedback.status.text = str[start:end]
00365       start = end
00366       end += 4
00367       (self.action_feedback.feedback.pathLength,) = _struct_f.unpack(str[start:end])
00368       return self
00369     except struct.error as e:
00370       raise genpy.DeserializationError(e) #most likely buffer underfill
00371 
00372 
00373   def serialize_numpy(self, buff, numpy):
00374     """
00375     serialize message with numpy array types into buffer
00376     :param buff: buffer, ``StringIO``
00377     :param numpy: numpy python module
00378     """
00379     try:
00380       _x = self
00381       buff.write(_struct_3I.pack(_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs))
00382       _x = self.action_goal.header.frame_id
00383       length = len(_x)
00384       if python3 or type(_x) == unicode:
00385         _x = _x.encode('utf-8')
00386         length = len(_x)
00387       buff.write(struct.pack('<I%ss'%length, length, _x))
00388       _x = self
00389       buff.write(_struct_2I.pack(_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs))
00390       _x = self.action_goal.goal_id.id
00391       length = len(_x)
00392       if python3 or type(_x) == unicode:
00393         _x = _x.encode('utf-8')
00394         length = len(_x)
00395       buff.write(struct.pack('<I%ss'%length, length, _x))
00396       _x = self.action_goal.goal.topic_name
00397       length = len(_x)
00398       if python3 or type(_x) == unicode:
00399         _x = _x.encode('utf-8')
00400         length = len(_x)
00401       buff.write(struct.pack('<I%ss'%length, length, _x))
00402       _x = self
00403       buff.write(_struct_2f3I.pack(_x.action_goal.goal.x, _x.action_goal.goal.y, _x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs))
00404       _x = self.action_result.header.frame_id
00405       length = len(_x)
00406       if python3 or type(_x) == unicode:
00407         _x = _x.encode('utf-8')
00408         length = len(_x)
00409       buff.write(struct.pack('<I%ss'%length, length, _x))
00410       _x = self
00411       buff.write(_struct_2I.pack(_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs))
00412       _x = self.action_result.status.goal_id.id
00413       length = len(_x)
00414       if python3 or type(_x) == unicode:
00415         _x = _x.encode('utf-8')
00416         length = len(_x)
00417       buff.write(struct.pack('<I%ss'%length, length, _x))
00418       buff.write(_struct_B.pack(self.action_result.status.status))
00419       _x = self.action_result.status.text
00420       length = len(_x)
00421       if python3 or type(_x) == unicode:
00422         _x = _x.encode('utf-8')
00423         length = len(_x)
00424       buff.write(struct.pack('<I%ss'%length, length, _x))
00425       _x = self
00426       buff.write(_struct_2f3I.pack(_x.action_result.result.posx, _x.action_result.result.posy, _x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs))
00427       _x = self.action_feedback.header.frame_id
00428       length = len(_x)
00429       if python3 or type(_x) == unicode:
00430         _x = _x.encode('utf-8')
00431         length = len(_x)
00432       buff.write(struct.pack('<I%ss'%length, length, _x))
00433       _x = self
00434       buff.write(_struct_2I.pack(_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs))
00435       _x = self.action_feedback.status.goal_id.id
00436       length = len(_x)
00437       if python3 or type(_x) == unicode:
00438         _x = _x.encode('utf-8')
00439         length = len(_x)
00440       buff.write(struct.pack('<I%ss'%length, length, _x))
00441       buff.write(_struct_B.pack(self.action_feedback.status.status))
00442       _x = self.action_feedback.status.text
00443       length = len(_x)
00444       if python3 or type(_x) == unicode:
00445         _x = _x.encode('utf-8')
00446         length = len(_x)
00447       buff.write(struct.pack('<I%ss'%length, length, _x))
00448       buff.write(_struct_f.pack(self.action_feedback.feedback.pathLength))
00449     except struct.error as se: self._check_types(se)
00450     except TypeError as te: self._check_types(te)
00451 
00452   def deserialize_numpy(self, str, numpy):
00453     """
00454     unpack serialized message in str into this message instance using numpy for array types
00455     :param str: byte array of serialized message, ``str``
00456     :param numpy: numpy python module
00457     """
00458     try:
00459       if self.action_goal is None:
00460         self.action_goal = youbot_overhead_localization.msg.PlanPathActionGoal()
00461       if self.action_result is None:
00462         self.action_result = youbot_overhead_localization.msg.PlanPathActionResult()
00463       if self.action_feedback is None:
00464         self.action_feedback = youbot_overhead_localization.msg.PlanPathActionFeedback()
00465       end = 0
00466       _x = self
00467       start = end
00468       end += 12
00469       (_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
00470       start = end
00471       end += 4
00472       (length,) = _struct_I.unpack(str[start:end])
00473       start = end
00474       end += length
00475       if python3:
00476         self.action_goal.header.frame_id = str[start:end].decode('utf-8')
00477       else:
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       if python3:
00489         self.action_goal.goal_id.id = str[start:end].decode('utf-8')
00490       else:
00491         self.action_goal.goal_id.id = str[start:end]
00492       start = end
00493       end += 4
00494       (length,) = _struct_I.unpack(str[start:end])
00495       start = end
00496       end += length
00497       if python3:
00498         self.action_goal.goal.topic_name = str[start:end].decode('utf-8')
00499       else:
00500         self.action_goal.goal.topic_name = str[start:end]
00501       _x = self
00502       start = end
00503       end += 20
00504       (_x.action_goal.goal.x, _x.action_goal.goal.y, _x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs,) = _struct_2f3I.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       if python3:
00511         self.action_result.header.frame_id = str[start:end].decode('utf-8')
00512       else:
00513         self.action_result.header.frame_id = str[start:end]
00514       _x = self
00515       start = end
00516       end += 8
00517       (_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00518       start = end
00519       end += 4
00520       (length,) = _struct_I.unpack(str[start:end])
00521       start = end
00522       end += length
00523       if python3:
00524         self.action_result.status.goal_id.id = str[start:end].decode('utf-8')
00525       else:
00526         self.action_result.status.goal_id.id = str[start:end]
00527       start = end
00528       end += 1
00529       (self.action_result.status.status,) = _struct_B.unpack(str[start:end])
00530       start = end
00531       end += 4
00532       (length,) = _struct_I.unpack(str[start:end])
00533       start = end
00534       end += length
00535       if python3:
00536         self.action_result.status.text = str[start:end].decode('utf-8')
00537       else:
00538         self.action_result.status.text = str[start:end]
00539       _x = self
00540       start = end
00541       end += 20
00542       (_x.action_result.result.posx, _x.action_result.result.posy, _x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs,) = _struct_2f3I.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       if python3:
00549         self.action_feedback.header.frame_id = str[start:end].decode('utf-8')
00550       else:
00551         self.action_feedback.header.frame_id = str[start:end]
00552       _x = self
00553       start = end
00554       end += 8
00555       (_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00556       start = end
00557       end += 4
00558       (length,) = _struct_I.unpack(str[start:end])
00559       start = end
00560       end += length
00561       if python3:
00562         self.action_feedback.status.goal_id.id = str[start:end].decode('utf-8')
00563       else:
00564         self.action_feedback.status.goal_id.id = str[start:end]
00565       start = end
00566       end += 1
00567       (self.action_feedback.status.status,) = _struct_B.unpack(str[start:end])
00568       start = end
00569       end += 4
00570       (length,) = _struct_I.unpack(str[start:end])
00571       start = end
00572       end += length
00573       if python3:
00574         self.action_feedback.status.text = str[start:end].decode('utf-8')
00575       else:
00576         self.action_feedback.status.text = str[start:end]
00577       start = end
00578       end += 4
00579       (self.action_feedback.feedback.pathLength,) = _struct_f.unpack(str[start:end])
00580       return self
00581     except struct.error as e:
00582       raise genpy.DeserializationError(e) #most likely buffer underfill
00583 
00584 _struct_I = genpy.struct_I
00585 _struct_3I = struct.Struct("<3I")
00586 _struct_B = struct.Struct("<B")
00587 _struct_2f3I = struct.Struct("<2f3I")
00588 _struct_2I = struct.Struct("<2I")
00589 _struct_f = struct.Struct("<f")


youbot_overhead_localization
Author(s): David Kent
autogenerated on Thu Jan 2 2014 12:14:20