Go to the documentation of this file.00001
00002 #ifndef APPROACH_TABLE_TOOLS_SERVICE_GETCHECKERBOARDPOSE_H
00003 #define APPROACH_TABLE_TOOLS_SERVICE_GETCHECKERBOARDPOSE_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 "geometry_msgs/PoseStamped.h"
00022
00023 namespace approach_table_tools
00024 {
00025 template <class ContainerAllocator>
00026 struct GetCheckerboardPoseRequest_ {
00027 typedef GetCheckerboardPoseRequest_<ContainerAllocator> Type;
00028
00029 GetCheckerboardPoseRequest_()
00030 : corners_x(0)
00031 , corners_y(0)
00032 , spacing_x(0.0)
00033 , spacing_y(0.0)
00034 {
00035 }
00036
00037 GetCheckerboardPoseRequest_(const ContainerAllocator& _alloc)
00038 : corners_x(0)
00039 , corners_y(0)
00040 , spacing_x(0.0)
00041 , spacing_y(0.0)
00042 {
00043 }
00044
00045 typedef int32_t _corners_x_type;
00046 int32_t corners_x;
00047
00048 typedef int32_t _corners_y_type;
00049 int32_t corners_y;
00050
00051 typedef float _spacing_x_type;
00052 float spacing_x;
00053
00054 typedef float _spacing_y_type;
00055 float spacing_y;
00056
00057
00058 typedef boost::shared_ptr< ::approach_table_tools::GetCheckerboardPoseRequest_<ContainerAllocator> > Ptr;
00059 typedef boost::shared_ptr< ::approach_table_tools::GetCheckerboardPoseRequest_<ContainerAllocator> const> ConstPtr;
00060 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00061 };
00062 typedef ::approach_table_tools::GetCheckerboardPoseRequest_<std::allocator<void> > GetCheckerboardPoseRequest;
00063
00064 typedef boost::shared_ptr< ::approach_table_tools::GetCheckerboardPoseRequest> GetCheckerboardPoseRequestPtr;
00065 typedef boost::shared_ptr< ::approach_table_tools::GetCheckerboardPoseRequest const> GetCheckerboardPoseRequestConstPtr;
00066
00067
00068
00069 template <class ContainerAllocator>
00070 struct GetCheckerboardPoseResponse_ {
00071 typedef GetCheckerboardPoseResponse_<ContainerAllocator> Type;
00072
00073 GetCheckerboardPoseResponse_()
00074 : board_pose()
00075 {
00076 }
00077
00078 GetCheckerboardPoseResponse_(const ContainerAllocator& _alloc)
00079 : board_pose(_alloc)
00080 {
00081 }
00082
00083 typedef ::geometry_msgs::PoseStamped_<ContainerAllocator> _board_pose_type;
00084 ::geometry_msgs::PoseStamped_<ContainerAllocator> board_pose;
00085
00086
00087 typedef boost::shared_ptr< ::approach_table_tools::GetCheckerboardPoseResponse_<ContainerAllocator> > Ptr;
00088 typedef boost::shared_ptr< ::approach_table_tools::GetCheckerboardPoseResponse_<ContainerAllocator> const> ConstPtr;
00089 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00090 };
00091 typedef ::approach_table_tools::GetCheckerboardPoseResponse_<std::allocator<void> > GetCheckerboardPoseResponse;
00092
00093 typedef boost::shared_ptr< ::approach_table_tools::GetCheckerboardPoseResponse> GetCheckerboardPoseResponsePtr;
00094 typedef boost::shared_ptr< ::approach_table_tools::GetCheckerboardPoseResponse const> GetCheckerboardPoseResponseConstPtr;
00095
00096
00097 struct GetCheckerboardPose
00098 {
00099
00100 typedef GetCheckerboardPoseRequest Request;
00101 typedef GetCheckerboardPoseResponse Response;
00102 Request request;
00103 Response response;
00104
00105 typedef Request RequestType;
00106 typedef Response ResponseType;
00107 };
00108 }
00109
00110 namespace ros
00111 {
00112 namespace message_traits
00113 {
00114 template<class ContainerAllocator> struct IsMessage< ::approach_table_tools::GetCheckerboardPoseRequest_<ContainerAllocator> > : public TrueType {};
00115 template<class ContainerAllocator> struct IsMessage< ::approach_table_tools::GetCheckerboardPoseRequest_<ContainerAllocator> const> : public TrueType {};
00116 template<class ContainerAllocator>
00117 struct MD5Sum< ::approach_table_tools::GetCheckerboardPoseRequest_<ContainerAllocator> > {
00118 static const char* value()
00119 {
00120 return "f9dc7d7f2c73b6a404e26f1d03ad4ec2";
00121 }
00122
00123 static const char* value(const ::approach_table_tools::GetCheckerboardPoseRequest_<ContainerAllocator> &) { return value(); }
00124 static const uint64_t static_value1 = 0xf9dc7d7f2c73b6a4ULL;
00125 static const uint64_t static_value2 = 0x04e26f1d03ad4ec2ULL;
00126 };
00127
00128 template<class ContainerAllocator>
00129 struct DataType< ::approach_table_tools::GetCheckerboardPoseRequest_<ContainerAllocator> > {
00130 static const char* value()
00131 {
00132 return "approach_table_tools/GetCheckerboardPoseRequest";
00133 }
00134
00135 static const char* value(const ::approach_table_tools::GetCheckerboardPoseRequest_<ContainerAllocator> &) { return value(); }
00136 };
00137
00138 template<class ContainerAllocator>
00139 struct Definition< ::approach_table_tools::GetCheckerboardPoseRequest_<ContainerAllocator> > {
00140 static const char* value()
00141 {
00142 return "int32 corners_x\n\
00143 int32 corners_y\n\
00144 float32 spacing_x\n\
00145 float32 spacing_y\n\
00146 \n\
00147 ";
00148 }
00149
00150 static const char* value(const ::approach_table_tools::GetCheckerboardPoseRequest_<ContainerAllocator> &) { return value(); }
00151 };
00152
00153 template<class ContainerAllocator> struct IsFixedSize< ::approach_table_tools::GetCheckerboardPoseRequest_<ContainerAllocator> > : public TrueType {};
00154 }
00155 }
00156
00157
00158 namespace ros
00159 {
00160 namespace message_traits
00161 {
00162 template<class ContainerAllocator> struct IsMessage< ::approach_table_tools::GetCheckerboardPoseResponse_<ContainerAllocator> > : public TrueType {};
00163 template<class ContainerAllocator> struct IsMessage< ::approach_table_tools::GetCheckerboardPoseResponse_<ContainerAllocator> const> : public TrueType {};
00164 template<class ContainerAllocator>
00165 struct MD5Sum< ::approach_table_tools::GetCheckerboardPoseResponse_<ContainerAllocator> > {
00166 static const char* value()
00167 {
00168 return "8c55f844039b710dbbf43d20e4fdbf71";
00169 }
00170
00171 static const char* value(const ::approach_table_tools::GetCheckerboardPoseResponse_<ContainerAllocator> &) { return value(); }
00172 static const uint64_t static_value1 = 0x8c55f844039b710dULL;
00173 static const uint64_t static_value2 = 0xbbf43d20e4fdbf71ULL;
00174 };
00175
00176 template<class ContainerAllocator>
00177 struct DataType< ::approach_table_tools::GetCheckerboardPoseResponse_<ContainerAllocator> > {
00178 static const char* value()
00179 {
00180 return "approach_table_tools/GetCheckerboardPoseResponse";
00181 }
00182
00183 static const char* value(const ::approach_table_tools::GetCheckerboardPoseResponse_<ContainerAllocator> &) { return value(); }
00184 };
00185
00186 template<class ContainerAllocator>
00187 struct Definition< ::approach_table_tools::GetCheckerboardPoseResponse_<ContainerAllocator> > {
00188 static const char* value()
00189 {
00190 return "geometry_msgs/PoseStamped board_pose\n\
00191 \n\
00192 \n\
00193 ================================================================================\n\
00194 MSG: geometry_msgs/PoseStamped\n\
00195 # A Pose with reference coordinate frame and timestamp\n\
00196 Header header\n\
00197 Pose pose\n\
00198 \n\
00199 ================================================================================\n\
00200 MSG: std_msgs/Header\n\
00201 # Standard metadata for higher-level stamped data types.\n\
00202 # This is generally used to communicate timestamped data \n\
00203 # in a particular coordinate frame.\n\
00204 # \n\
00205 # sequence ID: consecutively increasing ID \n\
00206 uint32 seq\n\
00207 #Two-integer timestamp that is expressed as:\n\
00208 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00209 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00210 # time-handling sugar is provided by the client library\n\
00211 time stamp\n\
00212 #Frame this data is associated with\n\
00213 # 0: no frame\n\
00214 # 1: global frame\n\
00215 string frame_id\n\
00216 \n\
00217 ================================================================================\n\
00218 MSG: geometry_msgs/Pose\n\
00219 # A representation of pose in free space, composed of postion and orientation. \n\
00220 Point position\n\
00221 Quaternion orientation\n\
00222 \n\
00223 ================================================================================\n\
00224 MSG: geometry_msgs/Point\n\
00225 # This contains the position of a point in free space\n\
00226 float64 x\n\
00227 float64 y\n\
00228 float64 z\n\
00229 \n\
00230 ================================================================================\n\
00231 MSG: geometry_msgs/Quaternion\n\
00232 # This represents an orientation in free space in quaternion form.\n\
00233 \n\
00234 float64 x\n\
00235 float64 y\n\
00236 float64 z\n\
00237 float64 w\n\
00238 \n\
00239 ";
00240 }
00241
00242 static const char* value(const ::approach_table_tools::GetCheckerboardPoseResponse_<ContainerAllocator> &) { return value(); }
00243 };
00244
00245 }
00246 }
00247
00248 namespace ros
00249 {
00250 namespace serialization
00251 {
00252
00253 template<class ContainerAllocator> struct Serializer< ::approach_table_tools::GetCheckerboardPoseRequest_<ContainerAllocator> >
00254 {
00255 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00256 {
00257 stream.next(m.corners_x);
00258 stream.next(m.corners_y);
00259 stream.next(m.spacing_x);
00260 stream.next(m.spacing_y);
00261 }
00262
00263 ROS_DECLARE_ALLINONE_SERIALIZER;
00264 };
00265 }
00266 }
00267
00268
00269 namespace ros
00270 {
00271 namespace serialization
00272 {
00273
00274 template<class ContainerAllocator> struct Serializer< ::approach_table_tools::GetCheckerboardPoseResponse_<ContainerAllocator> >
00275 {
00276 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00277 {
00278 stream.next(m.board_pose);
00279 }
00280
00281 ROS_DECLARE_ALLINONE_SERIALIZER;
00282 };
00283 }
00284 }
00285
00286 namespace ros
00287 {
00288 namespace service_traits
00289 {
00290 template<>
00291 struct MD5Sum<approach_table_tools::GetCheckerboardPose> {
00292 static const char* value()
00293 {
00294 return "ee43220cb6bda80cc0507ebe9e1c87c7";
00295 }
00296
00297 static const char* value(const approach_table_tools::GetCheckerboardPose&) { return value(); }
00298 };
00299
00300 template<>
00301 struct DataType<approach_table_tools::GetCheckerboardPose> {
00302 static const char* value()
00303 {
00304 return "approach_table_tools/GetCheckerboardPose";
00305 }
00306
00307 static const char* value(const approach_table_tools::GetCheckerboardPose&) { return value(); }
00308 };
00309
00310 template<class ContainerAllocator>
00311 struct MD5Sum<approach_table_tools::GetCheckerboardPoseRequest_<ContainerAllocator> > {
00312 static const char* value()
00313 {
00314 return "ee43220cb6bda80cc0507ebe9e1c87c7";
00315 }
00316
00317 static const char* value(const approach_table_tools::GetCheckerboardPoseRequest_<ContainerAllocator> &) { return value(); }
00318 };
00319
00320 template<class ContainerAllocator>
00321 struct DataType<approach_table_tools::GetCheckerboardPoseRequest_<ContainerAllocator> > {
00322 static const char* value()
00323 {
00324 return "approach_table_tools/GetCheckerboardPose";
00325 }
00326
00327 static const char* value(const approach_table_tools::GetCheckerboardPoseRequest_<ContainerAllocator> &) { return value(); }
00328 };
00329
00330 template<class ContainerAllocator>
00331 struct MD5Sum<approach_table_tools::GetCheckerboardPoseResponse_<ContainerAllocator> > {
00332 static const char* value()
00333 {
00334 return "ee43220cb6bda80cc0507ebe9e1c87c7";
00335 }
00336
00337 static const char* value(const approach_table_tools::GetCheckerboardPoseResponse_<ContainerAllocator> &) { return value(); }
00338 };
00339
00340 template<class ContainerAllocator>
00341 struct DataType<approach_table_tools::GetCheckerboardPoseResponse_<ContainerAllocator> > {
00342 static const char* value()
00343 {
00344 return "approach_table_tools/GetCheckerboardPose";
00345 }
00346
00347 static const char* value(const approach_table_tools::GetCheckerboardPoseResponse_<ContainerAllocator> &) { return value(); }
00348 };
00349
00350 }
00351 }
00352
00353 #endif // APPROACH_TABLE_TOOLS_SERVICE_GETCHECKERBOARDPOSE_H
00354