Go to the documentation of this file.00001
00002 #ifndef MAP_MSGS_SERVICE_GETPOINTMAPROI_H
00003 #define MAP_MSGS_SERVICE_GETPOINTMAPROI_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 "sensor_msgs/PointCloud2.h"
00022
00023 namespace map_msgs
00024 {
00025 template <class ContainerAllocator>
00026 struct GetPointMapROIRequest_ {
00027 typedef GetPointMapROIRequest_<ContainerAllocator> Type;
00028
00029 GetPointMapROIRequest_()
00030 : x(0.0)
00031 , y(0.0)
00032 , z(0.0)
00033 , r(0.0)
00034 , l_x(0.0)
00035 , l_y(0.0)
00036 , l_z(0.0)
00037 {
00038 }
00039
00040 GetPointMapROIRequest_(const ContainerAllocator& _alloc)
00041 : x(0.0)
00042 , y(0.0)
00043 , z(0.0)
00044 , r(0.0)
00045 , l_x(0.0)
00046 , l_y(0.0)
00047 , l_z(0.0)
00048 {
00049 }
00050
00051 typedef double _x_type;
00052 double x;
00053
00054 typedef double _y_type;
00055 double y;
00056
00057 typedef double _z_type;
00058 double z;
00059
00060 typedef double _r_type;
00061 double r;
00062
00063 typedef double _l_x_type;
00064 double l_x;
00065
00066 typedef double _l_y_type;
00067 double l_y;
00068
00069 typedef double _l_z_type;
00070 double l_z;
00071
00072
00073 typedef boost::shared_ptr< ::map_msgs::GetPointMapROIRequest_<ContainerAllocator> > Ptr;
00074 typedef boost::shared_ptr< ::map_msgs::GetPointMapROIRequest_<ContainerAllocator> const> ConstPtr;
00075 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00076 };
00077 typedef ::map_msgs::GetPointMapROIRequest_<std::allocator<void> > GetPointMapROIRequest;
00078
00079 typedef boost::shared_ptr< ::map_msgs::GetPointMapROIRequest> GetPointMapROIRequestPtr;
00080 typedef boost::shared_ptr< ::map_msgs::GetPointMapROIRequest const> GetPointMapROIRequestConstPtr;
00081
00082
00083 template <class ContainerAllocator>
00084 struct GetPointMapROIResponse_ {
00085 typedef GetPointMapROIResponse_<ContainerAllocator> Type;
00086
00087 GetPointMapROIResponse_()
00088 : sub_map()
00089 {
00090 }
00091
00092 GetPointMapROIResponse_(const ContainerAllocator& _alloc)
00093 : sub_map(_alloc)
00094 {
00095 }
00096
00097 typedef ::sensor_msgs::PointCloud2_<ContainerAllocator> _sub_map_type;
00098 ::sensor_msgs::PointCloud2_<ContainerAllocator> sub_map;
00099
00100
00101 typedef boost::shared_ptr< ::map_msgs::GetPointMapROIResponse_<ContainerAllocator> > Ptr;
00102 typedef boost::shared_ptr< ::map_msgs::GetPointMapROIResponse_<ContainerAllocator> const> ConstPtr;
00103 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00104 };
00105 typedef ::map_msgs::GetPointMapROIResponse_<std::allocator<void> > GetPointMapROIResponse;
00106
00107 typedef boost::shared_ptr< ::map_msgs::GetPointMapROIResponse> GetPointMapROIResponsePtr;
00108 typedef boost::shared_ptr< ::map_msgs::GetPointMapROIResponse const> GetPointMapROIResponseConstPtr;
00109
00110 struct GetPointMapROI
00111 {
00112
00113 typedef GetPointMapROIRequest Request;
00114 typedef GetPointMapROIResponse Response;
00115 Request request;
00116 Response response;
00117
00118 typedef Request RequestType;
00119 typedef Response ResponseType;
00120 };
00121 }
00122
00123 namespace ros
00124 {
00125 namespace message_traits
00126 {
00127 template<class ContainerAllocator> struct IsMessage< ::map_msgs::GetPointMapROIRequest_<ContainerAllocator> > : public TrueType {};
00128 template<class ContainerAllocator> struct IsMessage< ::map_msgs::GetPointMapROIRequest_<ContainerAllocator> const> : public TrueType {};
00129 template<class ContainerAllocator>
00130 struct MD5Sum< ::map_msgs::GetPointMapROIRequest_<ContainerAllocator> > {
00131 static const char* value()
00132 {
00133 return "895f7e437a9a6dd225316872b187a303";
00134 }
00135
00136 static const char* value(const ::map_msgs::GetPointMapROIRequest_<ContainerAllocator> &) { return value(); }
00137 static const uint64_t static_value1 = 0x895f7e437a9a6dd2ULL;
00138 static const uint64_t static_value2 = 0x25316872b187a303ULL;
00139 };
00140
00141 template<class ContainerAllocator>
00142 struct DataType< ::map_msgs::GetPointMapROIRequest_<ContainerAllocator> > {
00143 static const char* value()
00144 {
00145 return "map_msgs/GetPointMapROIRequest";
00146 }
00147
00148 static const char* value(const ::map_msgs::GetPointMapROIRequest_<ContainerAllocator> &) { return value(); }
00149 };
00150
00151 template<class ContainerAllocator>
00152 struct Definition< ::map_msgs::GetPointMapROIRequest_<ContainerAllocator> > {
00153 static const char* value()
00154 {
00155 return "float64 x\n\
00156 float64 y\n\
00157 float64 z\n\
00158 float64 r\n\
00159 float64 l_x\n\
00160 float64 l_y\n\
00161 float64 l_z\n\
00162 \n\
00163 ";
00164 }
00165
00166 static const char* value(const ::map_msgs::GetPointMapROIRequest_<ContainerAllocator> &) { return value(); }
00167 };
00168
00169 template<class ContainerAllocator> struct IsFixedSize< ::map_msgs::GetPointMapROIRequest_<ContainerAllocator> > : public TrueType {};
00170 }
00171 }
00172
00173
00174 namespace ros
00175 {
00176 namespace message_traits
00177 {
00178 template<class ContainerAllocator> struct IsMessage< ::map_msgs::GetPointMapROIResponse_<ContainerAllocator> > : public TrueType {};
00179 template<class ContainerAllocator> struct IsMessage< ::map_msgs::GetPointMapROIResponse_<ContainerAllocator> const> : public TrueType {};
00180 template<class ContainerAllocator>
00181 struct MD5Sum< ::map_msgs::GetPointMapROIResponse_<ContainerAllocator> > {
00182 static const char* value()
00183 {
00184 return "313769f8b0e724525c6463336cbccd63";
00185 }
00186
00187 static const char* value(const ::map_msgs::GetPointMapROIResponse_<ContainerAllocator> &) { return value(); }
00188 static const uint64_t static_value1 = 0x313769f8b0e72452ULL;
00189 static const uint64_t static_value2 = 0x5c6463336cbccd63ULL;
00190 };
00191
00192 template<class ContainerAllocator>
00193 struct DataType< ::map_msgs::GetPointMapROIResponse_<ContainerAllocator> > {
00194 static const char* value()
00195 {
00196 return "map_msgs/GetPointMapROIResponse";
00197 }
00198
00199 static const char* value(const ::map_msgs::GetPointMapROIResponse_<ContainerAllocator> &) { return value(); }
00200 };
00201
00202 template<class ContainerAllocator>
00203 struct Definition< ::map_msgs::GetPointMapROIResponse_<ContainerAllocator> > {
00204 static const char* value()
00205 {
00206 return "sensor_msgs/PointCloud2 sub_map\n\
00207 \n\
00208 ================================================================================\n\
00209 MSG: sensor_msgs/PointCloud2\n\
00210 # This message holds a collection of N-dimensional points, which may\n\
00211 # contain additional information such as normals, intensity, etc. The\n\
00212 # point data is stored as a binary blob, its layout described by the\n\
00213 # contents of the \"fields\" array.\n\
00214 \n\
00215 # The point cloud data may be organized 2d (image-like) or 1d\n\
00216 # (unordered). Point clouds organized as 2d images may be produced by\n\
00217 # camera depth sensors such as stereo or time-of-flight.\n\
00218 \n\
00219 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\
00220 # points).\n\
00221 Header header\n\
00222 \n\
00223 # 2D structure of the point cloud. If the cloud is unordered, height is\n\
00224 # 1 and width is the length of the point cloud.\n\
00225 uint32 height\n\
00226 uint32 width\n\
00227 \n\
00228 # Describes the channels and their layout in the binary data blob.\n\
00229 PointField[] fields\n\
00230 \n\
00231 bool is_bigendian # Is this data bigendian?\n\
00232 uint32 point_step # Length of a point in bytes\n\
00233 uint32 row_step # Length of a row in bytes\n\
00234 uint8[] data # Actual point data, size is (row_step*height)\n\
00235 \n\
00236 bool is_dense # True if there are no invalid points\n\
00237 \n\
00238 ================================================================================\n\
00239 MSG: std_msgs/Header\n\
00240 # Standard metadata for higher-level stamped data types.\n\
00241 # This is generally used to communicate timestamped data \n\
00242 # in a particular coordinate frame.\n\
00243 # \n\
00244 # sequence ID: consecutively increasing ID \n\
00245 uint32 seq\n\
00246 #Two-integer timestamp that is expressed as:\n\
00247 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00248 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00249 # time-handling sugar is provided by the client library\n\
00250 time stamp\n\
00251 #Frame this data is associated with\n\
00252 # 0: no frame\n\
00253 # 1: global frame\n\
00254 string frame_id\n\
00255 \n\
00256 ================================================================================\n\
00257 MSG: sensor_msgs/PointField\n\
00258 # This message holds the description of one point entry in the\n\
00259 # PointCloud2 message format.\n\
00260 uint8 INT8 = 1\n\
00261 uint8 UINT8 = 2\n\
00262 uint8 INT16 = 3\n\
00263 uint8 UINT16 = 4\n\
00264 uint8 INT32 = 5\n\
00265 uint8 UINT32 = 6\n\
00266 uint8 FLOAT32 = 7\n\
00267 uint8 FLOAT64 = 8\n\
00268 \n\
00269 string name # Name of field\n\
00270 uint32 offset # Offset from start of point struct\n\
00271 uint8 datatype # Datatype enumeration, see above\n\
00272 uint32 count # How many elements in the field\n\
00273 \n\
00274 ";
00275 }
00276
00277 static const char* value(const ::map_msgs::GetPointMapROIResponse_<ContainerAllocator> &) { return value(); }
00278 };
00279
00280 }
00281 }
00282
00283 namespace ros
00284 {
00285 namespace serialization
00286 {
00287
00288 template<class ContainerAllocator> struct Serializer< ::map_msgs::GetPointMapROIRequest_<ContainerAllocator> >
00289 {
00290 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00291 {
00292 stream.next(m.x);
00293 stream.next(m.y);
00294 stream.next(m.z);
00295 stream.next(m.r);
00296 stream.next(m.l_x);
00297 stream.next(m.l_y);
00298 stream.next(m.l_z);
00299 }
00300
00301 ROS_DECLARE_ALLINONE_SERIALIZER;
00302 };
00303 }
00304 }
00305
00306
00307 namespace ros
00308 {
00309 namespace serialization
00310 {
00311
00312 template<class ContainerAllocator> struct Serializer< ::map_msgs::GetPointMapROIResponse_<ContainerAllocator> >
00313 {
00314 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00315 {
00316 stream.next(m.sub_map);
00317 }
00318
00319 ROS_DECLARE_ALLINONE_SERIALIZER;
00320 };
00321 }
00322 }
00323
00324 namespace ros
00325 {
00326 namespace service_traits
00327 {
00328 template<>
00329 struct MD5Sum<map_msgs::GetPointMapROI> {
00330 static const char* value()
00331 {
00332 return "d955594b5ccde9615cbe5aed9442f733";
00333 }
00334
00335 static const char* value(const map_msgs::GetPointMapROI&) { return value(); }
00336 };
00337
00338 template<>
00339 struct DataType<map_msgs::GetPointMapROI> {
00340 static const char* value()
00341 {
00342 return "map_msgs/GetPointMapROI";
00343 }
00344
00345 static const char* value(const map_msgs::GetPointMapROI&) { return value(); }
00346 };
00347
00348 template<class ContainerAllocator>
00349 struct MD5Sum<map_msgs::GetPointMapROIRequest_<ContainerAllocator> > {
00350 static const char* value()
00351 {
00352 return "d955594b5ccde9615cbe5aed9442f733";
00353 }
00354
00355 static const char* value(const map_msgs::GetPointMapROIRequest_<ContainerAllocator> &) { return value(); }
00356 };
00357
00358 template<class ContainerAllocator>
00359 struct DataType<map_msgs::GetPointMapROIRequest_<ContainerAllocator> > {
00360 static const char* value()
00361 {
00362 return "map_msgs/GetPointMapROI";
00363 }
00364
00365 static const char* value(const map_msgs::GetPointMapROIRequest_<ContainerAllocator> &) { return value(); }
00366 };
00367
00368 template<class ContainerAllocator>
00369 struct MD5Sum<map_msgs::GetPointMapROIResponse_<ContainerAllocator> > {
00370 static const char* value()
00371 {
00372 return "d955594b5ccde9615cbe5aed9442f733";
00373 }
00374
00375 static const char* value(const map_msgs::GetPointMapROIResponse_<ContainerAllocator> &) { return value(); }
00376 };
00377
00378 template<class ContainerAllocator>
00379 struct DataType<map_msgs::GetPointMapROIResponse_<ContainerAllocator> > {
00380 static const char* value()
00381 {
00382 return "map_msgs/GetPointMapROI";
00383 }
00384
00385 static const char* value(const map_msgs::GetPointMapROIResponse_<ContainerAllocator> &) { return value(); }
00386 };
00387
00388 }
00389 }
00390
00391 #endif // MAP_MSGS_SERVICE_GETPOINTMAPROI_H
00392