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