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