_ParseTableScene.py
Go to the documentation of this file.
00001 """autogenerated by genpy from r2_msgs/ParseTableSceneRequest.msg. Do not edit."""
00002 import sys
00003 python3 = True if sys.hexversion > 0x03000000 else False
00004 import genpy
00005 import struct
00006 
00007 
00008 class ParseTableSceneRequest(genpy.Message):
00009   _md5sum = "fab6d5f499de320aad10749bce1f85cf"
00010   _type = "r2_msgs/ParseTableSceneRequest"
00011   _has_header = False #flag to mark the presence of a Header object
00012   _full_text = """bool cmd
00013 
00014 """
00015   __slots__ = ['cmd']
00016   _slot_types = ['bool']
00017 
00018   def __init__(self, *args, **kwds):
00019     """
00020     Constructor. Any message fields that are implicitly/explicitly
00021     set to None will be assigned a default value. The recommend
00022     use is keyword arguments as this is more robust to future message
00023     changes.  You cannot mix in-order arguments and keyword arguments.
00024 
00025     The available fields are:
00026        cmd
00027 
00028     :param args: complete set of field values, in .msg order
00029     :param kwds: use keyword arguments corresponding to message field names
00030     to set specific fields.
00031     """
00032     if args or kwds:
00033       super(ParseTableSceneRequest, self).__init__(*args, **kwds)
00034       #message fields cannot be None, assign default values for those that are
00035       if self.cmd is None:
00036         self.cmd = False
00037     else:
00038       self.cmd = False
00039 
00040   def _get_types(self):
00041     """
00042     internal API method
00043     """
00044     return self._slot_types
00045 
00046   def serialize(self, buff):
00047     """
00048     serialize message into buffer
00049     :param buff: buffer, ``StringIO``
00050     """
00051     try:
00052       buff.write(_struct_B.pack(self.cmd))
00053     except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(_x))))
00054     except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(_x))))
00055 
00056   def deserialize(self, str):
00057     """
00058     unpack serialized message in str into this message instance
00059     :param str: byte array of serialized message, ``str``
00060     """
00061     try:
00062       end = 0
00063       start = end
00064       end += 1
00065       (self.cmd,) = _struct_B.unpack(str[start:end])
00066       self.cmd = bool(self.cmd)
00067       return self
00068     except struct.error as e:
00069       raise genpy.DeserializationError(e) #most likely buffer underfill
00070 
00071 
00072   def serialize_numpy(self, buff, numpy):
00073     """
00074     serialize message with numpy array types into buffer
00075     :param buff: buffer, ``StringIO``
00076     :param numpy: numpy python module
00077     """
00078     try:
00079       buff.write(_struct_B.pack(self.cmd))
00080     except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(_x))))
00081     except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(_x))))
00082 
00083   def deserialize_numpy(self, str, numpy):
00084     """
00085     unpack serialized message in str into this message instance using numpy for array types
00086     :param str: byte array of serialized message, ``str``
00087     :param numpy: numpy python module
00088     """
00089     try:
00090       end = 0
00091       start = end
00092       end += 1
00093       (self.cmd,) = _struct_B.unpack(str[start:end])
00094       self.cmd = bool(self.cmd)
00095       return self
00096     except struct.error as e:
00097       raise genpy.DeserializationError(e) #most likely buffer underfill
00098 
00099 _struct_I = genpy.struct_I
00100 _struct_B = struct.Struct("<B")
00101 """autogenerated by genpy from r2_msgs/ParseTableSceneResponse.msg. Do not edit."""
00102 import sys
00103 python3 = True if sys.hexversion > 0x03000000 else False
00104 import genpy
00105 import struct
00106 
00107 import genpy
00108 import geometry_msgs.msg
00109 import visualization_msgs.msg
00110 import std_msgs.msg
00111 
00112 class ParseTableSceneResponse(genpy.Message):
00113   _md5sum = "566c52328a1e033030e9a47cba63ed0d"
00114   _type = "r2_msgs/ParseTableSceneResponse"
00115   _has_header = False #flag to mark the presence of a Header object
00116   _full_text = """bool table_found
00117 visualization_msgs/MarkerArray markers
00118 
00119 
00120 ================================================================================
00121 MSG: visualization_msgs/MarkerArray
00122 Marker[] markers
00123 
00124 ================================================================================
00125 MSG: visualization_msgs/Marker
00126 # See http://www.ros.org/wiki/rviz/DisplayTypes/Marker and http://www.ros.org/wiki/rviz/Tutorials/Markers%3A%20Basic%20Shapes for more information on using this message with rviz
00127 
00128 uint8 ARROW=0
00129 uint8 CUBE=1
00130 uint8 SPHERE=2
00131 uint8 CYLINDER=3
00132 uint8 LINE_STRIP=4
00133 uint8 LINE_LIST=5
00134 uint8 CUBE_LIST=6
00135 uint8 SPHERE_LIST=7
00136 uint8 POINTS=8
00137 uint8 TEXT_VIEW_FACING=9
00138 uint8 MESH_RESOURCE=10
00139 uint8 TRIANGLE_LIST=11
00140 
00141 uint8 ADD=0
00142 uint8 MODIFY=0
00143 uint8 DELETE=2
00144 
00145 Header header                        # header for time/frame information
00146 string ns                            # Namespace to place this object in... used in conjunction with id to create a unique name for the object
00147 int32 id                                         # object ID useful in conjunction with the namespace for manipulating and deleting the object later
00148 int32 type                                     # Type of object
00149 int32 action                           # 0 add/modify an object, 1 (deprecated), 2 deletes an object
00150 geometry_msgs/Pose pose                 # Pose of the object
00151 geometry_msgs/Vector3 scale             # Scale of the object 1,1,1 means default (usually 1 meter square)
00152 std_msgs/ColorRGBA color             # Color [0.0-1.0]
00153 duration lifetime                    # How long the object should last before being automatically deleted.  0 means forever
00154 bool frame_locked                    # If this marker should be frame-locked, i.e. retransformed into its frame every timestep
00155 
00156 #Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ...)
00157 geometry_msgs/Point[] points
00158 #Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ...)
00159 #number of colors must either be 0 or equal to the number of points
00160 #NOTE: alpha is not yet used
00161 std_msgs/ColorRGBA[] colors
00162 
00163 # NOTE: only used for text markers
00164 string text
00165 
00166 # NOTE: only used for MESH_RESOURCE markers
00167 string mesh_resource
00168 bool mesh_use_embedded_materials
00169 
00170 ================================================================================
00171 MSG: std_msgs/Header
00172 # Standard metadata for higher-level stamped data types.
00173 # This is generally used to communicate timestamped data 
00174 # in a particular coordinate frame.
00175 # 
00176 # sequence ID: consecutively increasing ID 
00177 uint32 seq
00178 #Two-integer timestamp that is expressed as:
00179 # * stamp.secs: seconds (stamp_secs) since epoch
00180 # * stamp.nsecs: nanoseconds since stamp_secs
00181 # time-handling sugar is provided by the client library
00182 time stamp
00183 #Frame this data is associated with
00184 # 0: no frame
00185 # 1: global frame
00186 string frame_id
00187 
00188 ================================================================================
00189 MSG: geometry_msgs/Pose
00190 # A representation of pose in free space, composed of postion and orientation. 
00191 Point position
00192 Quaternion orientation
00193 
00194 ================================================================================
00195 MSG: geometry_msgs/Point
00196 # This contains the position of a point in free space
00197 float64 x
00198 float64 y
00199 float64 z
00200 
00201 ================================================================================
00202 MSG: geometry_msgs/Quaternion
00203 # This represents an orientation in free space in quaternion form.
00204 
00205 float64 x
00206 float64 y
00207 float64 z
00208 float64 w
00209 
00210 ================================================================================
00211 MSG: geometry_msgs/Vector3
00212 # This represents a vector in free space. 
00213 
00214 float64 x
00215 float64 y
00216 float64 z
00217 ================================================================================
00218 MSG: std_msgs/ColorRGBA
00219 float32 r
00220 float32 g
00221 float32 b
00222 float32 a
00223 
00224 """
00225   __slots__ = ['table_found','markers']
00226   _slot_types = ['bool','visualization_msgs/MarkerArray']
00227 
00228   def __init__(self, *args, **kwds):
00229     """
00230     Constructor. Any message fields that are implicitly/explicitly
00231     set to None will be assigned a default value. The recommend
00232     use is keyword arguments as this is more robust to future message
00233     changes.  You cannot mix in-order arguments and keyword arguments.
00234 
00235     The available fields are:
00236        table_found,markers
00237 
00238     :param args: complete set of field values, in .msg order
00239     :param kwds: use keyword arguments corresponding to message field names
00240     to set specific fields.
00241     """
00242     if args or kwds:
00243       super(ParseTableSceneResponse, self).__init__(*args, **kwds)
00244       #message fields cannot be None, assign default values for those that are
00245       if self.table_found is None:
00246         self.table_found = False
00247       if self.markers is None:
00248         self.markers = visualization_msgs.msg.MarkerArray()
00249     else:
00250       self.table_found = False
00251       self.markers = visualization_msgs.msg.MarkerArray()
00252 
00253   def _get_types(self):
00254     """
00255     internal API method
00256     """
00257     return self._slot_types
00258 
00259   def serialize(self, buff):
00260     """
00261     serialize message into buffer
00262     :param buff: buffer, ``StringIO``
00263     """
00264     try:
00265       buff.write(_struct_B.pack(self.table_found))
00266       length = len(self.markers.markers)
00267       buff.write(_struct_I.pack(length))
00268       for val1 in self.markers.markers:
00269         _v1 = val1.header
00270         buff.write(_struct_I.pack(_v1.seq))
00271         _v2 = _v1.stamp
00272         _x = _v2
00273         buff.write(_struct_2I.pack(_x.secs, _x.nsecs))
00274         _x = _v1.frame_id
00275         length = len(_x)
00276         if python3 or type(_x) == unicode:
00277           _x = _x.encode('utf-8')
00278           length = len(_x)
00279         buff.write(struct.pack('<I%ss'%length, length, _x))
00280         _x = val1.ns
00281         length = len(_x)
00282         if python3 or type(_x) == unicode:
00283           _x = _x.encode('utf-8')
00284           length = len(_x)
00285         buff.write(struct.pack('<I%ss'%length, length, _x))
00286         _x = val1
00287         buff.write(_struct_3i.pack(_x.id, _x.type, _x.action))
00288         _v3 = val1.pose
00289         _v4 = _v3.position
00290         _x = _v4
00291         buff.write(_struct_3d.pack(_x.x, _x.y, _x.z))
00292         _v5 = _v3.orientation
00293         _x = _v5
00294         buff.write(_struct_4d.pack(_x.x, _x.y, _x.z, _x.w))
00295         _v6 = val1.scale
00296         _x = _v6
00297         buff.write(_struct_3d.pack(_x.x, _x.y, _x.z))
00298         _v7 = val1.color
00299         _x = _v7
00300         buff.write(_struct_4f.pack(_x.r, _x.g, _x.b, _x.a))
00301         _v8 = val1.lifetime
00302         _x = _v8
00303         buff.write(_struct_2i.pack(_x.secs, _x.nsecs))
00304         buff.write(_struct_B.pack(val1.frame_locked))
00305         length = len(val1.points)
00306         buff.write(_struct_I.pack(length))
00307         for val2 in val1.points:
00308           _x = val2
00309           buff.write(_struct_3d.pack(_x.x, _x.y, _x.z))
00310         length = len(val1.colors)
00311         buff.write(_struct_I.pack(length))
00312         for val2 in val1.colors:
00313           _x = val2
00314           buff.write(_struct_4f.pack(_x.r, _x.g, _x.b, _x.a))
00315         _x = val1.text
00316         length = len(_x)
00317         if python3 or type(_x) == unicode:
00318           _x = _x.encode('utf-8')
00319           length = len(_x)
00320         buff.write(struct.pack('<I%ss'%length, length, _x))
00321         _x = val1.mesh_resource
00322         length = len(_x)
00323         if python3 or type(_x) == unicode:
00324           _x = _x.encode('utf-8')
00325           length = len(_x)
00326         buff.write(struct.pack('<I%ss'%length, length, _x))
00327         buff.write(_struct_B.pack(val1.mesh_use_embedded_materials))
00328     except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(_x))))
00329     except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(_x))))
00330 
00331   def deserialize(self, str):
00332     """
00333     unpack serialized message in str into this message instance
00334     :param str: byte array of serialized message, ``str``
00335     """
00336     try:
00337       if self.markers is None:
00338         self.markers = visualization_msgs.msg.MarkerArray()
00339       end = 0
00340       start = end
00341       end += 1
00342       (self.table_found,) = _struct_B.unpack(str[start:end])
00343       self.table_found = bool(self.table_found)
00344       start = end
00345       end += 4
00346       (length,) = _struct_I.unpack(str[start:end])
00347       self.markers.markers = []
00348       for i in range(0, length):
00349         val1 = visualization_msgs.msg.Marker()
00350         _v9 = val1.header
00351         start = end
00352         end += 4
00353         (_v9.seq,) = _struct_I.unpack(str[start:end])
00354         _v10 = _v9.stamp
00355         _x = _v10
00356         start = end
00357         end += 8
00358         (_x.secs, _x.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           _v9.frame_id = str[start:end].decode('utf-8')
00366         else:
00367           _v9.frame_id = str[start:end]
00368         start = end
00369         end += 4
00370         (length,) = _struct_I.unpack(str[start:end])
00371         start = end
00372         end += length
00373         if python3:
00374           val1.ns = str[start:end].decode('utf-8')
00375         else:
00376           val1.ns = str[start:end]
00377         _x = val1
00378         start = end
00379         end += 12
00380         (_x.id, _x.type, _x.action,) = _struct_3i.unpack(str[start:end])
00381         _v11 = val1.pose
00382         _v12 = _v11.position
00383         _x = _v12
00384         start = end
00385         end += 24
00386         (_x.x, _x.y, _x.z,) = _struct_3d.unpack(str[start:end])
00387         _v13 = _v11.orientation
00388         _x = _v13
00389         start = end
00390         end += 32
00391         (_x.x, _x.y, _x.z, _x.w,) = _struct_4d.unpack(str[start:end])
00392         _v14 = val1.scale
00393         _x = _v14
00394         start = end
00395         end += 24
00396         (_x.x, _x.y, _x.z,) = _struct_3d.unpack(str[start:end])
00397         _v15 = val1.color
00398         _x = _v15
00399         start = end
00400         end += 16
00401         (_x.r, _x.g, _x.b, _x.a,) = _struct_4f.unpack(str[start:end])
00402         _v16 = val1.lifetime
00403         _x = _v16
00404         start = end
00405         end += 8
00406         (_x.secs, _x.nsecs,) = _struct_2i.unpack(str[start:end])
00407         start = end
00408         end += 1
00409         (val1.frame_locked,) = _struct_B.unpack(str[start:end])
00410         val1.frame_locked = bool(val1.frame_locked)
00411         start = end
00412         end += 4
00413         (length,) = _struct_I.unpack(str[start:end])
00414         val1.points = []
00415         for i in range(0, length):
00416           val2 = geometry_msgs.msg.Point()
00417           _x = val2
00418           start = end
00419           end += 24
00420           (_x.x, _x.y, _x.z,) = _struct_3d.unpack(str[start:end])
00421           val1.points.append(val2)
00422         start = end
00423         end += 4
00424         (length,) = _struct_I.unpack(str[start:end])
00425         val1.colors = []
00426         for i in range(0, length):
00427           val2 = std_msgs.msg.ColorRGBA()
00428           _x = val2
00429           start = end
00430           end += 16
00431           (_x.r, _x.g, _x.b, _x.a,) = _struct_4f.unpack(str[start:end])
00432           val1.colors.append(val2)
00433         start = end
00434         end += 4
00435         (length,) = _struct_I.unpack(str[start:end])
00436         start = end
00437         end += length
00438         if python3:
00439           val1.text = str[start:end].decode('utf-8')
00440         else:
00441           val1.text = str[start:end]
00442         start = end
00443         end += 4
00444         (length,) = _struct_I.unpack(str[start:end])
00445         start = end
00446         end += length
00447         if python3:
00448           val1.mesh_resource = str[start:end].decode('utf-8')
00449         else:
00450           val1.mesh_resource = str[start:end]
00451         start = end
00452         end += 1
00453         (val1.mesh_use_embedded_materials,) = _struct_B.unpack(str[start:end])
00454         val1.mesh_use_embedded_materials = bool(val1.mesh_use_embedded_materials)
00455         self.markers.markers.append(val1)
00456       return self
00457     except struct.error as e:
00458       raise genpy.DeserializationError(e) #most likely buffer underfill
00459 
00460 
00461   def serialize_numpy(self, buff, numpy):
00462     """
00463     serialize message with numpy array types into buffer
00464     :param buff: buffer, ``StringIO``
00465     :param numpy: numpy python module
00466     """
00467     try:
00468       buff.write(_struct_B.pack(self.table_found))
00469       length = len(self.markers.markers)
00470       buff.write(_struct_I.pack(length))
00471       for val1 in self.markers.markers:
00472         _v17 = val1.header
00473         buff.write(_struct_I.pack(_v17.seq))
00474         _v18 = _v17.stamp
00475         _x = _v18
00476         buff.write(_struct_2I.pack(_x.secs, _x.nsecs))
00477         _x = _v17.frame_id
00478         length = len(_x)
00479         if python3 or type(_x) == unicode:
00480           _x = _x.encode('utf-8')
00481           length = len(_x)
00482         buff.write(struct.pack('<I%ss'%length, length, _x))
00483         _x = val1.ns
00484         length = len(_x)
00485         if python3 or type(_x) == unicode:
00486           _x = _x.encode('utf-8')
00487           length = len(_x)
00488         buff.write(struct.pack('<I%ss'%length, length, _x))
00489         _x = val1
00490         buff.write(_struct_3i.pack(_x.id, _x.type, _x.action))
00491         _v19 = val1.pose
00492         _v20 = _v19.position
00493         _x = _v20
00494         buff.write(_struct_3d.pack(_x.x, _x.y, _x.z))
00495         _v21 = _v19.orientation
00496         _x = _v21
00497         buff.write(_struct_4d.pack(_x.x, _x.y, _x.z, _x.w))
00498         _v22 = val1.scale
00499         _x = _v22
00500         buff.write(_struct_3d.pack(_x.x, _x.y, _x.z))
00501         _v23 = val1.color
00502         _x = _v23
00503         buff.write(_struct_4f.pack(_x.r, _x.g, _x.b, _x.a))
00504         _v24 = val1.lifetime
00505         _x = _v24
00506         buff.write(_struct_2i.pack(_x.secs, _x.nsecs))
00507         buff.write(_struct_B.pack(val1.frame_locked))
00508         length = len(val1.points)
00509         buff.write(_struct_I.pack(length))
00510         for val2 in val1.points:
00511           _x = val2
00512           buff.write(_struct_3d.pack(_x.x, _x.y, _x.z))
00513         length = len(val1.colors)
00514         buff.write(_struct_I.pack(length))
00515         for val2 in val1.colors:
00516           _x = val2
00517           buff.write(_struct_4f.pack(_x.r, _x.g, _x.b, _x.a))
00518         _x = val1.text
00519         length = len(_x)
00520         if python3 or type(_x) == unicode:
00521           _x = _x.encode('utf-8')
00522           length = len(_x)
00523         buff.write(struct.pack('<I%ss'%length, length, _x))
00524         _x = val1.mesh_resource
00525         length = len(_x)
00526         if python3 or type(_x) == unicode:
00527           _x = _x.encode('utf-8')
00528           length = len(_x)
00529         buff.write(struct.pack('<I%ss'%length, length, _x))
00530         buff.write(_struct_B.pack(val1.mesh_use_embedded_materials))
00531     except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(_x))))
00532     except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(_x))))
00533 
00534   def deserialize_numpy(self, str, numpy):
00535     """
00536     unpack serialized message in str into this message instance using numpy for array types
00537     :param str: byte array of serialized message, ``str``
00538     :param numpy: numpy python module
00539     """
00540     try:
00541       if self.markers is None:
00542         self.markers = visualization_msgs.msg.MarkerArray()
00543       end = 0
00544       start = end
00545       end += 1
00546       (self.table_found,) = _struct_B.unpack(str[start:end])
00547       self.table_found = bool(self.table_found)
00548       start = end
00549       end += 4
00550       (length,) = _struct_I.unpack(str[start:end])
00551       self.markers.markers = []
00552       for i in range(0, length):
00553         val1 = visualization_msgs.msg.Marker()
00554         _v25 = val1.header
00555         start = end
00556         end += 4
00557         (_v25.seq,) = _struct_I.unpack(str[start:end])
00558         _v26 = _v25.stamp
00559         _x = _v26
00560         start = end
00561         end += 8
00562         (_x.secs, _x.nsecs,) = _struct_2I.unpack(str[start:end])
00563         start = end
00564         end += 4
00565         (length,) = _struct_I.unpack(str[start:end])
00566         start = end
00567         end += length
00568         if python3:
00569           _v25.frame_id = str[start:end].decode('utf-8')
00570         else:
00571           _v25.frame_id = 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           val1.ns = str[start:end].decode('utf-8')
00579         else:
00580           val1.ns = str[start:end]
00581         _x = val1
00582         start = end
00583         end += 12
00584         (_x.id, _x.type, _x.action,) = _struct_3i.unpack(str[start:end])
00585         _v27 = val1.pose
00586         _v28 = _v27.position
00587         _x = _v28
00588         start = end
00589         end += 24
00590         (_x.x, _x.y, _x.z,) = _struct_3d.unpack(str[start:end])
00591         _v29 = _v27.orientation
00592         _x = _v29
00593         start = end
00594         end += 32
00595         (_x.x, _x.y, _x.z, _x.w,) = _struct_4d.unpack(str[start:end])
00596         _v30 = val1.scale
00597         _x = _v30
00598         start = end
00599         end += 24
00600         (_x.x, _x.y, _x.z,) = _struct_3d.unpack(str[start:end])
00601         _v31 = val1.color
00602         _x = _v31
00603         start = end
00604         end += 16
00605         (_x.r, _x.g, _x.b, _x.a,) = _struct_4f.unpack(str[start:end])
00606         _v32 = val1.lifetime
00607         _x = _v32
00608         start = end
00609         end += 8
00610         (_x.secs, _x.nsecs,) = _struct_2i.unpack(str[start:end])
00611         start = end
00612         end += 1
00613         (val1.frame_locked,) = _struct_B.unpack(str[start:end])
00614         val1.frame_locked = bool(val1.frame_locked)
00615         start = end
00616         end += 4
00617         (length,) = _struct_I.unpack(str[start:end])
00618         val1.points = []
00619         for i in range(0, length):
00620           val2 = geometry_msgs.msg.Point()
00621           _x = val2
00622           start = end
00623           end += 24
00624           (_x.x, _x.y, _x.z,) = _struct_3d.unpack(str[start:end])
00625           val1.points.append(val2)
00626         start = end
00627         end += 4
00628         (length,) = _struct_I.unpack(str[start:end])
00629         val1.colors = []
00630         for i in range(0, length):
00631           val2 = std_msgs.msg.ColorRGBA()
00632           _x = val2
00633           start = end
00634           end += 16
00635           (_x.r, _x.g, _x.b, _x.a,) = _struct_4f.unpack(str[start:end])
00636           val1.colors.append(val2)
00637         start = end
00638         end += 4
00639         (length,) = _struct_I.unpack(str[start:end])
00640         start = end
00641         end += length
00642         if python3:
00643           val1.text = str[start:end].decode('utf-8')
00644         else:
00645           val1.text = str[start:end]
00646         start = end
00647         end += 4
00648         (length,) = _struct_I.unpack(str[start:end])
00649         start = end
00650         end += length
00651         if python3:
00652           val1.mesh_resource = str[start:end].decode('utf-8')
00653         else:
00654           val1.mesh_resource = str[start:end]
00655         start = end
00656         end += 1
00657         (val1.mesh_use_embedded_materials,) = _struct_B.unpack(str[start:end])
00658         val1.mesh_use_embedded_materials = bool(val1.mesh_use_embedded_materials)
00659         self.markers.markers.append(val1)
00660       return self
00661     except struct.error as e:
00662       raise genpy.DeserializationError(e) #most likely buffer underfill
00663 
00664 _struct_I = genpy.struct_I
00665 _struct_B = struct.Struct("<B")
00666 _struct_2i = struct.Struct("<2i")
00667 _struct_3i = struct.Struct("<3i")
00668 _struct_4f = struct.Struct("<4f")
00669 _struct_4d = struct.Struct("<4d")
00670 _struct_2I = struct.Struct("<2I")
00671 _struct_3d = struct.Struct("<3d")
00672 class ParseTableScene(object):
00673   _type          = 'r2_msgs/ParseTableScene'
00674   _md5sum = 'e6f7cecbf270ab8d26931896b95a07de'
00675   _request_class  = ParseTableSceneRequest
00676   _response_class = ParseTableSceneResponse


r2_msgs
Author(s): Paul Dinh
autogenerated on Sat Jul 26 2014 06:34:21