$search
00001 """autogenerated by genmsg_py from SetGeometryMapRequest.msg. Do not edit.""" 00002 import roslib.message 00003 import struct 00004 00005 import geometry_msgs.msg 00006 import sensor_msgs.msg 00007 import cob_3d_mapping_msgs.msg 00008 import std_msgs.msg 00009 00010 class SetGeometryMapRequest(roslib.message.Message): 00011 _md5sum = "f0bf8d67881fb4de54c9e8a9fee43e78" 00012 _type = "cob_3d_mapping_msgs/SetGeometryMapRequest" 00013 _has_header = False #flag to mark the presence of a Header object 00014 _full_text = """cob_3d_mapping_msgs/ShapeArray map 00015 00016 ================================================================================ 00017 MSG: cob_3d_mapping_msgs/ShapeArray 00018 # An array of poses with a header for global reference. 00019 00020 Header header 00021 00022 cob_3d_mapping_msgs/Shape[] shapes 00023 ================================================================================ 00024 MSG: std_msgs/Header 00025 # Standard metadata for higher-level stamped data types. 00026 # This is generally used to communicate timestamped data 00027 # in a particular coordinate frame. 00028 # 00029 # sequence ID: consecutively increasing ID 00030 uint32 seq 00031 #Two-integer timestamp that is expressed as: 00032 # * stamp.secs: seconds (stamp_secs) since epoch 00033 # * stamp.nsecs: nanoseconds since stamp_secs 00034 # time-handling sugar is provided by the client library 00035 time stamp 00036 #Frame this data is associated with 00037 # 0: no frame 00038 # 1: global frame 00039 string frame_id 00040 00041 ================================================================================ 00042 MSG: cob_3d_mapping_msgs/Shape 00043 Header header 00044 00045 uint8 POLYGON=0 00046 uint8 LINE=1 00047 uint8 CURVED=2 00048 uint8 MESH=3 00049 uint8 OTHER=4 00050 uint8 CYLINDER=5 00051 # potential extensions: SPHERE, CYLINDER, BOX 00052 00053 uint8 type 00054 00055 00056 int32 id 00057 # define shape parameters 00058 # for plane 00059 # normal vector = params[0],params[1],params[2] 00060 # d = params[3] 00061 # for line 00062 # direction vector = params[0],params[1],params[2] 00063 # 00064 #for cylinder 00065 # symmetry axis = params[0],params[1],params[2] 00066 # z axis = params[3], params[4], params[5] 00067 # origin = params[6], params[7], params[8] 00068 # radius = params[9] 00069 # 00070 float64[] params 00071 00072 sensor_msgs/PointCloud2[] points 00073 00074 #### define mesh #### 00075 # each three entries form a triangle; indices of points are stored 00076 int32[] vertices 00077 00078 geometry_msgs/Point32 centroid 00079 std_msgs/ColorRGBA color 00080 bool[] holes 00081 00082 ================================================================================ 00083 MSG: sensor_msgs/PointCloud2 00084 # This message holds a collection of N-dimensional points, which may 00085 # contain additional information such as normals, intensity, etc. The 00086 # point data is stored as a binary blob, its layout described by the 00087 # contents of the "fields" array. 00088 00089 # The point cloud data may be organized 2d (image-like) or 1d 00090 # (unordered). Point clouds organized as 2d images may be produced by 00091 # camera depth sensors such as stereo or time-of-flight. 00092 00093 # Time of sensor data acquisition, and the coordinate frame ID (for 3d 00094 # points). 00095 Header header 00096 00097 # 2D structure of the point cloud. If the cloud is unordered, height is 00098 # 1 and width is the length of the point cloud. 00099 uint32 height 00100 uint32 width 00101 00102 # Describes the channels and their layout in the binary data blob. 00103 PointField[] fields 00104 00105 bool is_bigendian # Is this data bigendian? 00106 uint32 point_step # Length of a point in bytes 00107 uint32 row_step # Length of a row in bytes 00108 uint8[] data # Actual point data, size is (row_step*height) 00109 00110 bool is_dense # True if there are no invalid points 00111 00112 ================================================================================ 00113 MSG: sensor_msgs/PointField 00114 # This message holds the description of one point entry in the 00115 # PointCloud2 message format. 00116 uint8 INT8 = 1 00117 uint8 UINT8 = 2 00118 uint8 INT16 = 3 00119 uint8 UINT16 = 4 00120 uint8 INT32 = 5 00121 uint8 UINT32 = 6 00122 uint8 FLOAT32 = 7 00123 uint8 FLOAT64 = 8 00124 00125 string name # Name of field 00126 uint32 offset # Offset from start of point struct 00127 uint8 datatype # Datatype enumeration, see above 00128 uint32 count # How many elements in the field 00129 00130 ================================================================================ 00131 MSG: geometry_msgs/Point32 00132 # This contains the position of a point in free space(with 32 bits of precision). 00133 # It is recommeded to use Point wherever possible instead of Point32. 00134 # 00135 # This recommendation is to promote interoperability. 00136 # 00137 # This message is designed to take up less space when sending 00138 # lots of points at once, as in the case of a PointCloud. 00139 00140 float32 x 00141 float32 y 00142 float32 z 00143 ================================================================================ 00144 MSG: std_msgs/ColorRGBA 00145 float32 r 00146 float32 g 00147 float32 b 00148 float32 a 00149 00150 """ 00151 __slots__ = ['map'] 00152 _slot_types = ['cob_3d_mapping_msgs/ShapeArray'] 00153 00154 def __init__(self, *args, **kwds): 00155 """ 00156 Constructor. Any message fields that are implicitly/explicitly 00157 set to None will be assigned a default value. The recommend 00158 use is keyword arguments as this is more robust to future message 00159 changes. You cannot mix in-order arguments and keyword arguments. 00160 00161 The available fields are: 00162 map 00163 00164 @param args: complete set of field values, in .msg order 00165 @param kwds: use keyword arguments corresponding to message field names 00166 to set specific fields. 00167 """ 00168 if args or kwds: 00169 super(SetGeometryMapRequest, self).__init__(*args, **kwds) 00170 #message fields cannot be None, assign default values for those that are 00171 if self.map is None: 00172 self.map = cob_3d_mapping_msgs.msg.ShapeArray() 00173 else: 00174 self.map = cob_3d_mapping_msgs.msg.ShapeArray() 00175 00176 def _get_types(self): 00177 """ 00178 internal API method 00179 """ 00180 return self._slot_types 00181 00182 def serialize(self, buff): 00183 """ 00184 serialize message into buffer 00185 @param buff: buffer 00186 @type buff: StringIO 00187 """ 00188 try: 00189 _x = self 00190 buff.write(_struct_3I.pack(_x.map.header.seq, _x.map.header.stamp.secs, _x.map.header.stamp.nsecs)) 00191 _x = self.map.header.frame_id 00192 length = len(_x) 00193 buff.write(struct.pack('<I%ss'%length, length, _x)) 00194 length = len(self.map.shapes) 00195 buff.write(_struct_I.pack(length)) 00196 for val1 in self.map.shapes: 00197 _v1 = val1.header 00198 buff.write(_struct_I.pack(_v1.seq)) 00199 _v2 = _v1.stamp 00200 _x = _v2 00201 buff.write(_struct_2I.pack(_x.secs, _x.nsecs)) 00202 _x = _v1.frame_id 00203 length = len(_x) 00204 buff.write(struct.pack('<I%ss'%length, length, _x)) 00205 _x = val1 00206 buff.write(_struct_Bi.pack(_x.type, _x.id)) 00207 length = len(val1.params) 00208 buff.write(_struct_I.pack(length)) 00209 pattern = '<%sd'%length 00210 buff.write(struct.pack(pattern, *val1.params)) 00211 length = len(val1.points) 00212 buff.write(_struct_I.pack(length)) 00213 for val2 in val1.points: 00214 _v3 = val2.header 00215 buff.write(_struct_I.pack(_v3.seq)) 00216 _v4 = _v3.stamp 00217 _x = _v4 00218 buff.write(_struct_2I.pack(_x.secs, _x.nsecs)) 00219 _x = _v3.frame_id 00220 length = len(_x) 00221 buff.write(struct.pack('<I%ss'%length, length, _x)) 00222 _x = val2 00223 buff.write(_struct_2I.pack(_x.height, _x.width)) 00224 length = len(val2.fields) 00225 buff.write(_struct_I.pack(length)) 00226 for val3 in val2.fields: 00227 _x = val3.name 00228 length = len(_x) 00229 buff.write(struct.pack('<I%ss'%length, length, _x)) 00230 _x = val3 00231 buff.write(_struct_IBI.pack(_x.offset, _x.datatype, _x.count)) 00232 _x = val2 00233 buff.write(_struct_B2I.pack(_x.is_bigendian, _x.point_step, _x.row_step)) 00234 _x = val2.data 00235 length = len(_x) 00236 # - if encoded as a list instead, serialize as bytes instead of string 00237 if type(_x) in [list, tuple]: 00238 buff.write(struct.pack('<I%sB'%length, length, *_x)) 00239 else: 00240 buff.write(struct.pack('<I%ss'%length, length, _x)) 00241 buff.write(_struct_B.pack(val2.is_dense)) 00242 length = len(val1.vertices) 00243 buff.write(_struct_I.pack(length)) 00244 pattern = '<%si'%length 00245 buff.write(struct.pack(pattern, *val1.vertices)) 00246 _v5 = val1.centroid 00247 _x = _v5 00248 buff.write(_struct_3f.pack(_x.x, _x.y, _x.z)) 00249 _v6 = val1.color 00250 _x = _v6 00251 buff.write(_struct_4f.pack(_x.r, _x.g, _x.b, _x.a)) 00252 length = len(val1.holes) 00253 buff.write(_struct_I.pack(length)) 00254 pattern = '<%sB'%length 00255 buff.write(struct.pack(pattern, *val1.holes)) 00256 except struct.error as se: self._check_types(se) 00257 except TypeError as te: self._check_types(te) 00258 00259 def deserialize(self, str): 00260 """ 00261 unpack serialized message in str into this message instance 00262 @param str: byte array of serialized message 00263 @type str: str 00264 """ 00265 try: 00266 if self.map is None: 00267 self.map = cob_3d_mapping_msgs.msg.ShapeArray() 00268 end = 0 00269 _x = self 00270 start = end 00271 end += 12 00272 (_x.map.header.seq, _x.map.header.stamp.secs, _x.map.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end]) 00273 start = end 00274 end += 4 00275 (length,) = _struct_I.unpack(str[start:end]) 00276 start = end 00277 end += length 00278 self.map.header.frame_id = str[start:end] 00279 start = end 00280 end += 4 00281 (length,) = _struct_I.unpack(str[start:end]) 00282 self.map.shapes = [] 00283 for i in range(0, length): 00284 val1 = cob_3d_mapping_msgs.msg.Shape() 00285 _v7 = val1.header 00286 start = end 00287 end += 4 00288 (_v7.seq,) = _struct_I.unpack(str[start:end]) 00289 _v8 = _v7.stamp 00290 _x = _v8 00291 start = end 00292 end += 8 00293 (_x.secs, _x.nsecs,) = _struct_2I.unpack(str[start:end]) 00294 start = end 00295 end += 4 00296 (length,) = _struct_I.unpack(str[start:end]) 00297 start = end 00298 end += length 00299 _v7.frame_id = str[start:end] 00300 _x = val1 00301 start = end 00302 end += 5 00303 (_x.type, _x.id,) = _struct_Bi.unpack(str[start:end]) 00304 start = end 00305 end += 4 00306 (length,) = _struct_I.unpack(str[start:end]) 00307 pattern = '<%sd'%length 00308 start = end 00309 end += struct.calcsize(pattern) 00310 val1.params = struct.unpack(pattern, str[start:end]) 00311 start = end 00312 end += 4 00313 (length,) = _struct_I.unpack(str[start:end]) 00314 val1.points = [] 00315 for i in range(0, length): 00316 val2 = sensor_msgs.msg.PointCloud2() 00317 _v9 = val2.header 00318 start = end 00319 end += 4 00320 (_v9.seq,) = _struct_I.unpack(str[start:end]) 00321 _v10 = _v9.stamp 00322 _x = _v10 00323 start = end 00324 end += 8 00325 (_x.secs, _x.nsecs,) = _struct_2I.unpack(str[start:end]) 00326 start = end 00327 end += 4 00328 (length,) = _struct_I.unpack(str[start:end]) 00329 start = end 00330 end += length 00331 _v9.frame_id = str[start:end] 00332 _x = val2 00333 start = end 00334 end += 8 00335 (_x.height, _x.width,) = _struct_2I.unpack(str[start:end]) 00336 start = end 00337 end += 4 00338 (length,) = _struct_I.unpack(str[start:end]) 00339 val2.fields = [] 00340 for i in range(0, length): 00341 val3 = sensor_msgs.msg.PointField() 00342 start = end 00343 end += 4 00344 (length,) = _struct_I.unpack(str[start:end]) 00345 start = end 00346 end += length 00347 val3.name = str[start:end] 00348 _x = val3 00349 start = end 00350 end += 9 00351 (_x.offset, _x.datatype, _x.count,) = _struct_IBI.unpack(str[start:end]) 00352 val2.fields.append(val3) 00353 _x = val2 00354 start = end 00355 end += 9 00356 (_x.is_bigendian, _x.point_step, _x.row_step,) = _struct_B2I.unpack(str[start:end]) 00357 val2.is_bigendian = bool(val2.is_bigendian) 00358 start = end 00359 end += 4 00360 (length,) = _struct_I.unpack(str[start:end]) 00361 start = end 00362 end += length 00363 val2.data = str[start:end] 00364 start = end 00365 end += 1 00366 (val2.is_dense,) = _struct_B.unpack(str[start:end]) 00367 val2.is_dense = bool(val2.is_dense) 00368 val1.points.append(val2) 00369 start = end 00370 end += 4 00371 (length,) = _struct_I.unpack(str[start:end]) 00372 pattern = '<%si'%length 00373 start = end 00374 end += struct.calcsize(pattern) 00375 val1.vertices = struct.unpack(pattern, str[start:end]) 00376 _v11 = val1.centroid 00377 _x = _v11 00378 start = end 00379 end += 12 00380 (_x.x, _x.y, _x.z,) = _struct_3f.unpack(str[start:end]) 00381 _v12 = val1.color 00382 _x = _v12 00383 start = end 00384 end += 16 00385 (_x.r, _x.g, _x.b, _x.a,) = _struct_4f.unpack(str[start:end]) 00386 start = end 00387 end += 4 00388 (length,) = _struct_I.unpack(str[start:end]) 00389 pattern = '<%sB'%length 00390 start = end 00391 end += struct.calcsize(pattern) 00392 val1.holes = struct.unpack(pattern, str[start:end]) 00393 val1.holes = map(bool, val1.holes) 00394 self.map.shapes.append(val1) 00395 return self 00396 except struct.error as e: 00397 raise roslib.message.DeserializationError(e) #most likely buffer underfill 00398 00399 00400 def serialize_numpy(self, buff, numpy): 00401 """ 00402 serialize message with numpy array types into buffer 00403 @param buff: buffer 00404 @type buff: StringIO 00405 @param numpy: numpy python module 00406 @type numpy module 00407 """ 00408 try: 00409 _x = self 00410 buff.write(_struct_3I.pack(_x.map.header.seq, _x.map.header.stamp.secs, _x.map.header.stamp.nsecs)) 00411 _x = self.map.header.frame_id 00412 length = len(_x) 00413 buff.write(struct.pack('<I%ss'%length, length, _x)) 00414 length = len(self.map.shapes) 00415 buff.write(_struct_I.pack(length)) 00416 for val1 in self.map.shapes: 00417 _v13 = val1.header 00418 buff.write(_struct_I.pack(_v13.seq)) 00419 _v14 = _v13.stamp 00420 _x = _v14 00421 buff.write(_struct_2I.pack(_x.secs, _x.nsecs)) 00422 _x = _v13.frame_id 00423 length = len(_x) 00424 buff.write(struct.pack('<I%ss'%length, length, _x)) 00425 _x = val1 00426 buff.write(_struct_Bi.pack(_x.type, _x.id)) 00427 length = len(val1.params) 00428 buff.write(_struct_I.pack(length)) 00429 pattern = '<%sd'%length 00430 buff.write(val1.params.tostring()) 00431 length = len(val1.points) 00432 buff.write(_struct_I.pack(length)) 00433 for val2 in val1.points: 00434 _v15 = val2.header 00435 buff.write(_struct_I.pack(_v15.seq)) 00436 _v16 = _v15.stamp 00437 _x = _v16 00438 buff.write(_struct_2I.pack(_x.secs, _x.nsecs)) 00439 _x = _v15.frame_id 00440 length = len(_x) 00441 buff.write(struct.pack('<I%ss'%length, length, _x)) 00442 _x = val2 00443 buff.write(_struct_2I.pack(_x.height, _x.width)) 00444 length = len(val2.fields) 00445 buff.write(_struct_I.pack(length)) 00446 for val3 in val2.fields: 00447 _x = val3.name 00448 length = len(_x) 00449 buff.write(struct.pack('<I%ss'%length, length, _x)) 00450 _x = val3 00451 buff.write(_struct_IBI.pack(_x.offset, _x.datatype, _x.count)) 00452 _x = val2 00453 buff.write(_struct_B2I.pack(_x.is_bigendian, _x.point_step, _x.row_step)) 00454 _x = val2.data 00455 length = len(_x) 00456 # - if encoded as a list instead, serialize as bytes instead of string 00457 if type(_x) in [list, tuple]: 00458 buff.write(struct.pack('<I%sB'%length, length, *_x)) 00459 else: 00460 buff.write(struct.pack('<I%ss'%length, length, _x)) 00461 buff.write(_struct_B.pack(val2.is_dense)) 00462 length = len(val1.vertices) 00463 buff.write(_struct_I.pack(length)) 00464 pattern = '<%si'%length 00465 buff.write(val1.vertices.tostring()) 00466 _v17 = val1.centroid 00467 _x = _v17 00468 buff.write(_struct_3f.pack(_x.x, _x.y, _x.z)) 00469 _v18 = val1.color 00470 _x = _v18 00471 buff.write(_struct_4f.pack(_x.r, _x.g, _x.b, _x.a)) 00472 length = len(val1.holes) 00473 buff.write(_struct_I.pack(length)) 00474 pattern = '<%sB'%length 00475 buff.write(val1.holes.tostring()) 00476 except struct.error as se: self._check_types(se) 00477 except TypeError as te: self._check_types(te) 00478 00479 def deserialize_numpy(self, str, numpy): 00480 """ 00481 unpack serialized message in str into this message instance using numpy for array types 00482 @param str: byte array of serialized message 00483 @type str: str 00484 @param numpy: numpy python module 00485 @type numpy: module 00486 """ 00487 try: 00488 if self.map is None: 00489 self.map = cob_3d_mapping_msgs.msg.ShapeArray() 00490 end = 0 00491 _x = self 00492 start = end 00493 end += 12 00494 (_x.map.header.seq, _x.map.header.stamp.secs, _x.map.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end]) 00495 start = end 00496 end += 4 00497 (length,) = _struct_I.unpack(str[start:end]) 00498 start = end 00499 end += length 00500 self.map.header.frame_id = str[start:end] 00501 start = end 00502 end += 4 00503 (length,) = _struct_I.unpack(str[start:end]) 00504 self.map.shapes = [] 00505 for i in range(0, length): 00506 val1 = cob_3d_mapping_msgs.msg.Shape() 00507 _v19 = val1.header 00508 start = end 00509 end += 4 00510 (_v19.seq,) = _struct_I.unpack(str[start:end]) 00511 _v20 = _v19.stamp 00512 _x = _v20 00513 start = end 00514 end += 8 00515 (_x.secs, _x.nsecs,) = _struct_2I.unpack(str[start:end]) 00516 start = end 00517 end += 4 00518 (length,) = _struct_I.unpack(str[start:end]) 00519 start = end 00520 end += length 00521 _v19.frame_id = str[start:end] 00522 _x = val1 00523 start = end 00524 end += 5 00525 (_x.type, _x.id,) = _struct_Bi.unpack(str[start:end]) 00526 start = end 00527 end += 4 00528 (length,) = _struct_I.unpack(str[start:end]) 00529 pattern = '<%sd'%length 00530 start = end 00531 end += struct.calcsize(pattern) 00532 val1.params = numpy.frombuffer(str[start:end], dtype=numpy.float64, count=length) 00533 start = end 00534 end += 4 00535 (length,) = _struct_I.unpack(str[start:end]) 00536 val1.points = [] 00537 for i in range(0, length): 00538 val2 = sensor_msgs.msg.PointCloud2() 00539 _v21 = val2.header 00540 start = end 00541 end += 4 00542 (_v21.seq,) = _struct_I.unpack(str[start:end]) 00543 _v22 = _v21.stamp 00544 _x = _v22 00545 start = end 00546 end += 8 00547 (_x.secs, _x.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 _v21.frame_id = str[start:end] 00554 _x = val2 00555 start = end 00556 end += 8 00557 (_x.height, _x.width,) = _struct_2I.unpack(str[start:end]) 00558 start = end 00559 end += 4 00560 (length,) = _struct_I.unpack(str[start:end]) 00561 val2.fields = [] 00562 for i in range(0, length): 00563 val3 = sensor_msgs.msg.PointField() 00564 start = end 00565 end += 4 00566 (length,) = _struct_I.unpack(str[start:end]) 00567 start = end 00568 end += length 00569 val3.name = str[start:end] 00570 _x = val3 00571 start = end 00572 end += 9 00573 (_x.offset, _x.datatype, _x.count,) = _struct_IBI.unpack(str[start:end]) 00574 val2.fields.append(val3) 00575 _x = val2 00576 start = end 00577 end += 9 00578 (_x.is_bigendian, _x.point_step, _x.row_step,) = _struct_B2I.unpack(str[start:end]) 00579 val2.is_bigendian = bool(val2.is_bigendian) 00580 start = end 00581 end += 4 00582 (length,) = _struct_I.unpack(str[start:end]) 00583 start = end 00584 end += length 00585 val2.data = str[start:end] 00586 start = end 00587 end += 1 00588 (val2.is_dense,) = _struct_B.unpack(str[start:end]) 00589 val2.is_dense = bool(val2.is_dense) 00590 val1.points.append(val2) 00591 start = end 00592 end += 4 00593 (length,) = _struct_I.unpack(str[start:end]) 00594 pattern = '<%si'%length 00595 start = end 00596 end += struct.calcsize(pattern) 00597 val1.vertices = numpy.frombuffer(str[start:end], dtype=numpy.int32, count=length) 00598 _v23 = val1.centroid 00599 _x = _v23 00600 start = end 00601 end += 12 00602 (_x.x, _x.y, _x.z,) = _struct_3f.unpack(str[start:end]) 00603 _v24 = val1.color 00604 _x = _v24 00605 start = end 00606 end += 16 00607 (_x.r, _x.g, _x.b, _x.a,) = _struct_4f.unpack(str[start:end]) 00608 start = end 00609 end += 4 00610 (length,) = _struct_I.unpack(str[start:end]) 00611 pattern = '<%sB'%length 00612 start = end 00613 end += struct.calcsize(pattern) 00614 val1.holes = numpy.frombuffer(str[start:end], dtype=numpy.bool, count=length) 00615 val1.holes = map(bool, val1.holes) 00616 self.map.shapes.append(val1) 00617 return self 00618 except struct.error as e: 00619 raise roslib.message.DeserializationError(e) #most likely buffer underfill 00620 00621 _struct_I = roslib.message.struct_I 00622 _struct_IBI = struct.Struct("<IBI") 00623 _struct_B = struct.Struct("<B") 00624 _struct_Bi = struct.Struct("<Bi") 00625 _struct_3f = struct.Struct("<3f") 00626 _struct_3I = struct.Struct("<3I") 00627 _struct_B2I = struct.Struct("<B2I") 00628 _struct_4f = struct.Struct("<4f") 00629 _struct_2I = struct.Struct("<2I") 00630 """autogenerated by genmsg_py from SetGeometryMapResponse.msg. Do not edit.""" 00631 import roslib.message 00632 import struct 00633 00634 00635 class SetGeometryMapResponse(roslib.message.Message): 00636 _md5sum = "d41d8cd98f00b204e9800998ecf8427e" 00637 _type = "cob_3d_mapping_msgs/SetGeometryMapResponse" 00638 _has_header = False #flag to mark the presence of a Header object 00639 _full_text = """ 00640 00641 """ 00642 __slots__ = [] 00643 _slot_types = [] 00644 00645 def __init__(self, *args, **kwds): 00646 """ 00647 Constructor. Any message fields that are implicitly/explicitly 00648 set to None will be assigned a default value. The recommend 00649 use is keyword arguments as this is more robust to future message 00650 changes. You cannot mix in-order arguments and keyword arguments. 00651 00652 The available fields are: 00653 00654 00655 @param args: complete set of field values, in .msg order 00656 @param kwds: use keyword arguments corresponding to message field names 00657 to set specific fields. 00658 """ 00659 if args or kwds: 00660 super(SetGeometryMapResponse, self).__init__(*args, **kwds) 00661 00662 def _get_types(self): 00663 """ 00664 internal API method 00665 """ 00666 return self._slot_types 00667 00668 def serialize(self, buff): 00669 """ 00670 serialize message into buffer 00671 @param buff: buffer 00672 @type buff: StringIO 00673 """ 00674 try: 00675 pass 00676 except struct.error as se: self._check_types(se) 00677 except TypeError as te: self._check_types(te) 00678 00679 def deserialize(self, str): 00680 """ 00681 unpack serialized message in str into this message instance 00682 @param str: byte array of serialized message 00683 @type str: str 00684 """ 00685 try: 00686 end = 0 00687 return self 00688 except struct.error as e: 00689 raise roslib.message.DeserializationError(e) #most likely buffer underfill 00690 00691 00692 def serialize_numpy(self, buff, numpy): 00693 """ 00694 serialize message with numpy array types into buffer 00695 @param buff: buffer 00696 @type buff: StringIO 00697 @param numpy: numpy python module 00698 @type numpy module 00699 """ 00700 try: 00701 pass 00702 except struct.error as se: self._check_types(se) 00703 except TypeError as te: self._check_types(te) 00704 00705 def deserialize_numpy(self, str, numpy): 00706 """ 00707 unpack serialized message in str into this message instance using numpy for array types 00708 @param str: byte array of serialized message 00709 @type str: str 00710 @param numpy: numpy python module 00711 @type numpy: module 00712 """ 00713 try: 00714 end = 0 00715 return self 00716 except struct.error as e: 00717 raise roslib.message.DeserializationError(e) #most likely buffer underfill 00718 00719 _struct_I = roslib.message.struct_I 00720 class SetGeometryMap(roslib.message.ServiceDefinition): 00721 _type = 'cob_3d_mapping_msgs/SetGeometryMap' 00722 _md5sum = 'f0bf8d67881fb4de54c9e8a9fee43e78' 00723 _request_class = SetGeometryMapRequest 00724 _response_class = SetGeometryMapResponse