_StitchAction.py
Go to the documentation of this file.
00001 """autogenerated by genpy from pano_ros/StitchAction.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 pano_ros.msg
00008 import genpy
00009 import actionlib_msgs.msg
00010 import std_msgs.msg
00011 
00012 class StitchAction(genpy.Message):
00013   _md5sum = "ab1d70bbe0a37cea2298db1374a78cfa"
00014   _type = "pano_ros/StitchAction"
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 StitchActionGoal action_goal
00019 StitchActionResult action_result
00020 StitchActionFeedback action_feedback
00021 
00022 ================================================================================
00023 MSG: pano_ros/StitchActionGoal
00024 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00025 
00026 Header header
00027 actionlib_msgs/GoalID goal_id
00028 StitchGoal 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: pano_ros/StitchGoal
00063 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00064 # Define the goal
00065 #full path to the input bag that has atleast camera_info and image messages
00066 string bag_file_name
00067 #full path to the desired output file. jpg or png extension required
00068 string stitch_file_name
00069 
00070 ================================================================================
00071 MSG: pano_ros/StitchActionResult
00072 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00073 
00074 Header header
00075 actionlib_msgs/GoalStatus status
00076 StitchResult result
00077 
00078 ================================================================================
00079 MSG: actionlib_msgs/GoalStatus
00080 GoalID goal_id
00081 uint8 status
00082 uint8 PENDING         = 0   # The goal has yet to be processed by the action server
00083 uint8 ACTIVE          = 1   # The goal is currently being processed by the action server
00084 uint8 PREEMPTED       = 2   # The goal received a cancel request after it started executing
00085                             #   and has since completed its execution (Terminal State)
00086 uint8 SUCCEEDED       = 3   # The goal was achieved successfully by the action server (Terminal State)
00087 uint8 ABORTED         = 4   # The goal was aborted during execution by the action server due
00088                             #    to some failure (Terminal State)
00089 uint8 REJECTED        = 5   # The goal was rejected by the action server without being processed,
00090                             #    because the goal was unattainable or invalid (Terminal State)
00091 uint8 PREEMPTING      = 6   # The goal received a cancel request after it started executing
00092                             #    and has not yet completed execution
00093 uint8 RECALLING       = 7   # The goal received a cancel request before it started executing,
00094                             #    but the action server has not yet confirmed that the goal is canceled
00095 uint8 RECALLED        = 8   # The goal received a cancel request before it started executing
00096                             #    and was successfully cancelled (Terminal State)
00097 uint8 LOST            = 9   # An action client can determine that a goal is LOST. This should not be
00098                             #    sent over the wire by an action server
00099 
00100 #Allow for the user to associate a string with GoalStatus for debugging
00101 string text
00102 
00103 
00104 ================================================================================
00105 MSG: pano_ros/StitchResult
00106 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00107 # Define the result
00108 int32 result_flags
00109 int32 PANO_SUCCESS=1
00110 
00111 ================================================================================
00112 MSG: pano_ros/StitchActionFeedback
00113 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00114 
00115 Header header
00116 actionlib_msgs/GoalStatus status
00117 StitchFeedback feedback
00118 
00119 ================================================================================
00120 MSG: pano_ros/StitchFeedback
00121 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00122 # Define a feedback message
00123 float32 percent_complete
00124 
00125 """
00126   __slots__ = ['action_goal','action_result','action_feedback']
00127   _slot_types = ['pano_ros/StitchActionGoal','pano_ros/StitchActionResult','pano_ros/StitchActionFeedback']
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(StitchAction, 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 = pano_ros.msg.StitchActionGoal()
00148       if self.action_result is None:
00149         self.action_result = pano_ros.msg.StitchActionResult()
00150       if self.action_feedback is None:
00151         self.action_feedback = pano_ros.msg.StitchActionFeedback()
00152     else:
00153       self.action_goal = pano_ros.msg.StitchActionGoal()
00154       self.action_result = pano_ros.msg.StitchActionResult()
00155       self.action_feedback = pano_ros.msg.StitchActionFeedback()
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.bag_file_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.action_goal.goal.stitch_file_name
00192       length = len(_x)
00193       if python3 or type(_x) == unicode:
00194         _x = _x.encode('utf-8')
00195         length = len(_x)
00196       buff.write(struct.pack('<I%ss'%length, length, _x))
00197       _x = self
00198       buff.write(_struct_3I.pack(_x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs))
00199       _x = self.action_result.header.frame_id
00200       length = len(_x)
00201       if python3 or type(_x) == unicode:
00202         _x = _x.encode('utf-8')
00203         length = len(_x)
00204       buff.write(struct.pack('<I%ss'%length, length, _x))
00205       _x = self
00206       buff.write(_struct_2I.pack(_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs))
00207       _x = self.action_result.status.goal_id.id
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       buff.write(_struct_B.pack(self.action_result.status.status))
00214       _x = self.action_result.status.text
00215       length = len(_x)
00216       if python3 or type(_x) == unicode:
00217         _x = _x.encode('utf-8')
00218         length = len(_x)
00219       buff.write(struct.pack('<I%ss'%length, length, _x))
00220       _x = self
00221       buff.write(_struct_i3I.pack(_x.action_result.result.result_flags, _x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs))
00222       _x = self.action_feedback.header.frame_id
00223       length = len(_x)
00224       if python3 or type(_x) == unicode:
00225         _x = _x.encode('utf-8')
00226         length = len(_x)
00227       buff.write(struct.pack('<I%ss'%length, length, _x))
00228       _x = self
00229       buff.write(_struct_2I.pack(_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs))
00230       _x = self.action_feedback.status.goal_id.id
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       buff.write(_struct_B.pack(self.action_feedback.status.status))
00237       _x = self.action_feedback.status.text
00238       length = len(_x)
00239       if python3 or type(_x) == unicode:
00240         _x = _x.encode('utf-8')
00241         length = len(_x)
00242       buff.write(struct.pack('<I%ss'%length, length, _x))
00243       buff.write(_struct_f.pack(self.action_feedback.feedback.percent_complete))
00244     except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(_x))))
00245     except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(_x))))
00246 
00247   def deserialize(self, str):
00248     """
00249     unpack serialized message in str into this message instance
00250     :param str: byte array of serialized message, ``str``
00251     """
00252     try:
00253       if self.action_goal is None:
00254         self.action_goal = pano_ros.msg.StitchActionGoal()
00255       if self.action_result is None:
00256         self.action_result = pano_ros.msg.StitchActionResult()
00257       if self.action_feedback is None:
00258         self.action_feedback = pano_ros.msg.StitchActionFeedback()
00259       end = 0
00260       _x = self
00261       start = end
00262       end += 12
00263       (_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
00264       start = end
00265       end += 4
00266       (length,) = _struct_I.unpack(str[start:end])
00267       start = end
00268       end += length
00269       if python3:
00270         self.action_goal.header.frame_id = str[start:end].decode('utf-8')
00271       else:
00272         self.action_goal.header.frame_id = str[start:end]
00273       _x = self
00274       start = end
00275       end += 8
00276       (_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00277       start = end
00278       end += 4
00279       (length,) = _struct_I.unpack(str[start:end])
00280       start = end
00281       end += length
00282       if python3:
00283         self.action_goal.goal_id.id = str[start:end].decode('utf-8')
00284       else:
00285         self.action_goal.goal_id.id = str[start:end]
00286       start = end
00287       end += 4
00288       (length,) = _struct_I.unpack(str[start:end])
00289       start = end
00290       end += length
00291       if python3:
00292         self.action_goal.goal.bag_file_name = str[start:end].decode('utf-8')
00293       else:
00294         self.action_goal.goal.bag_file_name = str[start:end]
00295       start = end
00296       end += 4
00297       (length,) = _struct_I.unpack(str[start:end])
00298       start = end
00299       end += length
00300       if python3:
00301         self.action_goal.goal.stitch_file_name = str[start:end].decode('utf-8')
00302       else:
00303         self.action_goal.goal.stitch_file_name = str[start:end]
00304       _x = self
00305       start = end
00306       end += 12
00307       (_x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs,) = _struct_3I.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.header.frame_id = str[start:end].decode('utf-8')
00315       else:
00316         self.action_result.header.frame_id = str[start:end]
00317       _x = self
00318       start = end
00319       end += 8
00320       (_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00321       start = end
00322       end += 4
00323       (length,) = _struct_I.unpack(str[start:end])
00324       start = end
00325       end += length
00326       if python3:
00327         self.action_result.status.goal_id.id = str[start:end].decode('utf-8')
00328       else:
00329         self.action_result.status.goal_id.id = str[start:end]
00330       start = end
00331       end += 1
00332       (self.action_result.status.status,) = _struct_B.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_result.status.text = str[start:end].decode('utf-8')
00340       else:
00341         self.action_result.status.text = str[start:end]
00342       _x = self
00343       start = end
00344       end += 16
00345       (_x.action_result.result.result_flags, _x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs,) = _struct_i3I.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.header.frame_id = str[start:end].decode('utf-8')
00353       else:
00354         self.action_feedback.header.frame_id = str[start:end]
00355       _x = self
00356       start = end
00357       end += 8
00358       (_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00359       start = end
00360       end += 4
00361       (length,) = _struct_I.unpack(str[start:end])
00362       start = end
00363       end += length
00364       if python3:
00365         self.action_feedback.status.goal_id.id = str[start:end].decode('utf-8')
00366       else:
00367         self.action_feedback.status.goal_id.id = str[start:end]
00368       start = end
00369       end += 1
00370       (self.action_feedback.status.status,) = _struct_B.unpack(str[start:end])
00371       start = end
00372       end += 4
00373       (length,) = _struct_I.unpack(str[start:end])
00374       start = end
00375       end += length
00376       if python3:
00377         self.action_feedback.status.text = str[start:end].decode('utf-8')
00378       else:
00379         self.action_feedback.status.text = str[start:end]
00380       start = end
00381       end += 4
00382       (self.action_feedback.feedback.percent_complete,) = _struct_f.unpack(str[start:end])
00383       return self
00384     except struct.error as e:
00385       raise genpy.DeserializationError(e) #most likely buffer underfill
00386 
00387 
00388   def serialize_numpy(self, buff, numpy):
00389     """
00390     serialize message with numpy array types into buffer
00391     :param buff: buffer, ``StringIO``
00392     :param numpy: numpy python module
00393     """
00394     try:
00395       _x = self
00396       buff.write(_struct_3I.pack(_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs))
00397       _x = self.action_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_2I.pack(_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs))
00405       _x = self.action_goal.goal_id.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.action_goal.goal.bag_file_name
00412       length = len(_x)
00413       if python3 or type(_x) == unicode:
00414         _x = _x.encode('utf-8')
00415         length = len(_x)
00416       buff.write(struct.pack('<I%ss'%length, length, _x))
00417       _x = self.action_goal.goal.stitch_file_name
00418       length = len(_x)
00419       if python3 or type(_x) == unicode:
00420         _x = _x.encode('utf-8')
00421         length = len(_x)
00422       buff.write(struct.pack('<I%ss'%length, length, _x))
00423       _x = self
00424       buff.write(_struct_3I.pack(_x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs))
00425       _x = self.action_result.header.frame_id
00426       length = len(_x)
00427       if python3 or type(_x) == unicode:
00428         _x = _x.encode('utf-8')
00429         length = len(_x)
00430       buff.write(struct.pack('<I%ss'%length, length, _x))
00431       _x = self
00432       buff.write(_struct_2I.pack(_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs))
00433       _x = self.action_result.status.goal_id.id
00434       length = len(_x)
00435       if python3 or type(_x) == unicode:
00436         _x = _x.encode('utf-8')
00437         length = len(_x)
00438       buff.write(struct.pack('<I%ss'%length, length, _x))
00439       buff.write(_struct_B.pack(self.action_result.status.status))
00440       _x = self.action_result.status.text
00441       length = len(_x)
00442       if python3 or type(_x) == unicode:
00443         _x = _x.encode('utf-8')
00444         length = len(_x)
00445       buff.write(struct.pack('<I%ss'%length, length, _x))
00446       _x = self
00447       buff.write(_struct_i3I.pack(_x.action_result.result.result_flags, _x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs))
00448       _x = self.action_feedback.header.frame_id
00449       length = len(_x)
00450       if python3 or type(_x) == unicode:
00451         _x = _x.encode('utf-8')
00452         length = len(_x)
00453       buff.write(struct.pack('<I%ss'%length, length, _x))
00454       _x = self
00455       buff.write(_struct_2I.pack(_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs))
00456       _x = self.action_feedback.status.goal_id.id
00457       length = len(_x)
00458       if python3 or type(_x) == unicode:
00459         _x = _x.encode('utf-8')
00460         length = len(_x)
00461       buff.write(struct.pack('<I%ss'%length, length, _x))
00462       buff.write(_struct_B.pack(self.action_feedback.status.status))
00463       _x = self.action_feedback.status.text
00464       length = len(_x)
00465       if python3 or type(_x) == unicode:
00466         _x = _x.encode('utf-8')
00467         length = len(_x)
00468       buff.write(struct.pack('<I%ss'%length, length, _x))
00469       buff.write(_struct_f.pack(self.action_feedback.feedback.percent_complete))
00470     except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(_x))))
00471     except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(_x))))
00472 
00473   def deserialize_numpy(self, str, numpy):
00474     """
00475     unpack serialized message in str into this message instance using numpy for array types
00476     :param str: byte array of serialized message, ``str``
00477     :param numpy: numpy python module
00478     """
00479     try:
00480       if self.action_goal is None:
00481         self.action_goal = pano_ros.msg.StitchActionGoal()
00482       if self.action_result is None:
00483         self.action_result = pano_ros.msg.StitchActionResult()
00484       if self.action_feedback is None:
00485         self.action_feedback = pano_ros.msg.StitchActionFeedback()
00486       end = 0
00487       _x = self
00488       start = end
00489       end += 12
00490       (_x.action_goal.header.seq, _x.action_goal.header.stamp.secs, _x.action_goal.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
00491       start = end
00492       end += 4
00493       (length,) = _struct_I.unpack(str[start:end])
00494       start = end
00495       end += length
00496       if python3:
00497         self.action_goal.header.frame_id = str[start:end].decode('utf-8')
00498       else:
00499         self.action_goal.header.frame_id = str[start:end]
00500       _x = self
00501       start = end
00502       end += 8
00503       (_x.action_goal.goal_id.stamp.secs, _x.action_goal.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00504       start = end
00505       end += 4
00506       (length,) = _struct_I.unpack(str[start:end])
00507       start = end
00508       end += length
00509       if python3:
00510         self.action_goal.goal_id.id = str[start:end].decode('utf-8')
00511       else:
00512         self.action_goal.goal_id.id = str[start:end]
00513       start = end
00514       end += 4
00515       (length,) = _struct_I.unpack(str[start:end])
00516       start = end
00517       end += length
00518       if python3:
00519         self.action_goal.goal.bag_file_name = str[start:end].decode('utf-8')
00520       else:
00521         self.action_goal.goal.bag_file_name = 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_goal.goal.stitch_file_name = str[start:end].decode('utf-8')
00529       else:
00530         self.action_goal.goal.stitch_file_name = str[start:end]
00531       _x = self
00532       start = end
00533       end += 12
00534       (_x.action_result.header.seq, _x.action_result.header.stamp.secs, _x.action_result.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
00535       start = end
00536       end += 4
00537       (length,) = _struct_I.unpack(str[start:end])
00538       start = end
00539       end += length
00540       if python3:
00541         self.action_result.header.frame_id = str[start:end].decode('utf-8')
00542       else:
00543         self.action_result.header.frame_id = str[start:end]
00544       _x = self
00545       start = end
00546       end += 8
00547       (_x.action_result.status.goal_id.stamp.secs, _x.action_result.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00548       start = end
00549       end += 4
00550       (length,) = _struct_I.unpack(str[start:end])
00551       start = end
00552       end += length
00553       if python3:
00554         self.action_result.status.goal_id.id = str[start:end].decode('utf-8')
00555       else:
00556         self.action_result.status.goal_id.id = str[start:end]
00557       start = end
00558       end += 1
00559       (self.action_result.status.status,) = _struct_B.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_result.status.text = str[start:end].decode('utf-8')
00567       else:
00568         self.action_result.status.text = str[start:end]
00569       _x = self
00570       start = end
00571       end += 16
00572       (_x.action_result.result.result_flags, _x.action_feedback.header.seq, _x.action_feedback.header.stamp.secs, _x.action_feedback.header.stamp.nsecs,) = _struct_i3I.unpack(str[start:end])
00573       start = end
00574       end += 4
00575       (length,) = _struct_I.unpack(str[start:end])
00576       start = end
00577       end += length
00578       if python3:
00579         self.action_feedback.header.frame_id = str[start:end].decode('utf-8')
00580       else:
00581         self.action_feedback.header.frame_id = str[start:end]
00582       _x = self
00583       start = end
00584       end += 8
00585       (_x.action_feedback.status.goal_id.stamp.secs, _x.action_feedback.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00586       start = end
00587       end += 4
00588       (length,) = _struct_I.unpack(str[start:end])
00589       start = end
00590       end += length
00591       if python3:
00592         self.action_feedback.status.goal_id.id = str[start:end].decode('utf-8')
00593       else:
00594         self.action_feedback.status.goal_id.id = str[start:end]
00595       start = end
00596       end += 1
00597       (self.action_feedback.status.status,) = _struct_B.unpack(str[start:end])
00598       start = end
00599       end += 4
00600       (length,) = _struct_I.unpack(str[start:end])
00601       start = end
00602       end += length
00603       if python3:
00604         self.action_feedback.status.text = str[start:end].decode('utf-8')
00605       else:
00606         self.action_feedback.status.text = str[start:end]
00607       start = end
00608       end += 4
00609       (self.action_feedback.feedback.percent_complete,) = _struct_f.unpack(str[start:end])
00610       return self
00611     except struct.error as e:
00612       raise genpy.DeserializationError(e) #most likely buffer underfill
00613 
00614 _struct_I = genpy.struct_I
00615 _struct_3I = struct.Struct("<3I")
00616 _struct_B = struct.Struct("<B")
00617 _struct_2I = struct.Struct("<2I")
00618 _struct_f = struct.Struct("<f")
00619 _struct_i3I = struct.Struct("<i3I")


pano_ros
Author(s): Ethan Rublee, Ken Conley
autogenerated on Mon Oct 6 2014 08:06:11