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