_RotateInPlaceAction.py
Go to the documentation of this file.
00001 """autogenerated by genpy from flirtlib_ros/RotateInPlaceAction.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 flirtlib_ros.msg
00008 import genpy
00009 import actionlib_msgs.msg
00010 import std_msgs.msg
00011 
00012 class RotateInPlaceAction(genpy.Message):
00013   _md5sum = "6fea2419e74b58f0057c1eede9164345"
00014   _type = "flirtlib_ros/RotateInPlaceAction"
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 RotateInPlaceActionGoal action_goal
00019 RotateInPlaceActionResult action_result
00020 RotateInPlaceActionFeedback action_feedback
00021 
00022 ================================================================================
00023 MSG: flirtlib_ros/RotateInPlaceActionGoal
00024 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00025 
00026 Header header
00027 actionlib_msgs/GoalID goal_id
00028 RotateInPlaceGoal 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: flirtlib_ros/RotateInPlaceGoal
00063 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00064 # Goal is to get close to yaw angle target in frame header.frame_id
00065 Header header
00066 float32 target
00067 float32 tol
00068 
00069 ================================================================================
00070 MSG: flirtlib_ros/RotateInPlaceActionResult
00071 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00072 
00073 Header header
00074 actionlib_msgs/GoalStatus status
00075 RotateInPlaceResult 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: flirtlib_ros/RotateInPlaceResult
00105 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00106 # Result is yaw we think we achieved
00107 float32 achieved
00108 
00109 ================================================================================
00110 MSG: flirtlib_ros/RotateInPlaceActionFeedback
00111 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00112 
00113 Header header
00114 actionlib_msgs/GoalStatus status
00115 RotateInPlaceFeedback feedback
00116 
00117 ================================================================================
00118 MSG: flirtlib_ros/RotateInPlaceFeedback
00119 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00120 # No feedback
00121 
00122 """
00123   __slots__ = ['action_goal','action_result','action_feedback']
00124   _slot_types = ['flirtlib_ros/RotateInPlaceActionGoal','flirtlib_ros/RotateInPlaceActionResult','flirtlib_ros/RotateInPlaceActionFeedback']
00125 
00126   def __init__(self, *args, **kwds):
00127     """
00128     Constructor. Any message fields that are implicitly/explicitly
00129     set to None will be assigned a default value. The recommend
00130     use is keyword arguments as this is more robust to future message
00131     changes.  You cannot mix in-order arguments and keyword arguments.
00132 
00133     The available fields are:
00134        action_goal,action_result,action_feedback
00135 
00136     :param args: complete set of field values, in .msg order
00137     :param kwds: use keyword arguments corresponding to message field names
00138     to set specific fields.
00139     """
00140     if args or kwds:
00141       super(RotateInPlaceAction, self).__init__(*args, **kwds)
00142       #message fields cannot be None, assign default values for those that are
00143       if self.action_goal is None:
00144         self.action_goal = flirtlib_ros.msg.RotateInPlaceActionGoal()
00145       if self.action_result is None:
00146         self.action_result = flirtlib_ros.msg.RotateInPlaceActionResult()
00147       if self.action_feedback is None:
00148         self.action_feedback = flirtlib_ros.msg.RotateInPlaceActionFeedback()
00149     else:
00150       self.action_goal = flirtlib_ros.msg.RotateInPlaceActionGoal()
00151       self.action_result = flirtlib_ros.msg.RotateInPlaceActionResult()
00152       self.action_feedback = flirtlib_ros.msg.RotateInPlaceActionFeedback()
00153 
00154   def _get_types(self):
00155     """
00156     internal API method
00157     """
00158     return self._slot_types
00159 
00160   def serialize(self, buff):
00161     """
00162     serialize message into buffer
00163     :param buff: buffer, ``StringIO``
00164     """
00165     try:
00166       _x = self
00167       buff.write(_struct_3I.pack(_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs))
00168       _x = self.action_goal.header.frame_id
00169       length = len(_x)
00170       if python3 or type(_x) == unicode:
00171         _x = _x.encode('utf-8')
00172         length = len(_x)
00173       buff.write(struct.pack('<I%ss'%length, length, _x))
00174       _x = self
00175       buff.write(_struct_2I.pack(_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs))
00176       _x = self.action_goal.goal_id.id
00177       length = len(_x)
00178       if python3 or type(_x) == unicode:
00179         _x = _x.encode('utf-8')
00180         length = len(_x)
00181       buff.write(struct.pack('<I%ss'%length, length, _x))
00182       _x = self
00183       buff.write(_struct_3I.pack(_x.action_goal.goal.header.seq, _x.action_goal.goal.header.stamp.secs, _x.action_goal.goal.header.stamp.nsecs))
00184       _x = self.action_goal.goal.header.frame_id
00185       length = len(_x)
00186       if python3 or type(_x) == unicode:
00187         _x = _x.encode('utf-8')
00188         length = len(_x)
00189       buff.write(struct.pack('<I%ss'%length, length, _x))
00190       _x = self
00191       buff.write(_struct_2f3I.pack(_x.action_goal.goal.target, _x.action_goal.goal.tol, _x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs))
00192       _x = self.action_result.header.frame_id
00193       length = len(_x)
00194       if python3 or type(_x) == unicode:
00195         _x = _x.encode('utf-8')
00196         length = len(_x)
00197       buff.write(struct.pack('<I%ss'%length, length, _x))
00198       _x = self
00199       buff.write(_struct_2I.pack(_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs))
00200       _x = self.action_result.status.goal_id.id
00201       length = len(_x)
00202       if python3 or type(_x) == unicode:
00203         _x = _x.encode('utf-8')
00204         length = len(_x)
00205       buff.write(struct.pack('<I%ss'%length, length, _x))
00206       buff.write(_struct_B.pack(self.action_result.status.status))
00207       _x = self.action_result.status.text
00208       length = len(_x)
00209       if python3 or type(_x) == unicode:
00210         _x = _x.encode('utf-8')
00211         length = len(_x)
00212       buff.write(struct.pack('<I%ss'%length, length, _x))
00213       _x = self
00214       buff.write(_struct_f3I.pack(_x.action_result.result.achieved, _x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs))
00215       _x = self.action_feedback.header.frame_id
00216       length = len(_x)
00217       if python3 or type(_x) == unicode:
00218         _x = _x.encode('utf-8')
00219         length = len(_x)
00220       buff.write(struct.pack('<I%ss'%length, length, _x))
00221       _x = self
00222       buff.write(_struct_2I.pack(_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs))
00223       _x = self.action_feedback.status.goal_id.id
00224       length = len(_x)
00225       if python3 or type(_x) == unicode:
00226         _x = _x.encode('utf-8')
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       if python3 or type(_x) == unicode:
00233         _x = _x.encode('utf-8')
00234         length = len(_x)
00235       buff.write(struct.pack('<I%ss'%length, length, _x))
00236     except struct.error as se: self._check_types(se)
00237     except TypeError as te: self._check_types(te)
00238 
00239   def deserialize(self, str):
00240     """
00241     unpack serialized message in str into this message instance
00242     :param str: byte array of serialized message, ``str``
00243     """
00244     try:
00245       if self.action_goal is None:
00246         self.action_goal = flirtlib_ros.msg.RotateInPlaceActionGoal()
00247       if self.action_result is None:
00248         self.action_result = flirtlib_ros.msg.RotateInPlaceActionResult()
00249       if self.action_feedback is None:
00250         self.action_feedback = flirtlib_ros.msg.RotateInPlaceActionFeedback()
00251       end = 0
00252       _x = self
00253       start = end
00254       end += 12
00255       (_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
00256       start = end
00257       end += 4
00258       (length,) = _struct_I.unpack(str[start:end])
00259       start = end
00260       end += length
00261       if python3:
00262         self.action_goal.header.frame_id = str[start:end].decode('utf-8')
00263       else:
00264         self.action_goal.header.frame_id = str[start:end]
00265       _x = self
00266       start = end
00267       end += 8
00268       (_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00269       start = end
00270       end += 4
00271       (length,) = _struct_I.unpack(str[start:end])
00272       start = end
00273       end += length
00274       if python3:
00275         self.action_goal.goal_id.id = str[start:end].decode('utf-8')
00276       else:
00277         self.action_goal.goal_id.id = str[start:end]
00278       _x = self
00279       start = end
00280       end += 12
00281       (_x.action_goal.goal.header.seq, _x.action_goal.goal.header.stamp.secs, _x.action_goal.goal.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
00282       start = end
00283       end += 4
00284       (length,) = _struct_I.unpack(str[start:end])
00285       start = end
00286       end += length
00287       if python3:
00288         self.action_goal.goal.header.frame_id = str[start:end].decode('utf-8')
00289       else:
00290         self.action_goal.goal.header.frame_id = str[start:end]
00291       _x = self
00292       start = end
00293       end += 20
00294       (_x.action_goal.goal.target, _x.action_goal.goal.tol, _x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs,) = _struct_2f3I.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       if python3:
00301         self.action_result.header.frame_id = str[start:end].decode('utf-8')
00302       else:
00303         self.action_result.header.frame_id = str[start:end]
00304       _x = self
00305       start = end
00306       end += 8
00307       (_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00308       start = end
00309       end += 4
00310       (length,) = _struct_I.unpack(str[start:end])
00311       start = end
00312       end += length
00313       if python3:
00314         self.action_result.status.goal_id.id = str[start:end].decode('utf-8')
00315       else:
00316         self.action_result.status.goal_id.id = str[start:end]
00317       start = end
00318       end += 1
00319       (self.action_result.status.status,) = _struct_B.unpack(str[start:end])
00320       start = end
00321       end += 4
00322       (length,) = _struct_I.unpack(str[start:end])
00323       start = end
00324       end += length
00325       if python3:
00326         self.action_result.status.text = str[start:end].decode('utf-8')
00327       else:
00328         self.action_result.status.text = str[start:end]
00329       _x = self
00330       start = end
00331       end += 16
00332       (_x.action_result.result.achieved, _x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs,) = _struct_f3I.unpack(str[start:end])
00333       start = end
00334       end += 4
00335       (length,) = _struct_I.unpack(str[start:end])
00336       start = end
00337       end += length
00338       if python3:
00339         self.action_feedback.header.frame_id = str[start:end].decode('utf-8')
00340       else:
00341         self.action_feedback.header.frame_id = str[start:end]
00342       _x = self
00343       start = end
00344       end += 8
00345       (_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs,) = _struct_2I.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       if python3:
00352         self.action_feedback.status.goal_id.id = str[start:end].decode('utf-8')
00353       else:
00354         self.action_feedback.status.goal_id.id = str[start:end]
00355       start = end
00356       end += 1
00357       (self.action_feedback.status.status,) = _struct_B.unpack(str[start:end])
00358       start = end
00359       end += 4
00360       (length,) = _struct_I.unpack(str[start:end])
00361       start = end
00362       end += length
00363       if python3:
00364         self.action_feedback.status.text = str[start:end].decode('utf-8')
00365       else:
00366         self.action_feedback.status.text = str[start:end]
00367       return self
00368     except struct.error as e:
00369       raise genpy.DeserializationError(e) #most likely buffer underfill
00370 
00371 
00372   def serialize_numpy(self, buff, numpy):
00373     """
00374     serialize message with numpy array types into buffer
00375     :param buff: buffer, ``StringIO``
00376     :param numpy: numpy python module
00377     """
00378     try:
00379       _x = self
00380       buff.write(_struct_3I.pack(_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs))
00381       _x = self.action_goal.header.frame_id
00382       length = len(_x)
00383       if python3 or type(_x) == unicode:
00384         _x = _x.encode('utf-8')
00385         length = len(_x)
00386       buff.write(struct.pack('<I%ss'%length, length, _x))
00387       _x = self
00388       buff.write(_struct_2I.pack(_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs))
00389       _x = self.action_goal.goal_id.id
00390       length = len(_x)
00391       if python3 or type(_x) == unicode:
00392         _x = _x.encode('utf-8')
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.header.seq, _x.action_goal.goal.header.stamp.secs, _x.action_goal.goal.header.stamp.nsecs))
00397       _x = self.action_goal.goal.header.frame_id
00398       length = len(_x)
00399       if python3 or type(_x) == unicode:
00400         _x = _x.encode('utf-8')
00401         length = len(_x)
00402       buff.write(struct.pack('<I%ss'%length, length, _x))
00403       _x = self
00404       buff.write(_struct_2f3I.pack(_x.action_goal.goal.target, _x.action_goal.goal.tol, _x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs))
00405       _x = self.action_result.header.frame_id
00406       length = len(_x)
00407       if python3 or type(_x) == unicode:
00408         _x = _x.encode('utf-8')
00409         length = len(_x)
00410       buff.write(struct.pack('<I%ss'%length, length, _x))
00411       _x = self
00412       buff.write(_struct_2I.pack(_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs))
00413       _x = self.action_result.status.goal_id.id
00414       length = len(_x)
00415       if python3 or type(_x) == unicode:
00416         _x = _x.encode('utf-8')
00417         length = len(_x)
00418       buff.write(struct.pack('<I%ss'%length, length, _x))
00419       buff.write(_struct_B.pack(self.action_result.status.status))
00420       _x = self.action_result.status.text
00421       length = len(_x)
00422       if python3 or type(_x) == unicode:
00423         _x = _x.encode('utf-8')
00424         length = len(_x)
00425       buff.write(struct.pack('<I%ss'%length, length, _x))
00426       _x = self
00427       buff.write(_struct_f3I.pack(_x.action_result.result.achieved, _x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs))
00428       _x = self.action_feedback.header.frame_id
00429       length = len(_x)
00430       if python3 or type(_x) == unicode:
00431         _x = _x.encode('utf-8')
00432         length = len(_x)
00433       buff.write(struct.pack('<I%ss'%length, length, _x))
00434       _x = self
00435       buff.write(_struct_2I.pack(_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs))
00436       _x = self.action_feedback.status.goal_id.id
00437       length = len(_x)
00438       if python3 or type(_x) == unicode:
00439         _x = _x.encode('utf-8')
00440         length = len(_x)
00441       buff.write(struct.pack('<I%ss'%length, length, _x))
00442       buff.write(_struct_B.pack(self.action_feedback.status.status))
00443       _x = self.action_feedback.status.text
00444       length = len(_x)
00445       if python3 or type(_x) == unicode:
00446         _x = _x.encode('utf-8')
00447         length = len(_x)
00448       buff.write(struct.pack('<I%ss'%length, length, _x))
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 = flirtlib_ros.msg.RotateInPlaceActionGoal()
00461       if self.action_result is None:
00462         self.action_result = flirtlib_ros.msg.RotateInPlaceActionResult()
00463       if self.action_feedback is None:
00464         self.action_feedback = flirtlib_ros.msg.RotateInPlaceActionFeedback()
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       _x = self
00493       start = end
00494       end += 12
00495       (_x.action_goal.goal.header.seq, _x.action_goal.goal.header.stamp.secs, _x.action_goal.goal.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
00496       start = end
00497       end += 4
00498       (length,) = _struct_I.unpack(str[start:end])
00499       start = end
00500       end += length
00501       if python3:
00502         self.action_goal.goal.header.frame_id = str[start:end].decode('utf-8')
00503       else:
00504         self.action_goal.goal.header.frame_id = str[start:end]
00505       _x = self
00506       start = end
00507       end += 20
00508       (_x.action_goal.goal.target, _x.action_goal.goal.tol, _x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs,) = _struct_2f3I.unpack(str[start:end])
00509       start = end
00510       end += 4
00511       (length,) = _struct_I.unpack(str[start:end])
00512       start = end
00513       end += length
00514       if python3:
00515         self.action_result.header.frame_id = str[start:end].decode('utf-8')
00516       else:
00517         self.action_result.header.frame_id = str[start:end]
00518       _x = self
00519       start = end
00520       end += 8
00521       (_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00522       start = end
00523       end += 4
00524       (length,) = _struct_I.unpack(str[start:end])
00525       start = end
00526       end += length
00527       if python3:
00528         self.action_result.status.goal_id.id = str[start:end].decode('utf-8')
00529       else:
00530         self.action_result.status.goal_id.id = str[start:end]
00531       start = end
00532       end += 1
00533       (self.action_result.status.status,) = _struct_B.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       if python3:
00540         self.action_result.status.text = str[start:end].decode('utf-8')
00541       else:
00542         self.action_result.status.text = str[start:end]
00543       _x = self
00544       start = end
00545       end += 16
00546       (_x.action_result.result.achieved, _x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs,) = _struct_f3I.unpack(str[start:end])
00547       start = end
00548       end += 4
00549       (length,) = _struct_I.unpack(str[start:end])
00550       start = end
00551       end += length
00552       if python3:
00553         self.action_feedback.header.frame_id = str[start:end].decode('utf-8')
00554       else:
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       if python3:
00566         self.action_feedback.status.goal_id.id = str[start:end].decode('utf-8')
00567       else:
00568         self.action_feedback.status.goal_id.id = str[start:end]
00569       start = end
00570       end += 1
00571       (self.action_feedback.status.status,) = _struct_B.unpack(str[start:end])
00572       start = end
00573       end += 4
00574       (length,) = _struct_I.unpack(str[start:end])
00575       start = end
00576       end += length
00577       if python3:
00578         self.action_feedback.status.text = str[start:end].decode('utf-8')
00579       else:
00580         self.action_feedback.status.text = str[start:end]
00581       return self
00582     except struct.error as e:
00583       raise genpy.DeserializationError(e) #most likely buffer underfill
00584 
00585 _struct_I = genpy.struct_I
00586 _struct_f3I = struct.Struct("<f3I")
00587 _struct_3I = struct.Struct("<3I")
00588 _struct_B = struct.Struct("<B")
00589 _struct_2f3I = struct.Struct("<2f3I")
00590 _struct_2I = struct.Struct("<2I")


flirtlib_ros
Author(s): Bhaskara Marthi
autogenerated on Thu Nov 28 2013 11:21:50