$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-srs_common/doc_stacks/2013-03-02_13-44-44.967682/srs_common/srs_object_database_msgs/srv/GetData.srv */ 00002 #ifndef SRS_OBJECT_DATABASE_MSGS_SERVICE_GETDATA_H 00003 #define SRS_OBJECT_DATABASE_MSGS_SERVICE_GETDATA_H 00004 #include <string> 00005 #include <vector> 00006 #include <map> 00007 #include <ostream> 00008 #include "ros/serialization.h" 00009 #include "ros/builtin_message_traits.h" 00010 #include "ros/message_operations.h" 00011 #include "ros/time.h" 00012 00013 #include "ros/macros.h" 00014 00015 #include "ros/assert.h" 00016 00017 #include "ros/service_traits.h" 00018 00019 00020 00021 #include "srs_object_database_msgs/img.h" 00022 #include "srs_object_database_msgs/mesh.h" 00023 #include "srs_object_database_msgs/pcl.h" 00024 #include "srs_object_database_msgs/surf.h" 00025 #include "srs_object_database_msgs/grasp.h" 00026 #include "srs_object_database_msgs/urdf.h" 00027 00028 namespace srs_object_database_msgs 00029 { 00030 template <class ContainerAllocator> 00031 struct GetDataRequest_ { 00032 typedef GetDataRequest_<ContainerAllocator> Type; 00033 00034 GetDataRequest_() 00035 : model_ids() 00036 , description() 00037 , mesh(false) 00038 , pcl(false) 00039 , surf(false) 00040 , image(false) 00041 , grasp(false) 00042 , urdf(false) 00043 { 00044 } 00045 00046 GetDataRequest_(const ContainerAllocator& _alloc) 00047 : model_ids(_alloc) 00048 , description(_alloc) 00049 , mesh(false) 00050 , pcl(false) 00051 , surf(false) 00052 , image(false) 00053 , grasp(false) 00054 , urdf(false) 00055 { 00056 } 00057 00058 typedef std::vector<int32_t, typename ContainerAllocator::template rebind<int32_t>::other > _model_ids_type; 00059 std::vector<int32_t, typename ContainerAllocator::template rebind<int32_t>::other > model_ids; 00060 00061 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _description_type; 00062 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > description; 00063 00064 typedef uint8_t _mesh_type; 00065 uint8_t mesh; 00066 00067 typedef uint8_t _pcl_type; 00068 uint8_t pcl; 00069 00070 typedef uint8_t _surf_type; 00071 uint8_t surf; 00072 00073 typedef uint8_t _image_type; 00074 uint8_t image; 00075 00076 typedef uint8_t _grasp_type; 00077 uint8_t grasp; 00078 00079 typedef uint8_t _urdf_type; 00080 uint8_t urdf; 00081 00082 00083 ROS_DEPRECATED uint32_t get_model_ids_size() const { return (uint32_t)model_ids.size(); } 00084 ROS_DEPRECATED void set_model_ids_size(uint32_t size) { model_ids.resize((size_t)size); } 00085 ROS_DEPRECATED void get_model_ids_vec(std::vector<int32_t, typename ContainerAllocator::template rebind<int32_t>::other > & vec) const { vec = this->model_ids; } 00086 ROS_DEPRECATED void set_model_ids_vec(const std::vector<int32_t, typename ContainerAllocator::template rebind<int32_t>::other > & vec) { this->model_ids = vec; } 00087 private: 00088 static const char* __s_getDataType_() { return "srs_object_database_msgs/GetDataRequest"; } 00089 public: 00090 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00091 00092 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00093 00094 private: 00095 static const char* __s_getMD5Sum_() { return "e322fea33bcf470d266fe9ce0878bcf2"; } 00096 public: 00097 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00098 00099 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00100 00101 private: 00102 static const char* __s_getServerMD5Sum_() { return "0fb0cdcd6e164bc63c7643c4232719fe"; } 00103 public: 00104 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00105 00106 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00107 00108 private: 00109 static const char* __s_getMessageDefinition_() { return "\n\ 00110 \n\ 00111 \n\ 00112 \n\ 00113 \n\ 00114 \n\ 00115 int32[] model_ids\n\ 00116 string description\n\ 00117 \n\ 00118 \n\ 00119 \n\ 00120 bool mesh\n\ 00121 bool pcl\n\ 00122 bool surf\n\ 00123 bool image\n\ 00124 bool grasp\n\ 00125 bool urdf\n\ 00126 \n\ 00127 \n\ 00128 \n\ 00129 "; } 00130 public: 00131 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00132 00133 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00134 00135 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00136 { 00137 ros::serialization::OStream stream(write_ptr, 1000000000); 00138 ros::serialization::serialize(stream, model_ids); 00139 ros::serialization::serialize(stream, description); 00140 ros::serialization::serialize(stream, mesh); 00141 ros::serialization::serialize(stream, pcl); 00142 ros::serialization::serialize(stream, surf); 00143 ros::serialization::serialize(stream, image); 00144 ros::serialization::serialize(stream, grasp); 00145 ros::serialization::serialize(stream, urdf); 00146 return stream.getData(); 00147 } 00148 00149 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00150 { 00151 ros::serialization::IStream stream(read_ptr, 1000000000); 00152 ros::serialization::deserialize(stream, model_ids); 00153 ros::serialization::deserialize(stream, description); 00154 ros::serialization::deserialize(stream, mesh); 00155 ros::serialization::deserialize(stream, pcl); 00156 ros::serialization::deserialize(stream, surf); 00157 ros::serialization::deserialize(stream, image); 00158 ros::serialization::deserialize(stream, grasp); 00159 ros::serialization::deserialize(stream, urdf); 00160 return stream.getData(); 00161 } 00162 00163 ROS_DEPRECATED virtual uint32_t serializationLength() const 00164 { 00165 uint32_t size = 0; 00166 size += ros::serialization::serializationLength(model_ids); 00167 size += ros::serialization::serializationLength(description); 00168 size += ros::serialization::serializationLength(mesh); 00169 size += ros::serialization::serializationLength(pcl); 00170 size += ros::serialization::serializationLength(surf); 00171 size += ros::serialization::serializationLength(image); 00172 size += ros::serialization::serializationLength(grasp); 00173 size += ros::serialization::serializationLength(urdf); 00174 return size; 00175 } 00176 00177 typedef boost::shared_ptr< ::srs_object_database_msgs::GetDataRequest_<ContainerAllocator> > Ptr; 00178 typedef boost::shared_ptr< ::srs_object_database_msgs::GetDataRequest_<ContainerAllocator> const> ConstPtr; 00179 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00180 }; // struct GetDataRequest 00181 typedef ::srs_object_database_msgs::GetDataRequest_<std::allocator<void> > GetDataRequest; 00182 00183 typedef boost::shared_ptr< ::srs_object_database_msgs::GetDataRequest> GetDataRequestPtr; 00184 typedef boost::shared_ptr< ::srs_object_database_msgs::GetDataRequest const> GetDataRequestConstPtr; 00185 00186 00187 template <class ContainerAllocator> 00188 struct GetDataResponse_ { 00189 typedef GetDataResponse_<ContainerAllocator> Type; 00190 00191 GetDataResponse_() 00192 : return_response() 00193 , img() 00194 , mesh() 00195 , pcl() 00196 , surf() 00197 , grasp() 00198 , urdf() 00199 { 00200 } 00201 00202 GetDataResponse_(const ContainerAllocator& _alloc) 00203 : return_response(_alloc) 00204 , img(_alloc) 00205 , mesh(_alloc) 00206 , pcl(_alloc) 00207 , surf(_alloc) 00208 , grasp(_alloc) 00209 , urdf(_alloc) 00210 { 00211 } 00212 00213 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _return_response_type; 00214 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > return_response; 00215 00216 typedef std::vector< ::srs_object_database_msgs::img_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_object_database_msgs::img_<ContainerAllocator> >::other > _img_type; 00217 std::vector< ::srs_object_database_msgs::img_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_object_database_msgs::img_<ContainerAllocator> >::other > img; 00218 00219 typedef std::vector< ::srs_object_database_msgs::mesh_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_object_database_msgs::mesh_<ContainerAllocator> >::other > _mesh_type; 00220 std::vector< ::srs_object_database_msgs::mesh_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_object_database_msgs::mesh_<ContainerAllocator> >::other > mesh; 00221 00222 typedef std::vector< ::srs_object_database_msgs::pcl_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_object_database_msgs::pcl_<ContainerAllocator> >::other > _pcl_type; 00223 std::vector< ::srs_object_database_msgs::pcl_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_object_database_msgs::pcl_<ContainerAllocator> >::other > pcl; 00224 00225 typedef std::vector< ::srs_object_database_msgs::surf_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_object_database_msgs::surf_<ContainerAllocator> >::other > _surf_type; 00226 std::vector< ::srs_object_database_msgs::surf_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_object_database_msgs::surf_<ContainerAllocator> >::other > surf; 00227 00228 typedef std::vector< ::srs_object_database_msgs::grasp_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_object_database_msgs::grasp_<ContainerAllocator> >::other > _grasp_type; 00229 std::vector< ::srs_object_database_msgs::grasp_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_object_database_msgs::grasp_<ContainerAllocator> >::other > grasp; 00230 00231 typedef std::vector< ::srs_object_database_msgs::urdf_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_object_database_msgs::urdf_<ContainerAllocator> >::other > _urdf_type; 00232 std::vector< ::srs_object_database_msgs::urdf_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_object_database_msgs::urdf_<ContainerAllocator> >::other > urdf; 00233 00234 00235 ROS_DEPRECATED uint32_t get_img_size() const { return (uint32_t)img.size(); } 00236 ROS_DEPRECATED void set_img_size(uint32_t size) { img.resize((size_t)size); } 00237 ROS_DEPRECATED void get_img_vec(std::vector< ::srs_object_database_msgs::img_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_object_database_msgs::img_<ContainerAllocator> >::other > & vec) const { vec = this->img; } 00238 ROS_DEPRECATED void set_img_vec(const std::vector< ::srs_object_database_msgs::img_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_object_database_msgs::img_<ContainerAllocator> >::other > & vec) { this->img = vec; } 00239 ROS_DEPRECATED uint32_t get_mesh_size() const { return (uint32_t)mesh.size(); } 00240 ROS_DEPRECATED void set_mesh_size(uint32_t size) { mesh.resize((size_t)size); } 00241 ROS_DEPRECATED void get_mesh_vec(std::vector< ::srs_object_database_msgs::mesh_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_object_database_msgs::mesh_<ContainerAllocator> >::other > & vec) const { vec = this->mesh; } 00242 ROS_DEPRECATED void set_mesh_vec(const std::vector< ::srs_object_database_msgs::mesh_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_object_database_msgs::mesh_<ContainerAllocator> >::other > & vec) { this->mesh = vec; } 00243 ROS_DEPRECATED uint32_t get_pcl_size() const { return (uint32_t)pcl.size(); } 00244 ROS_DEPRECATED void set_pcl_size(uint32_t size) { pcl.resize((size_t)size); } 00245 ROS_DEPRECATED void get_pcl_vec(std::vector< ::srs_object_database_msgs::pcl_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_object_database_msgs::pcl_<ContainerAllocator> >::other > & vec) const { vec = this->pcl; } 00246 ROS_DEPRECATED void set_pcl_vec(const std::vector< ::srs_object_database_msgs::pcl_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_object_database_msgs::pcl_<ContainerAllocator> >::other > & vec) { this->pcl = vec; } 00247 ROS_DEPRECATED uint32_t get_surf_size() const { return (uint32_t)surf.size(); } 00248 ROS_DEPRECATED void set_surf_size(uint32_t size) { surf.resize((size_t)size); } 00249 ROS_DEPRECATED void get_surf_vec(std::vector< ::srs_object_database_msgs::surf_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_object_database_msgs::surf_<ContainerAllocator> >::other > & vec) const { vec = this->surf; } 00250 ROS_DEPRECATED void set_surf_vec(const std::vector< ::srs_object_database_msgs::surf_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_object_database_msgs::surf_<ContainerAllocator> >::other > & vec) { this->surf = vec; } 00251 ROS_DEPRECATED uint32_t get_grasp_size() const { return (uint32_t)grasp.size(); } 00252 ROS_DEPRECATED void set_grasp_size(uint32_t size) { grasp.resize((size_t)size); } 00253 ROS_DEPRECATED void get_grasp_vec(std::vector< ::srs_object_database_msgs::grasp_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_object_database_msgs::grasp_<ContainerAllocator> >::other > & vec) const { vec = this->grasp; } 00254 ROS_DEPRECATED void set_grasp_vec(const std::vector< ::srs_object_database_msgs::grasp_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_object_database_msgs::grasp_<ContainerAllocator> >::other > & vec) { this->grasp = vec; } 00255 ROS_DEPRECATED uint32_t get_urdf_size() const { return (uint32_t)urdf.size(); } 00256 ROS_DEPRECATED void set_urdf_size(uint32_t size) { urdf.resize((size_t)size); } 00257 ROS_DEPRECATED void get_urdf_vec(std::vector< ::srs_object_database_msgs::urdf_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_object_database_msgs::urdf_<ContainerAllocator> >::other > & vec) const { vec = this->urdf; } 00258 ROS_DEPRECATED void set_urdf_vec(const std::vector< ::srs_object_database_msgs::urdf_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_object_database_msgs::urdf_<ContainerAllocator> >::other > & vec) { this->urdf = vec; } 00259 private: 00260 static const char* __s_getDataType_() { return "srs_object_database_msgs/GetDataResponse"; } 00261 public: 00262 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00263 00264 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00265 00266 private: 00267 static const char* __s_getMD5Sum_() { return "8c029ab6bbdfbdc8ed9c7e395d73a54f"; } 00268 public: 00269 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00270 00271 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00272 00273 private: 00274 static const char* __s_getServerMD5Sum_() { return "0fb0cdcd6e164bc63c7643c4232719fe"; } 00275 public: 00276 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00277 00278 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00279 00280 private: 00281 static const char* __s_getMessageDefinition_() { return "\n\ 00282 \n\ 00283 string return_response\n\ 00284 \n\ 00285 srs_object_database_msgs/img[] img\n\ 00286 srs_object_database_msgs/mesh[] mesh\n\ 00287 srs_object_database_msgs/pcl[] pcl\n\ 00288 srs_object_database_msgs/surf[] surf\n\ 00289 srs_object_database_msgs/grasp[] grasp\n\ 00290 srs_object_database_msgs/urdf[] urdf\n\ 00291 \n\ 00292 \n\ 00293 ================================================================================\n\ 00294 MSG: srs_object_database_msgs/img\n\ 00295 int32 objectId\n\ 00296 string description\n\ 00297 sensor_msgs/Image image\n\ 00298 ================================================================================\n\ 00299 MSG: sensor_msgs/Image\n\ 00300 # This message contains an uncompressed image\n\ 00301 # (0, 0) is at top-left corner of image\n\ 00302 #\n\ 00303 \n\ 00304 Header header # Header timestamp should be acquisition time of image\n\ 00305 # Header frame_id should be optical frame of camera\n\ 00306 # origin of frame should be optical center of cameara\n\ 00307 # +x should point to the right in the image\n\ 00308 # +y should point down in the image\n\ 00309 # +z should point into to plane of the image\n\ 00310 # If the frame_id here and the frame_id of the CameraInfo\n\ 00311 # message associated with the image conflict\n\ 00312 # the behavior is undefined\n\ 00313 \n\ 00314 uint32 height # image height, that is, number of rows\n\ 00315 uint32 width # image width, that is, number of columns\n\ 00316 \n\ 00317 # The legal values for encoding are in file src/image_encodings.cpp\n\ 00318 # If you want to standardize a new string format, join\n\ 00319 # ros-users@lists.sourceforge.net and send an email proposing a new encoding.\n\ 00320 \n\ 00321 string encoding # Encoding of pixels -- channel meaning, ordering, size\n\ 00322 # taken from the list of strings in src/image_encodings.cpp\n\ 00323 \n\ 00324 uint8 is_bigendian # is this data bigendian?\n\ 00325 uint32 step # Full row length in bytes\n\ 00326 uint8[] data # actual matrix data, size is (step * rows)\n\ 00327 \n\ 00328 ================================================================================\n\ 00329 MSG: std_msgs/Header\n\ 00330 # Standard metadata for higher-level stamped data types.\n\ 00331 # This is generally used to communicate timestamped data \n\ 00332 # in a particular coordinate frame.\n\ 00333 # \n\ 00334 # sequence ID: consecutively increasing ID \n\ 00335 uint32 seq\n\ 00336 #Two-integer timestamp that is expressed as:\n\ 00337 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00338 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00339 # time-handling sugar is provided by the client library\n\ 00340 time stamp\n\ 00341 #Frame this data is associated with\n\ 00342 # 0: no frame\n\ 00343 # 1: global frame\n\ 00344 string frame_id\n\ 00345 \n\ 00346 ================================================================================\n\ 00347 MSG: srs_object_database_msgs/mesh\n\ 00348 int32 objectId\n\ 00349 arm_navigation_msgs/Shape mesh\n\ 00350 string type\n\ 00351 uint8[] data\n\ 00352 ================================================================================\n\ 00353 MSG: arm_navigation_msgs/Shape\n\ 00354 byte SPHERE=0\n\ 00355 byte BOX=1\n\ 00356 byte CYLINDER=2\n\ 00357 byte MESH=3\n\ 00358 \n\ 00359 byte type\n\ 00360 \n\ 00361 \n\ 00362 #### define sphere, box, cylinder ####\n\ 00363 # the origin of each shape is considered at the shape's center\n\ 00364 \n\ 00365 # for sphere\n\ 00366 # radius := dimensions[0]\n\ 00367 \n\ 00368 # for cylinder\n\ 00369 # radius := dimensions[0]\n\ 00370 # length := dimensions[1]\n\ 00371 # the length is along the Z axis\n\ 00372 \n\ 00373 # for box\n\ 00374 # size_x := dimensions[0]\n\ 00375 # size_y := dimensions[1]\n\ 00376 # size_z := dimensions[2]\n\ 00377 float64[] dimensions\n\ 00378 \n\ 00379 \n\ 00380 #### define mesh ####\n\ 00381 \n\ 00382 # list of triangles; triangle k is defined by tre vertices located\n\ 00383 # at indices triangles[3k], triangles[3k+1], triangles[3k+2]\n\ 00384 int32[] triangles\n\ 00385 geometry_msgs/Point[] vertices\n\ 00386 \n\ 00387 ================================================================================\n\ 00388 MSG: geometry_msgs/Point\n\ 00389 # This contains the position of a point in free space\n\ 00390 float64 x\n\ 00391 float64 y\n\ 00392 float64 z\n\ 00393 \n\ 00394 ================================================================================\n\ 00395 MSG: srs_object_database_msgs/pcl\n\ 00396 int32 objectId\n\ 00397 sensor_msgs/PointCloud2 pcl\n\ 00398 \n\ 00399 ================================================================================\n\ 00400 MSG: sensor_msgs/PointCloud2\n\ 00401 # This message holds a collection of N-dimensional points, which may\n\ 00402 # contain additional information such as normals, intensity, etc. The\n\ 00403 # point data is stored as a binary blob, its layout described by the\n\ 00404 # contents of the \"fields\" array.\n\ 00405 \n\ 00406 # The point cloud data may be organized 2d (image-like) or 1d\n\ 00407 # (unordered). Point clouds organized as 2d images may be produced by\n\ 00408 # camera depth sensors such as stereo or time-of-flight.\n\ 00409 \n\ 00410 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\ 00411 # points).\n\ 00412 Header header\n\ 00413 \n\ 00414 # 2D structure of the point cloud. If the cloud is unordered, height is\n\ 00415 # 1 and width is the length of the point cloud.\n\ 00416 uint32 height\n\ 00417 uint32 width\n\ 00418 \n\ 00419 # Describes the channels and their layout in the binary data blob.\n\ 00420 PointField[] fields\n\ 00421 \n\ 00422 bool is_bigendian # Is this data bigendian?\n\ 00423 uint32 point_step # Length of a point in bytes\n\ 00424 uint32 row_step # Length of a row in bytes\n\ 00425 uint8[] data # Actual point data, size is (row_step*height)\n\ 00426 \n\ 00427 bool is_dense # True if there are no invalid points\n\ 00428 \n\ 00429 ================================================================================\n\ 00430 MSG: sensor_msgs/PointField\n\ 00431 # This message holds the description of one point entry in the\n\ 00432 # PointCloud2 message format.\n\ 00433 uint8 INT8 = 1\n\ 00434 uint8 UINT8 = 2\n\ 00435 uint8 INT16 = 3\n\ 00436 uint8 UINT16 = 4\n\ 00437 uint8 INT32 = 5\n\ 00438 uint8 UINT32 = 6\n\ 00439 uint8 FLOAT32 = 7\n\ 00440 uint8 FLOAT64 = 8\n\ 00441 \n\ 00442 string name # Name of field\n\ 00443 uint32 offset # Offset from start of point struct\n\ 00444 uint8 datatype # Datatype enumeration, see above\n\ 00445 uint32 count # How many elements in the field\n\ 00446 \n\ 00447 ================================================================================\n\ 00448 MSG: srs_object_database_msgs/surf\n\ 00449 int32 objectId\n\ 00450 sensor_msgs/PointCloud2 surf\n\ 00451 sensor_msgs/PointCloud2 bounding_box\n\ 00452 geometry_msgs/Pose coord_frame\n\ 00453 \n\ 00454 ================================================================================\n\ 00455 MSG: geometry_msgs/Pose\n\ 00456 # A representation of pose in free space, composed of postion and orientation. \n\ 00457 Point position\n\ 00458 Quaternion orientation\n\ 00459 \n\ 00460 ================================================================================\n\ 00461 MSG: geometry_msgs/Quaternion\n\ 00462 # This represents an orientation in free space in quaternion form.\n\ 00463 \n\ 00464 float64 x\n\ 00465 float64 y\n\ 00466 float64 z\n\ 00467 float64 w\n\ 00468 \n\ 00469 ================================================================================\n\ 00470 MSG: srs_object_database_msgs/grasp\n\ 00471 int32 objectId\n\ 00472 string Objecttype\n\ 00473 string pose\n\ 00474 string fileDescription\n\ 00475 uint8[] bs\n\ 00476 int32 size\n\ 00477 \n\ 00478 ================================================================================\n\ 00479 MSG: srs_object_database_msgs/urdf\n\ 00480 int32 objectId\n\ 00481 visualization_msgs/Marker[] markers\n\ 00482 ================================================================================\n\ 00483 MSG: visualization_msgs/Marker\n\ 00484 # 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\n\ 00485 \n\ 00486 uint8 ARROW=0\n\ 00487 uint8 CUBE=1\n\ 00488 uint8 SPHERE=2\n\ 00489 uint8 CYLINDER=3\n\ 00490 uint8 LINE_STRIP=4\n\ 00491 uint8 LINE_LIST=5\n\ 00492 uint8 CUBE_LIST=6\n\ 00493 uint8 SPHERE_LIST=7\n\ 00494 uint8 POINTS=8\n\ 00495 uint8 TEXT_VIEW_FACING=9\n\ 00496 uint8 MESH_RESOURCE=10\n\ 00497 uint8 TRIANGLE_LIST=11\n\ 00498 \n\ 00499 uint8 ADD=0\n\ 00500 uint8 MODIFY=0\n\ 00501 uint8 DELETE=2\n\ 00502 \n\ 00503 Header header # header for time/frame information\n\ 00504 string ns # Namespace to place this object in... used in conjunction with id to create a unique name for the object\n\ 00505 int32 id # object ID useful in conjunction with the namespace for manipulating and deleting the object later\n\ 00506 int32 type # Type of object\n\ 00507 int32 action # 0 add/modify an object, 1 (deprecated), 2 deletes an object\n\ 00508 geometry_msgs/Pose pose # Pose of the object\n\ 00509 geometry_msgs/Vector3 scale # Scale of the object 1,1,1 means default (usually 1 meter square)\n\ 00510 std_msgs/ColorRGBA color # Color [0.0-1.0]\n\ 00511 duration lifetime # How long the object should last before being automatically deleted. 0 means forever\n\ 00512 bool frame_locked # If this marker should be frame-locked, i.e. retransformed into its frame every timestep\n\ 00513 \n\ 00514 #Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ...)\n\ 00515 geometry_msgs/Point[] points\n\ 00516 #Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ...)\n\ 00517 #number of colors must either be 0 or equal to the number of points\n\ 00518 #NOTE: alpha is not yet used\n\ 00519 std_msgs/ColorRGBA[] colors\n\ 00520 \n\ 00521 # NOTE: only used for text markers\n\ 00522 string text\n\ 00523 \n\ 00524 # NOTE: only used for MESH_RESOURCE markers\n\ 00525 string mesh_resource\n\ 00526 bool mesh_use_embedded_materials\n\ 00527 \n\ 00528 ================================================================================\n\ 00529 MSG: geometry_msgs/Vector3\n\ 00530 # This represents a vector in free space. \n\ 00531 \n\ 00532 float64 x\n\ 00533 float64 y\n\ 00534 float64 z\n\ 00535 ================================================================================\n\ 00536 MSG: std_msgs/ColorRGBA\n\ 00537 float32 r\n\ 00538 float32 g\n\ 00539 float32 b\n\ 00540 float32 a\n\ 00541 \n\ 00542 "; } 00543 public: 00544 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00545 00546 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00547 00548 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00549 { 00550 ros::serialization::OStream stream(write_ptr, 1000000000); 00551 ros::serialization::serialize(stream, return_response); 00552 ros::serialization::serialize(stream, img); 00553 ros::serialization::serialize(stream, mesh); 00554 ros::serialization::serialize(stream, pcl); 00555 ros::serialization::serialize(stream, surf); 00556 ros::serialization::serialize(stream, grasp); 00557 ros::serialization::serialize(stream, urdf); 00558 return stream.getData(); 00559 } 00560 00561 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00562 { 00563 ros::serialization::IStream stream(read_ptr, 1000000000); 00564 ros::serialization::deserialize(stream, return_response); 00565 ros::serialization::deserialize(stream, img); 00566 ros::serialization::deserialize(stream, mesh); 00567 ros::serialization::deserialize(stream, pcl); 00568 ros::serialization::deserialize(stream, surf); 00569 ros::serialization::deserialize(stream, grasp); 00570 ros::serialization::deserialize(stream, urdf); 00571 return stream.getData(); 00572 } 00573 00574 ROS_DEPRECATED virtual uint32_t serializationLength() const 00575 { 00576 uint32_t size = 0; 00577 size += ros::serialization::serializationLength(return_response); 00578 size += ros::serialization::serializationLength(img); 00579 size += ros::serialization::serializationLength(mesh); 00580 size += ros::serialization::serializationLength(pcl); 00581 size += ros::serialization::serializationLength(surf); 00582 size += ros::serialization::serializationLength(grasp); 00583 size += ros::serialization::serializationLength(urdf); 00584 return size; 00585 } 00586 00587 typedef boost::shared_ptr< ::srs_object_database_msgs::GetDataResponse_<ContainerAllocator> > Ptr; 00588 typedef boost::shared_ptr< ::srs_object_database_msgs::GetDataResponse_<ContainerAllocator> const> ConstPtr; 00589 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00590 }; // struct GetDataResponse 00591 typedef ::srs_object_database_msgs::GetDataResponse_<std::allocator<void> > GetDataResponse; 00592 00593 typedef boost::shared_ptr< ::srs_object_database_msgs::GetDataResponse> GetDataResponsePtr; 00594 typedef boost::shared_ptr< ::srs_object_database_msgs::GetDataResponse const> GetDataResponseConstPtr; 00595 00596 struct GetData 00597 { 00598 00599 typedef GetDataRequest Request; 00600 typedef GetDataResponse Response; 00601 Request request; 00602 Response response; 00603 00604 typedef Request RequestType; 00605 typedef Response ResponseType; 00606 }; // struct GetData 00607 } // namespace srs_object_database_msgs 00608 00609 namespace ros 00610 { 00611 namespace message_traits 00612 { 00613 template<class ContainerAllocator> struct IsMessage< ::srs_object_database_msgs::GetDataRequest_<ContainerAllocator> > : public TrueType {}; 00614 template<class ContainerAllocator> struct IsMessage< ::srs_object_database_msgs::GetDataRequest_<ContainerAllocator> const> : public TrueType {}; 00615 template<class ContainerAllocator> 00616 struct MD5Sum< ::srs_object_database_msgs::GetDataRequest_<ContainerAllocator> > { 00617 static const char* value() 00618 { 00619 return "e322fea33bcf470d266fe9ce0878bcf2"; 00620 } 00621 00622 static const char* value(const ::srs_object_database_msgs::GetDataRequest_<ContainerAllocator> &) { return value(); } 00623 static const uint64_t static_value1 = 0xe322fea33bcf470dULL; 00624 static const uint64_t static_value2 = 0x266fe9ce0878bcf2ULL; 00625 }; 00626 00627 template<class ContainerAllocator> 00628 struct DataType< ::srs_object_database_msgs::GetDataRequest_<ContainerAllocator> > { 00629 static const char* value() 00630 { 00631 return "srs_object_database_msgs/GetDataRequest"; 00632 } 00633 00634 static const char* value(const ::srs_object_database_msgs::GetDataRequest_<ContainerAllocator> &) { return value(); } 00635 }; 00636 00637 template<class ContainerAllocator> 00638 struct Definition< ::srs_object_database_msgs::GetDataRequest_<ContainerAllocator> > { 00639 static const char* value() 00640 { 00641 return "\n\ 00642 \n\ 00643 \n\ 00644 \n\ 00645 \n\ 00646 \n\ 00647 int32[] model_ids\n\ 00648 string description\n\ 00649 \n\ 00650 \n\ 00651 \n\ 00652 bool mesh\n\ 00653 bool pcl\n\ 00654 bool surf\n\ 00655 bool image\n\ 00656 bool grasp\n\ 00657 bool urdf\n\ 00658 \n\ 00659 \n\ 00660 \n\ 00661 "; 00662 } 00663 00664 static const char* value(const ::srs_object_database_msgs::GetDataRequest_<ContainerAllocator> &) { return value(); } 00665 }; 00666 00667 } // namespace message_traits 00668 } // namespace ros 00669 00670 00671 namespace ros 00672 { 00673 namespace message_traits 00674 { 00675 template<class ContainerAllocator> struct IsMessage< ::srs_object_database_msgs::GetDataResponse_<ContainerAllocator> > : public TrueType {}; 00676 template<class ContainerAllocator> struct IsMessage< ::srs_object_database_msgs::GetDataResponse_<ContainerAllocator> const> : public TrueType {}; 00677 template<class ContainerAllocator> 00678 struct MD5Sum< ::srs_object_database_msgs::GetDataResponse_<ContainerAllocator> > { 00679 static const char* value() 00680 { 00681 return "8c029ab6bbdfbdc8ed9c7e395d73a54f"; 00682 } 00683 00684 static const char* value(const ::srs_object_database_msgs::GetDataResponse_<ContainerAllocator> &) { return value(); } 00685 static const uint64_t static_value1 = 0x8c029ab6bbdfbdc8ULL; 00686 static const uint64_t static_value2 = 0xed9c7e395d73a54fULL; 00687 }; 00688 00689 template<class ContainerAllocator> 00690 struct DataType< ::srs_object_database_msgs::GetDataResponse_<ContainerAllocator> > { 00691 static const char* value() 00692 { 00693 return "srs_object_database_msgs/GetDataResponse"; 00694 } 00695 00696 static const char* value(const ::srs_object_database_msgs::GetDataResponse_<ContainerAllocator> &) { return value(); } 00697 }; 00698 00699 template<class ContainerAllocator> 00700 struct Definition< ::srs_object_database_msgs::GetDataResponse_<ContainerAllocator> > { 00701 static const char* value() 00702 { 00703 return "\n\ 00704 \n\ 00705 string return_response\n\ 00706 \n\ 00707 srs_object_database_msgs/img[] img\n\ 00708 srs_object_database_msgs/mesh[] mesh\n\ 00709 srs_object_database_msgs/pcl[] pcl\n\ 00710 srs_object_database_msgs/surf[] surf\n\ 00711 srs_object_database_msgs/grasp[] grasp\n\ 00712 srs_object_database_msgs/urdf[] urdf\n\ 00713 \n\ 00714 \n\ 00715 ================================================================================\n\ 00716 MSG: srs_object_database_msgs/img\n\ 00717 int32 objectId\n\ 00718 string description\n\ 00719 sensor_msgs/Image image\n\ 00720 ================================================================================\n\ 00721 MSG: sensor_msgs/Image\n\ 00722 # This message contains an uncompressed image\n\ 00723 # (0, 0) is at top-left corner of image\n\ 00724 #\n\ 00725 \n\ 00726 Header header # Header timestamp should be acquisition time of image\n\ 00727 # Header frame_id should be optical frame of camera\n\ 00728 # origin of frame should be optical center of cameara\n\ 00729 # +x should point to the right in the image\n\ 00730 # +y should point down in the image\n\ 00731 # +z should point into to plane of the image\n\ 00732 # If the frame_id here and the frame_id of the CameraInfo\n\ 00733 # message associated with the image conflict\n\ 00734 # the behavior is undefined\n\ 00735 \n\ 00736 uint32 height # image height, that is, number of rows\n\ 00737 uint32 width # image width, that is, number of columns\n\ 00738 \n\ 00739 # The legal values for encoding are in file src/image_encodings.cpp\n\ 00740 # If you want to standardize a new string format, join\n\ 00741 # ros-users@lists.sourceforge.net and send an email proposing a new encoding.\n\ 00742 \n\ 00743 string encoding # Encoding of pixels -- channel meaning, ordering, size\n\ 00744 # taken from the list of strings in src/image_encodings.cpp\n\ 00745 \n\ 00746 uint8 is_bigendian # is this data bigendian?\n\ 00747 uint32 step # Full row length in bytes\n\ 00748 uint8[] data # actual matrix data, size is (step * rows)\n\ 00749 \n\ 00750 ================================================================================\n\ 00751 MSG: std_msgs/Header\n\ 00752 # Standard metadata for higher-level stamped data types.\n\ 00753 # This is generally used to communicate timestamped data \n\ 00754 # in a particular coordinate frame.\n\ 00755 # \n\ 00756 # sequence ID: consecutively increasing ID \n\ 00757 uint32 seq\n\ 00758 #Two-integer timestamp that is expressed as:\n\ 00759 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00760 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00761 # time-handling sugar is provided by the client library\n\ 00762 time stamp\n\ 00763 #Frame this data is associated with\n\ 00764 # 0: no frame\n\ 00765 # 1: global frame\n\ 00766 string frame_id\n\ 00767 \n\ 00768 ================================================================================\n\ 00769 MSG: srs_object_database_msgs/mesh\n\ 00770 int32 objectId\n\ 00771 arm_navigation_msgs/Shape mesh\n\ 00772 string type\n\ 00773 uint8[] data\n\ 00774 ================================================================================\n\ 00775 MSG: arm_navigation_msgs/Shape\n\ 00776 byte SPHERE=0\n\ 00777 byte BOX=1\n\ 00778 byte CYLINDER=2\n\ 00779 byte MESH=3\n\ 00780 \n\ 00781 byte type\n\ 00782 \n\ 00783 \n\ 00784 #### define sphere, box, cylinder ####\n\ 00785 # the origin of each shape is considered at the shape's center\n\ 00786 \n\ 00787 # for sphere\n\ 00788 # radius := dimensions[0]\n\ 00789 \n\ 00790 # for cylinder\n\ 00791 # radius := dimensions[0]\n\ 00792 # length := dimensions[1]\n\ 00793 # the length is along the Z axis\n\ 00794 \n\ 00795 # for box\n\ 00796 # size_x := dimensions[0]\n\ 00797 # size_y := dimensions[1]\n\ 00798 # size_z := dimensions[2]\n\ 00799 float64[] dimensions\n\ 00800 \n\ 00801 \n\ 00802 #### define mesh ####\n\ 00803 \n\ 00804 # list of triangles; triangle k is defined by tre vertices located\n\ 00805 # at indices triangles[3k], triangles[3k+1], triangles[3k+2]\n\ 00806 int32[] triangles\n\ 00807 geometry_msgs/Point[] vertices\n\ 00808 \n\ 00809 ================================================================================\n\ 00810 MSG: geometry_msgs/Point\n\ 00811 # This contains the position of a point in free space\n\ 00812 float64 x\n\ 00813 float64 y\n\ 00814 float64 z\n\ 00815 \n\ 00816 ================================================================================\n\ 00817 MSG: srs_object_database_msgs/pcl\n\ 00818 int32 objectId\n\ 00819 sensor_msgs/PointCloud2 pcl\n\ 00820 \n\ 00821 ================================================================================\n\ 00822 MSG: sensor_msgs/PointCloud2\n\ 00823 # This message holds a collection of N-dimensional points, which may\n\ 00824 # contain additional information such as normals, intensity, etc. The\n\ 00825 # point data is stored as a binary blob, its layout described by the\n\ 00826 # contents of the \"fields\" array.\n\ 00827 \n\ 00828 # The point cloud data may be organized 2d (image-like) or 1d\n\ 00829 # (unordered). Point clouds organized as 2d images may be produced by\n\ 00830 # camera depth sensors such as stereo or time-of-flight.\n\ 00831 \n\ 00832 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\ 00833 # points).\n\ 00834 Header header\n\ 00835 \n\ 00836 # 2D structure of the point cloud. If the cloud is unordered, height is\n\ 00837 # 1 and width is the length of the point cloud.\n\ 00838 uint32 height\n\ 00839 uint32 width\n\ 00840 \n\ 00841 # Describes the channels and their layout in the binary data blob.\n\ 00842 PointField[] fields\n\ 00843 \n\ 00844 bool is_bigendian # Is this data bigendian?\n\ 00845 uint32 point_step # Length of a point in bytes\n\ 00846 uint32 row_step # Length of a row in bytes\n\ 00847 uint8[] data # Actual point data, size is (row_step*height)\n\ 00848 \n\ 00849 bool is_dense # True if there are no invalid points\n\ 00850 \n\ 00851 ================================================================================\n\ 00852 MSG: sensor_msgs/PointField\n\ 00853 # This message holds the description of one point entry in the\n\ 00854 # PointCloud2 message format.\n\ 00855 uint8 INT8 = 1\n\ 00856 uint8 UINT8 = 2\n\ 00857 uint8 INT16 = 3\n\ 00858 uint8 UINT16 = 4\n\ 00859 uint8 INT32 = 5\n\ 00860 uint8 UINT32 = 6\n\ 00861 uint8 FLOAT32 = 7\n\ 00862 uint8 FLOAT64 = 8\n\ 00863 \n\ 00864 string name # Name of field\n\ 00865 uint32 offset # Offset from start of point struct\n\ 00866 uint8 datatype # Datatype enumeration, see above\n\ 00867 uint32 count # How many elements in the field\n\ 00868 \n\ 00869 ================================================================================\n\ 00870 MSG: srs_object_database_msgs/surf\n\ 00871 int32 objectId\n\ 00872 sensor_msgs/PointCloud2 surf\n\ 00873 sensor_msgs/PointCloud2 bounding_box\n\ 00874 geometry_msgs/Pose coord_frame\n\ 00875 \n\ 00876 ================================================================================\n\ 00877 MSG: geometry_msgs/Pose\n\ 00878 # A representation of pose in free space, composed of postion and orientation. \n\ 00879 Point position\n\ 00880 Quaternion orientation\n\ 00881 \n\ 00882 ================================================================================\n\ 00883 MSG: geometry_msgs/Quaternion\n\ 00884 # This represents an orientation in free space in quaternion form.\n\ 00885 \n\ 00886 float64 x\n\ 00887 float64 y\n\ 00888 float64 z\n\ 00889 float64 w\n\ 00890 \n\ 00891 ================================================================================\n\ 00892 MSG: srs_object_database_msgs/grasp\n\ 00893 int32 objectId\n\ 00894 string Objecttype\n\ 00895 string pose\n\ 00896 string fileDescription\n\ 00897 uint8[] bs\n\ 00898 int32 size\n\ 00899 \n\ 00900 ================================================================================\n\ 00901 MSG: srs_object_database_msgs/urdf\n\ 00902 int32 objectId\n\ 00903 visualization_msgs/Marker[] markers\n\ 00904 ================================================================================\n\ 00905 MSG: visualization_msgs/Marker\n\ 00906 # 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\n\ 00907 \n\ 00908 uint8 ARROW=0\n\ 00909 uint8 CUBE=1\n\ 00910 uint8 SPHERE=2\n\ 00911 uint8 CYLINDER=3\n\ 00912 uint8 LINE_STRIP=4\n\ 00913 uint8 LINE_LIST=5\n\ 00914 uint8 CUBE_LIST=6\n\ 00915 uint8 SPHERE_LIST=7\n\ 00916 uint8 POINTS=8\n\ 00917 uint8 TEXT_VIEW_FACING=9\n\ 00918 uint8 MESH_RESOURCE=10\n\ 00919 uint8 TRIANGLE_LIST=11\n\ 00920 \n\ 00921 uint8 ADD=0\n\ 00922 uint8 MODIFY=0\n\ 00923 uint8 DELETE=2\n\ 00924 \n\ 00925 Header header # header for time/frame information\n\ 00926 string ns # Namespace to place this object in... used in conjunction with id to create a unique name for the object\n\ 00927 int32 id # object ID useful in conjunction with the namespace for manipulating and deleting the object later\n\ 00928 int32 type # Type of object\n\ 00929 int32 action # 0 add/modify an object, 1 (deprecated), 2 deletes an object\n\ 00930 geometry_msgs/Pose pose # Pose of the object\n\ 00931 geometry_msgs/Vector3 scale # Scale of the object 1,1,1 means default (usually 1 meter square)\n\ 00932 std_msgs/ColorRGBA color # Color [0.0-1.0]\n\ 00933 duration lifetime # How long the object should last before being automatically deleted. 0 means forever\n\ 00934 bool frame_locked # If this marker should be frame-locked, i.e. retransformed into its frame every timestep\n\ 00935 \n\ 00936 #Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ...)\n\ 00937 geometry_msgs/Point[] points\n\ 00938 #Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ...)\n\ 00939 #number of colors must either be 0 or equal to the number of points\n\ 00940 #NOTE: alpha is not yet used\n\ 00941 std_msgs/ColorRGBA[] colors\n\ 00942 \n\ 00943 # NOTE: only used for text markers\n\ 00944 string text\n\ 00945 \n\ 00946 # NOTE: only used for MESH_RESOURCE markers\n\ 00947 string mesh_resource\n\ 00948 bool mesh_use_embedded_materials\n\ 00949 \n\ 00950 ================================================================================\n\ 00951 MSG: geometry_msgs/Vector3\n\ 00952 # This represents a vector in free space. \n\ 00953 \n\ 00954 float64 x\n\ 00955 float64 y\n\ 00956 float64 z\n\ 00957 ================================================================================\n\ 00958 MSG: std_msgs/ColorRGBA\n\ 00959 float32 r\n\ 00960 float32 g\n\ 00961 float32 b\n\ 00962 float32 a\n\ 00963 \n\ 00964 "; 00965 } 00966 00967 static const char* value(const ::srs_object_database_msgs::GetDataResponse_<ContainerAllocator> &) { return value(); } 00968 }; 00969 00970 } // namespace message_traits 00971 } // namespace ros 00972 00973 namespace ros 00974 { 00975 namespace serialization 00976 { 00977 00978 template<class ContainerAllocator> struct Serializer< ::srs_object_database_msgs::GetDataRequest_<ContainerAllocator> > 00979 { 00980 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00981 { 00982 stream.next(m.model_ids); 00983 stream.next(m.description); 00984 stream.next(m.mesh); 00985 stream.next(m.pcl); 00986 stream.next(m.surf); 00987 stream.next(m.image); 00988 stream.next(m.grasp); 00989 stream.next(m.urdf); 00990 } 00991 00992 ROS_DECLARE_ALLINONE_SERIALIZER; 00993 }; // struct GetDataRequest_ 00994 } // namespace serialization 00995 } // namespace ros 00996 00997 00998 namespace ros 00999 { 01000 namespace serialization 01001 { 01002 01003 template<class ContainerAllocator> struct Serializer< ::srs_object_database_msgs::GetDataResponse_<ContainerAllocator> > 01004 { 01005 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 01006 { 01007 stream.next(m.return_response); 01008 stream.next(m.img); 01009 stream.next(m.mesh); 01010 stream.next(m.pcl); 01011 stream.next(m.surf); 01012 stream.next(m.grasp); 01013 stream.next(m.urdf); 01014 } 01015 01016 ROS_DECLARE_ALLINONE_SERIALIZER; 01017 }; // struct GetDataResponse_ 01018 } // namespace serialization 01019 } // namespace ros 01020 01021 namespace ros 01022 { 01023 namespace service_traits 01024 { 01025 template<> 01026 struct MD5Sum<srs_object_database_msgs::GetData> { 01027 static const char* value() 01028 { 01029 return "0fb0cdcd6e164bc63c7643c4232719fe"; 01030 } 01031 01032 static const char* value(const srs_object_database_msgs::GetData&) { return value(); } 01033 }; 01034 01035 template<> 01036 struct DataType<srs_object_database_msgs::GetData> { 01037 static const char* value() 01038 { 01039 return "srs_object_database_msgs/GetData"; 01040 } 01041 01042 static const char* value(const srs_object_database_msgs::GetData&) { return value(); } 01043 }; 01044 01045 template<class ContainerAllocator> 01046 struct MD5Sum<srs_object_database_msgs::GetDataRequest_<ContainerAllocator> > { 01047 static const char* value() 01048 { 01049 return "0fb0cdcd6e164bc63c7643c4232719fe"; 01050 } 01051 01052 static const char* value(const srs_object_database_msgs::GetDataRequest_<ContainerAllocator> &) { return value(); } 01053 }; 01054 01055 template<class ContainerAllocator> 01056 struct DataType<srs_object_database_msgs::GetDataRequest_<ContainerAllocator> > { 01057 static const char* value() 01058 { 01059 return "srs_object_database_msgs/GetData"; 01060 } 01061 01062 static const char* value(const srs_object_database_msgs::GetDataRequest_<ContainerAllocator> &) { return value(); } 01063 }; 01064 01065 template<class ContainerAllocator> 01066 struct MD5Sum<srs_object_database_msgs::GetDataResponse_<ContainerAllocator> > { 01067 static const char* value() 01068 { 01069 return "0fb0cdcd6e164bc63c7643c4232719fe"; 01070 } 01071 01072 static const char* value(const srs_object_database_msgs::GetDataResponse_<ContainerAllocator> &) { return value(); } 01073 }; 01074 01075 template<class ContainerAllocator> 01076 struct DataType<srs_object_database_msgs::GetDataResponse_<ContainerAllocator> > { 01077 static const char* value() 01078 { 01079 return "srs_object_database_msgs/GetData"; 01080 } 01081 01082 static const char* value(const srs_object_database_msgs::GetDataResponse_<ContainerAllocator> &) { return value(); } 01083 }; 01084 01085 } // namespace service_traits 01086 } // namespace ros 01087 01088 #endif // SRS_OBJECT_DATABASE_MSGS_SERVICE_GETDATA_H 01089