$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-cob_environment_perception/doc_stacks/2013-03-01_14-40-06.190572/cob_environment_perception/cob_3d_mapping_msgs/srv/SetPointMap.srv */ 00002 #ifndef COB_3D_MAPPING_MSGS_SERVICE_SETPOINTMAP_H 00003 #define COB_3D_MAPPING_MSGS_SERVICE_SETPOINTMAP_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 #include "sensor_msgs/PointCloud2.h" 00020 00021 00022 00023 namespace cob_3d_mapping_msgs 00024 { 00025 template <class ContainerAllocator> 00026 struct SetPointMapRequest_ { 00027 typedef SetPointMapRequest_<ContainerAllocator> Type; 00028 00029 SetPointMapRequest_() 00030 : map() 00031 { 00032 } 00033 00034 SetPointMapRequest_(const ContainerAllocator& _alloc) 00035 : map(_alloc) 00036 { 00037 } 00038 00039 typedef ::sensor_msgs::PointCloud2_<ContainerAllocator> _map_type; 00040 ::sensor_msgs::PointCloud2_<ContainerAllocator> map; 00041 00042 00043 private: 00044 static const char* __s_getDataType_() { return "cob_3d_mapping_msgs/SetPointMapRequest"; } 00045 public: 00046 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00047 00048 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00049 00050 private: 00051 static const char* __s_getMD5Sum_() { return "b84fbb39505086eb6a62d933c75cb7b4"; } 00052 public: 00053 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00054 00055 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00056 00057 private: 00058 static const char* __s_getServerMD5Sum_() { return "b84fbb39505086eb6a62d933c75cb7b4"; } 00059 public: 00060 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00061 00062 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00063 00064 private: 00065 static const char* __s_getMessageDefinition_() { return "sensor_msgs/PointCloud2 map\n\ 00066 \n\ 00067 ================================================================================\n\ 00068 MSG: sensor_msgs/PointCloud2\n\ 00069 # This message holds a collection of N-dimensional points, which may\n\ 00070 # contain additional information such as normals, intensity, etc. The\n\ 00071 # point data is stored as a binary blob, its layout described by the\n\ 00072 # contents of the \"fields\" array.\n\ 00073 \n\ 00074 # The point cloud data may be organized 2d (image-like) or 1d\n\ 00075 # (unordered). Point clouds organized as 2d images may be produced by\n\ 00076 # camera depth sensors such as stereo or time-of-flight.\n\ 00077 \n\ 00078 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\ 00079 # points).\n\ 00080 Header header\n\ 00081 \n\ 00082 # 2D structure of the point cloud. If the cloud is unordered, height is\n\ 00083 # 1 and width is the length of the point cloud.\n\ 00084 uint32 height\n\ 00085 uint32 width\n\ 00086 \n\ 00087 # Describes the channels and their layout in the binary data blob.\n\ 00088 PointField[] fields\n\ 00089 \n\ 00090 bool is_bigendian # Is this data bigendian?\n\ 00091 uint32 point_step # Length of a point in bytes\n\ 00092 uint32 row_step # Length of a row in bytes\n\ 00093 uint8[] data # Actual point data, size is (row_step*height)\n\ 00094 \n\ 00095 bool is_dense # True if there are no invalid points\n\ 00096 \n\ 00097 ================================================================================\n\ 00098 MSG: std_msgs/Header\n\ 00099 # Standard metadata for higher-level stamped data types.\n\ 00100 # This is generally used to communicate timestamped data \n\ 00101 # in a particular coordinate frame.\n\ 00102 # \n\ 00103 # sequence ID: consecutively increasing ID \n\ 00104 uint32 seq\n\ 00105 #Two-integer timestamp that is expressed as:\n\ 00106 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00107 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00108 # time-handling sugar is provided by the client library\n\ 00109 time stamp\n\ 00110 #Frame this data is associated with\n\ 00111 # 0: no frame\n\ 00112 # 1: global frame\n\ 00113 string frame_id\n\ 00114 \n\ 00115 ================================================================================\n\ 00116 MSG: sensor_msgs/PointField\n\ 00117 # This message holds the description of one point entry in the\n\ 00118 # PointCloud2 message format.\n\ 00119 uint8 INT8 = 1\n\ 00120 uint8 UINT8 = 2\n\ 00121 uint8 INT16 = 3\n\ 00122 uint8 UINT16 = 4\n\ 00123 uint8 INT32 = 5\n\ 00124 uint8 UINT32 = 6\n\ 00125 uint8 FLOAT32 = 7\n\ 00126 uint8 FLOAT64 = 8\n\ 00127 \n\ 00128 string name # Name of field\n\ 00129 uint32 offset # Offset from start of point struct\n\ 00130 uint8 datatype # Datatype enumeration, see above\n\ 00131 uint32 count # How many elements in the field\n\ 00132 \n\ 00133 "; } 00134 public: 00135 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00136 00137 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00138 00139 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00140 { 00141 ros::serialization::OStream stream(write_ptr, 1000000000); 00142 ros::serialization::serialize(stream, map); 00143 return stream.getData(); 00144 } 00145 00146 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00147 { 00148 ros::serialization::IStream stream(read_ptr, 1000000000); 00149 ros::serialization::deserialize(stream, map); 00150 return stream.getData(); 00151 } 00152 00153 ROS_DEPRECATED virtual uint32_t serializationLength() const 00154 { 00155 uint32_t size = 0; 00156 size += ros::serialization::serializationLength(map); 00157 return size; 00158 } 00159 00160 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::SetPointMapRequest_<ContainerAllocator> > Ptr; 00161 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::SetPointMapRequest_<ContainerAllocator> const> ConstPtr; 00162 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00163 }; // struct SetPointMapRequest 00164 typedef ::cob_3d_mapping_msgs::SetPointMapRequest_<std::allocator<void> > SetPointMapRequest; 00165 00166 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::SetPointMapRequest> SetPointMapRequestPtr; 00167 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::SetPointMapRequest const> SetPointMapRequestConstPtr; 00168 00169 00170 template <class ContainerAllocator> 00171 struct SetPointMapResponse_ { 00172 typedef SetPointMapResponse_<ContainerAllocator> Type; 00173 00174 SetPointMapResponse_() 00175 { 00176 } 00177 00178 SetPointMapResponse_(const ContainerAllocator& _alloc) 00179 { 00180 } 00181 00182 00183 private: 00184 static const char* __s_getDataType_() { return "cob_3d_mapping_msgs/SetPointMapResponse"; } 00185 public: 00186 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00187 00188 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00189 00190 private: 00191 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; } 00192 public: 00193 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00194 00195 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00196 00197 private: 00198 static const char* __s_getServerMD5Sum_() { return "b84fbb39505086eb6a62d933c75cb7b4"; } 00199 public: 00200 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00201 00202 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00203 00204 private: 00205 static const char* __s_getMessageDefinition_() { return "\n\ 00206 \n\ 00207 "; } 00208 public: 00209 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00210 00211 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00212 00213 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00214 { 00215 ros::serialization::OStream stream(write_ptr, 1000000000); 00216 return stream.getData(); 00217 } 00218 00219 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00220 { 00221 ros::serialization::IStream stream(read_ptr, 1000000000); 00222 return stream.getData(); 00223 } 00224 00225 ROS_DEPRECATED virtual uint32_t serializationLength() const 00226 { 00227 uint32_t size = 0; 00228 return size; 00229 } 00230 00231 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::SetPointMapResponse_<ContainerAllocator> > Ptr; 00232 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::SetPointMapResponse_<ContainerAllocator> const> ConstPtr; 00233 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00234 }; // struct SetPointMapResponse 00235 typedef ::cob_3d_mapping_msgs::SetPointMapResponse_<std::allocator<void> > SetPointMapResponse; 00236 00237 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::SetPointMapResponse> SetPointMapResponsePtr; 00238 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::SetPointMapResponse const> SetPointMapResponseConstPtr; 00239 00240 struct SetPointMap 00241 { 00242 00243 typedef SetPointMapRequest Request; 00244 typedef SetPointMapResponse Response; 00245 Request request; 00246 Response response; 00247 00248 typedef Request RequestType; 00249 typedef Response ResponseType; 00250 }; // struct SetPointMap 00251 } // namespace cob_3d_mapping_msgs 00252 00253 namespace ros 00254 { 00255 namespace message_traits 00256 { 00257 template<class ContainerAllocator> struct IsMessage< ::cob_3d_mapping_msgs::SetPointMapRequest_<ContainerAllocator> > : public TrueType {}; 00258 template<class ContainerAllocator> struct IsMessage< ::cob_3d_mapping_msgs::SetPointMapRequest_<ContainerAllocator> const> : public TrueType {}; 00259 template<class ContainerAllocator> 00260 struct MD5Sum< ::cob_3d_mapping_msgs::SetPointMapRequest_<ContainerAllocator> > { 00261 static const char* value() 00262 { 00263 return "b84fbb39505086eb6a62d933c75cb7b4"; 00264 } 00265 00266 static const char* value(const ::cob_3d_mapping_msgs::SetPointMapRequest_<ContainerAllocator> &) { return value(); } 00267 static const uint64_t static_value1 = 0xb84fbb39505086ebULL; 00268 static const uint64_t static_value2 = 0x6a62d933c75cb7b4ULL; 00269 }; 00270 00271 template<class ContainerAllocator> 00272 struct DataType< ::cob_3d_mapping_msgs::SetPointMapRequest_<ContainerAllocator> > { 00273 static const char* value() 00274 { 00275 return "cob_3d_mapping_msgs/SetPointMapRequest"; 00276 } 00277 00278 static const char* value(const ::cob_3d_mapping_msgs::SetPointMapRequest_<ContainerAllocator> &) { return value(); } 00279 }; 00280 00281 template<class ContainerAllocator> 00282 struct Definition< ::cob_3d_mapping_msgs::SetPointMapRequest_<ContainerAllocator> > { 00283 static const char* value() 00284 { 00285 return "sensor_msgs/PointCloud2 map\n\ 00286 \n\ 00287 ================================================================================\n\ 00288 MSG: sensor_msgs/PointCloud2\n\ 00289 # This message holds a collection of N-dimensional points, which may\n\ 00290 # contain additional information such as normals, intensity, etc. The\n\ 00291 # point data is stored as a binary blob, its layout described by the\n\ 00292 # contents of the \"fields\" array.\n\ 00293 \n\ 00294 # The point cloud data may be organized 2d (image-like) or 1d\n\ 00295 # (unordered). Point clouds organized as 2d images may be produced by\n\ 00296 # camera depth sensors such as stereo or time-of-flight.\n\ 00297 \n\ 00298 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\ 00299 # points).\n\ 00300 Header header\n\ 00301 \n\ 00302 # 2D structure of the point cloud. If the cloud is unordered, height is\n\ 00303 # 1 and width is the length of the point cloud.\n\ 00304 uint32 height\n\ 00305 uint32 width\n\ 00306 \n\ 00307 # Describes the channels and their layout in the binary data blob.\n\ 00308 PointField[] fields\n\ 00309 \n\ 00310 bool is_bigendian # Is this data bigendian?\n\ 00311 uint32 point_step # Length of a point in bytes\n\ 00312 uint32 row_step # Length of a row in bytes\n\ 00313 uint8[] data # Actual point data, size is (row_step*height)\n\ 00314 \n\ 00315 bool is_dense # True if there are no invalid points\n\ 00316 \n\ 00317 ================================================================================\n\ 00318 MSG: std_msgs/Header\n\ 00319 # Standard metadata for higher-level stamped data types.\n\ 00320 # This is generally used to communicate timestamped data \n\ 00321 # in a particular coordinate frame.\n\ 00322 # \n\ 00323 # sequence ID: consecutively increasing ID \n\ 00324 uint32 seq\n\ 00325 #Two-integer timestamp that is expressed as:\n\ 00326 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00327 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00328 # time-handling sugar is provided by the client library\n\ 00329 time stamp\n\ 00330 #Frame this data is associated with\n\ 00331 # 0: no frame\n\ 00332 # 1: global frame\n\ 00333 string frame_id\n\ 00334 \n\ 00335 ================================================================================\n\ 00336 MSG: sensor_msgs/PointField\n\ 00337 # This message holds the description of one point entry in the\n\ 00338 # PointCloud2 message format.\n\ 00339 uint8 INT8 = 1\n\ 00340 uint8 UINT8 = 2\n\ 00341 uint8 INT16 = 3\n\ 00342 uint8 UINT16 = 4\n\ 00343 uint8 INT32 = 5\n\ 00344 uint8 UINT32 = 6\n\ 00345 uint8 FLOAT32 = 7\n\ 00346 uint8 FLOAT64 = 8\n\ 00347 \n\ 00348 string name # Name of field\n\ 00349 uint32 offset # Offset from start of point struct\n\ 00350 uint8 datatype # Datatype enumeration, see above\n\ 00351 uint32 count # How many elements in the field\n\ 00352 \n\ 00353 "; 00354 } 00355 00356 static const char* value(const ::cob_3d_mapping_msgs::SetPointMapRequest_<ContainerAllocator> &) { return value(); } 00357 }; 00358 00359 } // namespace message_traits 00360 } // namespace ros 00361 00362 00363 namespace ros 00364 { 00365 namespace message_traits 00366 { 00367 template<class ContainerAllocator> struct IsMessage< ::cob_3d_mapping_msgs::SetPointMapResponse_<ContainerAllocator> > : public TrueType {}; 00368 template<class ContainerAllocator> struct IsMessage< ::cob_3d_mapping_msgs::SetPointMapResponse_<ContainerAllocator> const> : public TrueType {}; 00369 template<class ContainerAllocator> 00370 struct MD5Sum< ::cob_3d_mapping_msgs::SetPointMapResponse_<ContainerAllocator> > { 00371 static const char* value() 00372 { 00373 return "d41d8cd98f00b204e9800998ecf8427e"; 00374 } 00375 00376 static const char* value(const ::cob_3d_mapping_msgs::SetPointMapResponse_<ContainerAllocator> &) { return value(); } 00377 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL; 00378 static const uint64_t static_value2 = 0xe9800998ecf8427eULL; 00379 }; 00380 00381 template<class ContainerAllocator> 00382 struct DataType< ::cob_3d_mapping_msgs::SetPointMapResponse_<ContainerAllocator> > { 00383 static const char* value() 00384 { 00385 return "cob_3d_mapping_msgs/SetPointMapResponse"; 00386 } 00387 00388 static const char* value(const ::cob_3d_mapping_msgs::SetPointMapResponse_<ContainerAllocator> &) { return value(); } 00389 }; 00390 00391 template<class ContainerAllocator> 00392 struct Definition< ::cob_3d_mapping_msgs::SetPointMapResponse_<ContainerAllocator> > { 00393 static const char* value() 00394 { 00395 return "\n\ 00396 \n\ 00397 "; 00398 } 00399 00400 static const char* value(const ::cob_3d_mapping_msgs::SetPointMapResponse_<ContainerAllocator> &) { return value(); } 00401 }; 00402 00403 template<class ContainerAllocator> struct IsFixedSize< ::cob_3d_mapping_msgs::SetPointMapResponse_<ContainerAllocator> > : public TrueType {}; 00404 } // namespace message_traits 00405 } // namespace ros 00406 00407 namespace ros 00408 { 00409 namespace serialization 00410 { 00411 00412 template<class ContainerAllocator> struct Serializer< ::cob_3d_mapping_msgs::SetPointMapRequest_<ContainerAllocator> > 00413 { 00414 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00415 { 00416 stream.next(m.map); 00417 } 00418 00419 ROS_DECLARE_ALLINONE_SERIALIZER; 00420 }; // struct SetPointMapRequest_ 00421 } // namespace serialization 00422 } // namespace ros 00423 00424 00425 namespace ros 00426 { 00427 namespace serialization 00428 { 00429 00430 template<class ContainerAllocator> struct Serializer< ::cob_3d_mapping_msgs::SetPointMapResponse_<ContainerAllocator> > 00431 { 00432 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00433 { 00434 } 00435 00436 ROS_DECLARE_ALLINONE_SERIALIZER; 00437 }; // struct SetPointMapResponse_ 00438 } // namespace serialization 00439 } // namespace ros 00440 00441 namespace ros 00442 { 00443 namespace service_traits 00444 { 00445 template<> 00446 struct MD5Sum<cob_3d_mapping_msgs::SetPointMap> { 00447 static const char* value() 00448 { 00449 return "b84fbb39505086eb6a62d933c75cb7b4"; 00450 } 00451 00452 static const char* value(const cob_3d_mapping_msgs::SetPointMap&) { return value(); } 00453 }; 00454 00455 template<> 00456 struct DataType<cob_3d_mapping_msgs::SetPointMap> { 00457 static const char* value() 00458 { 00459 return "cob_3d_mapping_msgs/SetPointMap"; 00460 } 00461 00462 static const char* value(const cob_3d_mapping_msgs::SetPointMap&) { return value(); } 00463 }; 00464 00465 template<class ContainerAllocator> 00466 struct MD5Sum<cob_3d_mapping_msgs::SetPointMapRequest_<ContainerAllocator> > { 00467 static const char* value() 00468 { 00469 return "b84fbb39505086eb6a62d933c75cb7b4"; 00470 } 00471 00472 static const char* value(const cob_3d_mapping_msgs::SetPointMapRequest_<ContainerAllocator> &) { return value(); } 00473 }; 00474 00475 template<class ContainerAllocator> 00476 struct DataType<cob_3d_mapping_msgs::SetPointMapRequest_<ContainerAllocator> > { 00477 static const char* value() 00478 { 00479 return "cob_3d_mapping_msgs/SetPointMap"; 00480 } 00481 00482 static const char* value(const cob_3d_mapping_msgs::SetPointMapRequest_<ContainerAllocator> &) { return value(); } 00483 }; 00484 00485 template<class ContainerAllocator> 00486 struct MD5Sum<cob_3d_mapping_msgs::SetPointMapResponse_<ContainerAllocator> > { 00487 static const char* value() 00488 { 00489 return "b84fbb39505086eb6a62d933c75cb7b4"; 00490 } 00491 00492 static const char* value(const cob_3d_mapping_msgs::SetPointMapResponse_<ContainerAllocator> &) { return value(); } 00493 }; 00494 00495 template<class ContainerAllocator> 00496 struct DataType<cob_3d_mapping_msgs::SetPointMapResponse_<ContainerAllocator> > { 00497 static const char* value() 00498 { 00499 return "cob_3d_mapping_msgs/SetPointMap"; 00500 } 00501 00502 static const char* value(const cob_3d_mapping_msgs::SetPointMapResponse_<ContainerAllocator> &) { return value(); } 00503 }; 00504 00505 } // namespace service_traits 00506 } // namespace ros 00507 00508 #endif // COB_3D_MAPPING_MSGS_SERVICE_SETPOINTMAP_H 00509