Go to the documentation of this file.00001
00002 #ifndef COB_CAMERA_SENSORS_SERVICE_GETTOFIMAGES_H
00003 #define COB_CAMERA_SENSORS_SERVICE_GETTOFIMAGES_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/Image.h"
00022 #include "sensor_msgs/Image.h"
00023
00024 namespace cob_camera_sensors
00025 {
00026 template <class ContainerAllocator>
00027 struct GetTOFImagesRequest_ {
00028 typedef GetTOFImagesRequest_<ContainerAllocator> Type;
00029
00030 GetTOFImagesRequest_()
00031 {
00032 }
00033
00034 GetTOFImagesRequest_(const ContainerAllocator& _alloc)
00035 {
00036 }
00037
00038
00039 typedef boost::shared_ptr< ::cob_camera_sensors::GetTOFImagesRequest_<ContainerAllocator> > Ptr;
00040 typedef boost::shared_ptr< ::cob_camera_sensors::GetTOFImagesRequest_<ContainerAllocator> const> ConstPtr;
00041 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 };
00043 typedef ::cob_camera_sensors::GetTOFImagesRequest_<std::allocator<void> > GetTOFImagesRequest;
00044
00045 typedef boost::shared_ptr< ::cob_camera_sensors::GetTOFImagesRequest> GetTOFImagesRequestPtr;
00046 typedef boost::shared_ptr< ::cob_camera_sensors::GetTOFImagesRequest const> GetTOFImagesRequestConstPtr;
00047
00048
00049 template <class ContainerAllocator>
00050 struct GetTOFImagesResponse_ {
00051 typedef GetTOFImagesResponse_<ContainerAllocator> Type;
00052
00053 GetTOFImagesResponse_()
00054 : greyImage()
00055 , xyzImage()
00056 {
00057 }
00058
00059 GetTOFImagesResponse_(const ContainerAllocator& _alloc)
00060 : greyImage(_alloc)
00061 , xyzImage(_alloc)
00062 {
00063 }
00064
00065 typedef ::sensor_msgs::Image_<ContainerAllocator> _greyImage_type;
00066 ::sensor_msgs::Image_<ContainerAllocator> greyImage;
00067
00068 typedef ::sensor_msgs::Image_<ContainerAllocator> _xyzImage_type;
00069 ::sensor_msgs::Image_<ContainerAllocator> xyzImage;
00070
00071
00072 typedef boost::shared_ptr< ::cob_camera_sensors::GetTOFImagesResponse_<ContainerAllocator> > Ptr;
00073 typedef boost::shared_ptr< ::cob_camera_sensors::GetTOFImagesResponse_<ContainerAllocator> const> ConstPtr;
00074 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00075 };
00076 typedef ::cob_camera_sensors::GetTOFImagesResponse_<std::allocator<void> > GetTOFImagesResponse;
00077
00078 typedef boost::shared_ptr< ::cob_camera_sensors::GetTOFImagesResponse> GetTOFImagesResponsePtr;
00079 typedef boost::shared_ptr< ::cob_camera_sensors::GetTOFImagesResponse const> GetTOFImagesResponseConstPtr;
00080
00081 struct GetTOFImages
00082 {
00083
00084 typedef GetTOFImagesRequest Request;
00085 typedef GetTOFImagesResponse 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< ::cob_camera_sensors::GetTOFImagesRequest_<ContainerAllocator> > : public TrueType {};
00099 template<class ContainerAllocator> struct IsMessage< ::cob_camera_sensors::GetTOFImagesRequest_<ContainerAllocator> const> : public TrueType {};
00100 template<class ContainerAllocator>
00101 struct MD5Sum< ::cob_camera_sensors::GetTOFImagesRequest_<ContainerAllocator> > {
00102 static const char* value()
00103 {
00104 return "d41d8cd98f00b204e9800998ecf8427e";
00105 }
00106
00107 static const char* value(const ::cob_camera_sensors::GetTOFImagesRequest_<ContainerAllocator> &) { return value(); }
00108 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00109 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00110 };
00111
00112 template<class ContainerAllocator>
00113 struct DataType< ::cob_camera_sensors::GetTOFImagesRequest_<ContainerAllocator> > {
00114 static const char* value()
00115 {
00116 return "cob_camera_sensors/GetTOFImagesRequest";
00117 }
00118
00119 static const char* value(const ::cob_camera_sensors::GetTOFImagesRequest_<ContainerAllocator> &) { return value(); }
00120 };
00121
00122 template<class ContainerAllocator>
00123 struct Definition< ::cob_camera_sensors::GetTOFImagesRequest_<ContainerAllocator> > {
00124 static const char* value()
00125 {
00126 return "\n\
00127 ";
00128 }
00129
00130 static const char* value(const ::cob_camera_sensors::GetTOFImagesRequest_<ContainerAllocator> &) { return value(); }
00131 };
00132
00133 template<class ContainerAllocator> struct IsFixedSize< ::cob_camera_sensors::GetTOFImagesRequest_<ContainerAllocator> > : public TrueType {};
00134 }
00135 }
00136
00137
00138 namespace ros
00139 {
00140 namespace message_traits
00141 {
00142 template<class ContainerAllocator> struct IsMessage< ::cob_camera_sensors::GetTOFImagesResponse_<ContainerAllocator> > : public TrueType {};
00143 template<class ContainerAllocator> struct IsMessage< ::cob_camera_sensors::GetTOFImagesResponse_<ContainerAllocator> const> : public TrueType {};
00144 template<class ContainerAllocator>
00145 struct MD5Sum< ::cob_camera_sensors::GetTOFImagesResponse_<ContainerAllocator> > {
00146 static const char* value()
00147 {
00148 return "245ce4e6dd0ec61a5c674c8191a91877";
00149 }
00150
00151 static const char* value(const ::cob_camera_sensors::GetTOFImagesResponse_<ContainerAllocator> &) { return value(); }
00152 static const uint64_t static_value1 = 0x245ce4e6dd0ec61aULL;
00153 static const uint64_t static_value2 = 0x5c674c8191a91877ULL;
00154 };
00155
00156 template<class ContainerAllocator>
00157 struct DataType< ::cob_camera_sensors::GetTOFImagesResponse_<ContainerAllocator> > {
00158 static const char* value()
00159 {
00160 return "cob_camera_sensors/GetTOFImagesResponse";
00161 }
00162
00163 static const char* value(const ::cob_camera_sensors::GetTOFImagesResponse_<ContainerAllocator> &) { return value(); }
00164 };
00165
00166 template<class ContainerAllocator>
00167 struct Definition< ::cob_camera_sensors::GetTOFImagesResponse_<ContainerAllocator> > {
00168 static const char* value()
00169 {
00170 return "sensor_msgs/Image greyImage\n\
00171 sensor_msgs/Image xyzImage\n\
00172 \n\
00173 \n\
00174 ================================================================================\n\
00175 MSG: sensor_msgs/Image\n\
00176 # This message contains an uncompressed image\n\
00177 # (0, 0) is at top-left corner of image\n\
00178 #\n\
00179 \n\
00180 Header header # Header timestamp should be acquisition time of image\n\
00181 # Header frame_id should be optical frame of camera\n\
00182 # origin of frame should be optical center of cameara\n\
00183 # +x should point to the right in the image\n\
00184 # +y should point down in the image\n\
00185 # +z should point into to plane of the image\n\
00186 # If the frame_id here and the frame_id of the CameraInfo\n\
00187 # message associated with the image conflict\n\
00188 # the behavior is undefined\n\
00189 \n\
00190 uint32 height # image height, that is, number of rows\n\
00191 uint32 width # image width, that is, number of columns\n\
00192 \n\
00193 # The legal values for encoding are in file src/image_encodings.cpp\n\
00194 # If you want to standardize a new string format, join\n\
00195 # ros-users@lists.sourceforge.net and send an email proposing a new encoding.\n\
00196 \n\
00197 string encoding # Encoding of pixels -- channel meaning, ordering, size\n\
00198 # taken from the list of strings in src/image_encodings.cpp\n\
00199 \n\
00200 uint8 is_bigendian # is this data bigendian?\n\
00201 uint32 step # Full row length in bytes\n\
00202 uint8[] data # actual matrix data, size is (step * rows)\n\
00203 \n\
00204 ================================================================================\n\
00205 MSG: std_msgs/Header\n\
00206 # Standard metadata for higher-level stamped data types.\n\
00207 # This is generally used to communicate timestamped data \n\
00208 # in a particular coordinate frame.\n\
00209 # \n\
00210 # sequence ID: consecutively increasing ID \n\
00211 uint32 seq\n\
00212 #Two-integer timestamp that is expressed as:\n\
00213 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00214 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00215 # time-handling sugar is provided by the client library\n\
00216 time stamp\n\
00217 #Frame this data is associated with\n\
00218 # 0: no frame\n\
00219 # 1: global frame\n\
00220 string frame_id\n\
00221 \n\
00222 ";
00223 }
00224
00225 static const char* value(const ::cob_camera_sensors::GetTOFImagesResponse_<ContainerAllocator> &) { return value(); }
00226 };
00227
00228 }
00229 }
00230
00231 namespace ros
00232 {
00233 namespace serialization
00234 {
00235
00236 template<class ContainerAllocator> struct Serializer< ::cob_camera_sensors::GetTOFImagesRequest_<ContainerAllocator> >
00237 {
00238 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00239 {
00240 }
00241
00242 ROS_DECLARE_ALLINONE_SERIALIZER;
00243 };
00244 }
00245 }
00246
00247
00248 namespace ros
00249 {
00250 namespace serialization
00251 {
00252
00253 template<class ContainerAllocator> struct Serializer< ::cob_camera_sensors::GetTOFImagesResponse_<ContainerAllocator> >
00254 {
00255 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00256 {
00257 stream.next(m.greyImage);
00258 stream.next(m.xyzImage);
00259 }
00260
00261 ROS_DECLARE_ALLINONE_SERIALIZER;
00262 };
00263 }
00264 }
00265
00266 namespace ros
00267 {
00268 namespace service_traits
00269 {
00270 template<>
00271 struct MD5Sum<cob_camera_sensors::GetTOFImages> {
00272 static const char* value()
00273 {
00274 return "245ce4e6dd0ec61a5c674c8191a91877";
00275 }
00276
00277 static const char* value(const cob_camera_sensors::GetTOFImages&) { return value(); }
00278 };
00279
00280 template<>
00281 struct DataType<cob_camera_sensors::GetTOFImages> {
00282 static const char* value()
00283 {
00284 return "cob_camera_sensors/GetTOFImages";
00285 }
00286
00287 static const char* value(const cob_camera_sensors::GetTOFImages&) { return value(); }
00288 };
00289
00290 template<class ContainerAllocator>
00291 struct MD5Sum<cob_camera_sensors::GetTOFImagesRequest_<ContainerAllocator> > {
00292 static const char* value()
00293 {
00294 return "245ce4e6dd0ec61a5c674c8191a91877";
00295 }
00296
00297 static const char* value(const cob_camera_sensors::GetTOFImagesRequest_<ContainerAllocator> &) { return value(); }
00298 };
00299
00300 template<class ContainerAllocator>
00301 struct DataType<cob_camera_sensors::GetTOFImagesRequest_<ContainerAllocator> > {
00302 static const char* value()
00303 {
00304 return "cob_camera_sensors/GetTOFImages";
00305 }
00306
00307 static const char* value(const cob_camera_sensors::GetTOFImagesRequest_<ContainerAllocator> &) { return value(); }
00308 };
00309
00310 template<class ContainerAllocator>
00311 struct MD5Sum<cob_camera_sensors::GetTOFImagesResponse_<ContainerAllocator> > {
00312 static const char* value()
00313 {
00314 return "245ce4e6dd0ec61a5c674c8191a91877";
00315 }
00316
00317 static const char* value(const cob_camera_sensors::GetTOFImagesResponse_<ContainerAllocator> &) { return value(); }
00318 };
00319
00320 template<class ContainerAllocator>
00321 struct DataType<cob_camera_sensors::GetTOFImagesResponse_<ContainerAllocator> > {
00322 static const char* value()
00323 {
00324 return "cob_camera_sensors/GetTOFImages";
00325 }
00326
00327 static const char* value(const cob_camera_sensors::GetTOFImagesResponse_<ContainerAllocator> &) { return value(); }
00328 };
00329
00330 }
00331 }
00332
00333 #endif // COB_CAMERA_SENSORS_SERVICE_GETTOFIMAGES_H
00334