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