Go to the documentation of this file.00001
00002 #ifndef KINECT_DEPTH_CALIBRATION_SERVICE_GETCHECKERBOARDCENTER_H
00003 #define KINECT_DEPTH_CALIBRATION_SERVICE_GETCHECKERBOARDCENTER_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
00022 namespace kinect_depth_calibration
00023 {
00024 template <class ContainerAllocator>
00025 struct GetCheckerboardCenterRequest_ {
00026 typedef GetCheckerboardCenterRequest_<ContainerAllocator> Type;
00027
00028 GetCheckerboardCenterRequest_()
00029 : min_x(0.0)
00030 , max_x(0.0)
00031 , min_y(0.0)
00032 , max_y(0.0)
00033 , depth_prior(0.0)
00034 {
00035 }
00036
00037 GetCheckerboardCenterRequest_(const ContainerAllocator& _alloc)
00038 : min_x(0.0)
00039 , max_x(0.0)
00040 , min_y(0.0)
00041 , max_y(0.0)
00042 , depth_prior(0.0)
00043 {
00044 }
00045
00046 typedef float _min_x_type;
00047 float min_x;
00048
00049 typedef float _max_x_type;
00050 float max_x;
00051
00052 typedef float _min_y_type;
00053 float min_y;
00054
00055 typedef float _max_y_type;
00056 float max_y;
00057
00058 typedef float _depth_prior_type;
00059 float depth_prior;
00060
00061
00062 typedef boost::shared_ptr< ::kinect_depth_calibration::GetCheckerboardCenterRequest_<ContainerAllocator> > Ptr;
00063 typedef boost::shared_ptr< ::kinect_depth_calibration::GetCheckerboardCenterRequest_<ContainerAllocator> const> ConstPtr;
00064 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00065 };
00066 typedef ::kinect_depth_calibration::GetCheckerboardCenterRequest_<std::allocator<void> > GetCheckerboardCenterRequest;
00067
00068 typedef boost::shared_ptr< ::kinect_depth_calibration::GetCheckerboardCenterRequest> GetCheckerboardCenterRequestPtr;
00069 typedef boost::shared_ptr< ::kinect_depth_calibration::GetCheckerboardCenterRequest const> GetCheckerboardCenterRequestConstPtr;
00070
00071
00072
00073 template <class ContainerAllocator>
00074 struct GetCheckerboardCenterResponse_ {
00075 typedef GetCheckerboardCenterResponse_<ContainerAllocator> Type;
00076
00077 GetCheckerboardCenterResponse_()
00078 : depth(0.0)
00079 {
00080 }
00081
00082 GetCheckerboardCenterResponse_(const ContainerAllocator& _alloc)
00083 : depth(0.0)
00084 {
00085 }
00086
00087 typedef float _depth_type;
00088 float depth;
00089
00090
00091 typedef boost::shared_ptr< ::kinect_depth_calibration::GetCheckerboardCenterResponse_<ContainerAllocator> > Ptr;
00092 typedef boost::shared_ptr< ::kinect_depth_calibration::GetCheckerboardCenterResponse_<ContainerAllocator> const> ConstPtr;
00093 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00094 };
00095 typedef ::kinect_depth_calibration::GetCheckerboardCenterResponse_<std::allocator<void> > GetCheckerboardCenterResponse;
00096
00097 typedef boost::shared_ptr< ::kinect_depth_calibration::GetCheckerboardCenterResponse> GetCheckerboardCenterResponsePtr;
00098 typedef boost::shared_ptr< ::kinect_depth_calibration::GetCheckerboardCenterResponse const> GetCheckerboardCenterResponseConstPtr;
00099
00100
00101 struct GetCheckerboardCenter
00102 {
00103
00104 typedef GetCheckerboardCenterRequest Request;
00105 typedef GetCheckerboardCenterResponse Response;
00106 Request request;
00107 Response response;
00108
00109 typedef Request RequestType;
00110 typedef Response ResponseType;
00111 };
00112 }
00113
00114 namespace ros
00115 {
00116 namespace message_traits
00117 {
00118 template<class ContainerAllocator> struct IsMessage< ::kinect_depth_calibration::GetCheckerboardCenterRequest_<ContainerAllocator> > : public TrueType {};
00119 template<class ContainerAllocator> struct IsMessage< ::kinect_depth_calibration::GetCheckerboardCenterRequest_<ContainerAllocator> const> : public TrueType {};
00120 template<class ContainerAllocator>
00121 struct MD5Sum< ::kinect_depth_calibration::GetCheckerboardCenterRequest_<ContainerAllocator> > {
00122 static const char* value()
00123 {
00124 return "cb32cbfa86e51d8153cc69cc05343fdf";
00125 }
00126
00127 static const char* value(const ::kinect_depth_calibration::GetCheckerboardCenterRequest_<ContainerAllocator> &) { return value(); }
00128 static const uint64_t static_value1 = 0xcb32cbfa86e51d81ULL;
00129 static const uint64_t static_value2 = 0x53cc69cc05343fdfULL;
00130 };
00131
00132 template<class ContainerAllocator>
00133 struct DataType< ::kinect_depth_calibration::GetCheckerboardCenterRequest_<ContainerAllocator> > {
00134 static const char* value()
00135 {
00136 return "kinect_depth_calibration/GetCheckerboardCenterRequest";
00137 }
00138
00139 static const char* value(const ::kinect_depth_calibration::GetCheckerboardCenterRequest_<ContainerAllocator> &) { return value(); }
00140 };
00141
00142 template<class ContainerAllocator>
00143 struct Definition< ::kinect_depth_calibration::GetCheckerboardCenterRequest_<ContainerAllocator> > {
00144 static const char* value()
00145 {
00146 return "float32 min_x\n\
00147 float32 max_x\n\
00148 float32 min_y\n\
00149 float32 max_y\n\
00150 float32 depth_prior\n\
00151 \n\
00152 ";
00153 }
00154
00155 static const char* value(const ::kinect_depth_calibration::GetCheckerboardCenterRequest_<ContainerAllocator> &) { return value(); }
00156 };
00157
00158 template<class ContainerAllocator> struct IsFixedSize< ::kinect_depth_calibration::GetCheckerboardCenterRequest_<ContainerAllocator> > : public TrueType {};
00159 }
00160 }
00161
00162
00163 namespace ros
00164 {
00165 namespace message_traits
00166 {
00167 template<class ContainerAllocator> struct IsMessage< ::kinect_depth_calibration::GetCheckerboardCenterResponse_<ContainerAllocator> > : public TrueType {};
00168 template<class ContainerAllocator> struct IsMessage< ::kinect_depth_calibration::GetCheckerboardCenterResponse_<ContainerAllocator> const> : public TrueType {};
00169 template<class ContainerAllocator>
00170 struct MD5Sum< ::kinect_depth_calibration::GetCheckerboardCenterResponse_<ContainerAllocator> > {
00171 static const char* value()
00172 {
00173 return "6deb06b7b7183f5581b3362a0cb413b7";
00174 }
00175
00176 static const char* value(const ::kinect_depth_calibration::GetCheckerboardCenterResponse_<ContainerAllocator> &) { return value(); }
00177 static const uint64_t static_value1 = 0x6deb06b7b7183f55ULL;
00178 static const uint64_t static_value2 = 0x81b3362a0cb413b7ULL;
00179 };
00180
00181 template<class ContainerAllocator>
00182 struct DataType< ::kinect_depth_calibration::GetCheckerboardCenterResponse_<ContainerAllocator> > {
00183 static const char* value()
00184 {
00185 return "kinect_depth_calibration/GetCheckerboardCenterResponse";
00186 }
00187
00188 static const char* value(const ::kinect_depth_calibration::GetCheckerboardCenterResponse_<ContainerAllocator> &) { return value(); }
00189 };
00190
00191 template<class ContainerAllocator>
00192 struct Definition< ::kinect_depth_calibration::GetCheckerboardCenterResponse_<ContainerAllocator> > {
00193 static const char* value()
00194 {
00195 return "float32 depth\n\
00196 \n\
00197 \n\
00198 \n\
00199 ";
00200 }
00201
00202 static const char* value(const ::kinect_depth_calibration::GetCheckerboardCenterResponse_<ContainerAllocator> &) { return value(); }
00203 };
00204
00205 template<class ContainerAllocator> struct IsFixedSize< ::kinect_depth_calibration::GetCheckerboardCenterResponse_<ContainerAllocator> > : public TrueType {};
00206 }
00207 }
00208
00209 namespace ros
00210 {
00211 namespace serialization
00212 {
00213
00214 template<class ContainerAllocator> struct Serializer< ::kinect_depth_calibration::GetCheckerboardCenterRequest_<ContainerAllocator> >
00215 {
00216 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00217 {
00218 stream.next(m.min_x);
00219 stream.next(m.max_x);
00220 stream.next(m.min_y);
00221 stream.next(m.max_y);
00222 stream.next(m.depth_prior);
00223 }
00224
00225 ROS_DECLARE_ALLINONE_SERIALIZER;
00226 };
00227 }
00228 }
00229
00230
00231 namespace ros
00232 {
00233 namespace serialization
00234 {
00235
00236 template<class ContainerAllocator> struct Serializer< ::kinect_depth_calibration::GetCheckerboardCenterResponse_<ContainerAllocator> >
00237 {
00238 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00239 {
00240 stream.next(m.depth);
00241 }
00242
00243 ROS_DECLARE_ALLINONE_SERIALIZER;
00244 };
00245 }
00246 }
00247
00248 namespace ros
00249 {
00250 namespace service_traits
00251 {
00252 template<>
00253 struct MD5Sum<kinect_depth_calibration::GetCheckerboardCenter> {
00254 static const char* value()
00255 {
00256 return "1f713d495aa6446fb95738e3ba579737";
00257 }
00258
00259 static const char* value(const kinect_depth_calibration::GetCheckerboardCenter&) { return value(); }
00260 };
00261
00262 template<>
00263 struct DataType<kinect_depth_calibration::GetCheckerboardCenter> {
00264 static const char* value()
00265 {
00266 return "kinect_depth_calibration/GetCheckerboardCenter";
00267 }
00268
00269 static const char* value(const kinect_depth_calibration::GetCheckerboardCenter&) { return value(); }
00270 };
00271
00272 template<class ContainerAllocator>
00273 struct MD5Sum<kinect_depth_calibration::GetCheckerboardCenterRequest_<ContainerAllocator> > {
00274 static const char* value()
00275 {
00276 return "1f713d495aa6446fb95738e3ba579737";
00277 }
00278
00279 static const char* value(const kinect_depth_calibration::GetCheckerboardCenterRequest_<ContainerAllocator> &) { return value(); }
00280 };
00281
00282 template<class ContainerAllocator>
00283 struct DataType<kinect_depth_calibration::GetCheckerboardCenterRequest_<ContainerAllocator> > {
00284 static const char* value()
00285 {
00286 return "kinect_depth_calibration/GetCheckerboardCenter";
00287 }
00288
00289 static const char* value(const kinect_depth_calibration::GetCheckerboardCenterRequest_<ContainerAllocator> &) { return value(); }
00290 };
00291
00292 template<class ContainerAllocator>
00293 struct MD5Sum<kinect_depth_calibration::GetCheckerboardCenterResponse_<ContainerAllocator> > {
00294 static const char* value()
00295 {
00296 return "1f713d495aa6446fb95738e3ba579737";
00297 }
00298
00299 static const char* value(const kinect_depth_calibration::GetCheckerboardCenterResponse_<ContainerAllocator> &) { return value(); }
00300 };
00301
00302 template<class ContainerAllocator>
00303 struct DataType<kinect_depth_calibration::GetCheckerboardCenterResponse_<ContainerAllocator> > {
00304 static const char* value()
00305 {
00306 return "kinect_depth_calibration/GetCheckerboardCenter";
00307 }
00308
00309 static const char* value(const kinect_depth_calibration::GetCheckerboardCenterResponse_<ContainerAllocator> &) { return value(); }
00310 };
00311
00312 }
00313 }
00314
00315 #endif // KINECT_DEPTH_CALIBRATION_SERVICE_GETCHECKERBOARDCENTER_H
00316