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


iri_perception_msgs
Author(s):
autogenerated on Fri Dec 6 2013 20:02:16