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