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