Go to the documentation of this file.00001
00002 #ifndef BLORT_ROS_SERVICE_ESTIMATEPOSE_H
00003 #define BLORT_ROS_SERVICE_ESTIMATEPOSE_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/Pose.h"
00022
00023 namespace blort_ros
00024 {
00025 template <class ContainerAllocator>
00026 struct EstimatePoseRequest_ {
00027 typedef EstimatePoseRequest_<ContainerAllocator> Type;
00028
00029 EstimatePoseRequest_()
00030 {
00031 }
00032
00033 EstimatePoseRequest_(const ContainerAllocator& _alloc)
00034 {
00035 }
00036
00037
00038 typedef boost::shared_ptr< ::blort_ros::EstimatePoseRequest_<ContainerAllocator> > Ptr;
00039 typedef boost::shared_ptr< ::blort_ros::EstimatePoseRequest_<ContainerAllocator> const> ConstPtr;
00040 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00041 };
00042 typedef ::blort_ros::EstimatePoseRequest_<std::allocator<void> > EstimatePoseRequest;
00043
00044 typedef boost::shared_ptr< ::blort_ros::EstimatePoseRequest> EstimatePoseRequestPtr;
00045 typedef boost::shared_ptr< ::blort_ros::EstimatePoseRequest const> EstimatePoseRequestConstPtr;
00046
00047
00048 template <class ContainerAllocator>
00049 struct EstimatePoseResponse_ {
00050 typedef EstimatePoseResponse_<ContainerAllocator> Type;
00051
00052 EstimatePoseResponse_()
00053 : Pose()
00054 {
00055 }
00056
00057 EstimatePoseResponse_(const ContainerAllocator& _alloc)
00058 : Pose(_alloc)
00059 {
00060 }
00061
00062 typedef ::geometry_msgs::Pose_<ContainerAllocator> _Pose_type;
00063 ::geometry_msgs::Pose_<ContainerAllocator> Pose;
00064
00065
00066 typedef boost::shared_ptr< ::blort_ros::EstimatePoseResponse_<ContainerAllocator> > Ptr;
00067 typedef boost::shared_ptr< ::blort_ros::EstimatePoseResponse_<ContainerAllocator> const> ConstPtr;
00068 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00069 };
00070 typedef ::blort_ros::EstimatePoseResponse_<std::allocator<void> > EstimatePoseResponse;
00071
00072 typedef boost::shared_ptr< ::blort_ros::EstimatePoseResponse> EstimatePoseResponsePtr;
00073 typedef boost::shared_ptr< ::blort_ros::EstimatePoseResponse const> EstimatePoseResponseConstPtr;
00074
00075 struct EstimatePose
00076 {
00077
00078 typedef EstimatePoseRequest Request;
00079 typedef EstimatePoseResponse Response;
00080 Request request;
00081 Response response;
00082
00083 typedef Request RequestType;
00084 typedef Response ResponseType;
00085 };
00086 }
00087
00088 namespace ros
00089 {
00090 namespace message_traits
00091 {
00092 template<class ContainerAllocator> struct IsMessage< ::blort_ros::EstimatePoseRequest_<ContainerAllocator> > : public TrueType {};
00093 template<class ContainerAllocator> struct IsMessage< ::blort_ros::EstimatePoseRequest_<ContainerAllocator> const> : public TrueType {};
00094 template<class ContainerAllocator>
00095 struct MD5Sum< ::blort_ros::EstimatePoseRequest_<ContainerAllocator> > {
00096 static const char* value()
00097 {
00098 return "d41d8cd98f00b204e9800998ecf8427e";
00099 }
00100
00101 static const char* value(const ::blort_ros::EstimatePoseRequest_<ContainerAllocator> &) { return value(); }
00102 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00103 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00104 };
00105
00106 template<class ContainerAllocator>
00107 struct DataType< ::blort_ros::EstimatePoseRequest_<ContainerAllocator> > {
00108 static const char* value()
00109 {
00110 return "blort_ros/EstimatePoseRequest";
00111 }
00112
00113 static const char* value(const ::blort_ros::EstimatePoseRequest_<ContainerAllocator> &) { return value(); }
00114 };
00115
00116 template<class ContainerAllocator>
00117 struct Definition< ::blort_ros::EstimatePoseRequest_<ContainerAllocator> > {
00118 static const char* value()
00119 {
00120 return "\n\
00121 ";
00122 }
00123
00124 static const char* value(const ::blort_ros::EstimatePoseRequest_<ContainerAllocator> &) { return value(); }
00125 };
00126
00127 template<class ContainerAllocator> struct IsFixedSize< ::blort_ros::EstimatePoseRequest_<ContainerAllocator> > : public TrueType {};
00128 }
00129 }
00130
00131
00132 namespace ros
00133 {
00134 namespace message_traits
00135 {
00136 template<class ContainerAllocator> struct IsMessage< ::blort_ros::EstimatePoseResponse_<ContainerAllocator> > : public TrueType {};
00137 template<class ContainerAllocator> struct IsMessage< ::blort_ros::EstimatePoseResponse_<ContainerAllocator> const> : public TrueType {};
00138 template<class ContainerAllocator>
00139 struct MD5Sum< ::blort_ros::EstimatePoseResponse_<ContainerAllocator> > {
00140 static const char* value()
00141 {
00142 return "db774e2f8d3bbd66cc277b8a8ce62817";
00143 }
00144
00145 static const char* value(const ::blort_ros::EstimatePoseResponse_<ContainerAllocator> &) { return value(); }
00146 static const uint64_t static_value1 = 0xdb774e2f8d3bbd66ULL;
00147 static const uint64_t static_value2 = 0xcc277b8a8ce62817ULL;
00148 };
00149
00150 template<class ContainerAllocator>
00151 struct DataType< ::blort_ros::EstimatePoseResponse_<ContainerAllocator> > {
00152 static const char* value()
00153 {
00154 return "blort_ros/EstimatePoseResponse";
00155 }
00156
00157 static const char* value(const ::blort_ros::EstimatePoseResponse_<ContainerAllocator> &) { return value(); }
00158 };
00159
00160 template<class ContainerAllocator>
00161 struct Definition< ::blort_ros::EstimatePoseResponse_<ContainerAllocator> > {
00162 static const char* value()
00163 {
00164 return "geometry_msgs/Pose Pose\n\
00165 \n\
00166 \n\
00167 ================================================================================\n\
00168 MSG: geometry_msgs/Pose\n\
00169 # A representation of pose in free space, composed of postion and orientation. \n\
00170 Point position\n\
00171 Quaternion orientation\n\
00172 \n\
00173 ================================================================================\n\
00174 MSG: geometry_msgs/Point\n\
00175 # This contains the position of a point in free space\n\
00176 float64 x\n\
00177 float64 y\n\
00178 float64 z\n\
00179 \n\
00180 ================================================================================\n\
00181 MSG: geometry_msgs/Quaternion\n\
00182 # This represents an orientation in free space in quaternion form.\n\
00183 \n\
00184 float64 x\n\
00185 float64 y\n\
00186 float64 z\n\
00187 float64 w\n\
00188 \n\
00189 ";
00190 }
00191
00192 static const char* value(const ::blort_ros::EstimatePoseResponse_<ContainerAllocator> &) { return value(); }
00193 };
00194
00195 template<class ContainerAllocator> struct IsFixedSize< ::blort_ros::EstimatePoseResponse_<ContainerAllocator> > : public TrueType {};
00196 }
00197 }
00198
00199 namespace ros
00200 {
00201 namespace serialization
00202 {
00203
00204 template<class ContainerAllocator> struct Serializer< ::blort_ros::EstimatePoseRequest_<ContainerAllocator> >
00205 {
00206 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00207 {
00208 }
00209
00210 ROS_DECLARE_ALLINONE_SERIALIZER;
00211 };
00212 }
00213 }
00214
00215
00216 namespace ros
00217 {
00218 namespace serialization
00219 {
00220
00221 template<class ContainerAllocator> struct Serializer< ::blort_ros::EstimatePoseResponse_<ContainerAllocator> >
00222 {
00223 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00224 {
00225 stream.next(m.Pose);
00226 }
00227
00228 ROS_DECLARE_ALLINONE_SERIALIZER;
00229 };
00230 }
00231 }
00232
00233 namespace ros
00234 {
00235 namespace service_traits
00236 {
00237 template<>
00238 struct MD5Sum<blort_ros::EstimatePose> {
00239 static const char* value()
00240 {
00241 return "db774e2f8d3bbd66cc277b8a8ce62817";
00242 }
00243
00244 static const char* value(const blort_ros::EstimatePose&) { return value(); }
00245 };
00246
00247 template<>
00248 struct DataType<blort_ros::EstimatePose> {
00249 static const char* value()
00250 {
00251 return "blort_ros/EstimatePose";
00252 }
00253
00254 static const char* value(const blort_ros::EstimatePose&) { return value(); }
00255 };
00256
00257 template<class ContainerAllocator>
00258 struct MD5Sum<blort_ros::EstimatePoseRequest_<ContainerAllocator> > {
00259 static const char* value()
00260 {
00261 return "db774e2f8d3bbd66cc277b8a8ce62817";
00262 }
00263
00264 static const char* value(const blort_ros::EstimatePoseRequest_<ContainerAllocator> &) { return value(); }
00265 };
00266
00267 template<class ContainerAllocator>
00268 struct DataType<blort_ros::EstimatePoseRequest_<ContainerAllocator> > {
00269 static const char* value()
00270 {
00271 return "blort_ros/EstimatePose";
00272 }
00273
00274 static const char* value(const blort_ros::EstimatePoseRequest_<ContainerAllocator> &) { return value(); }
00275 };
00276
00277 template<class ContainerAllocator>
00278 struct MD5Sum<blort_ros::EstimatePoseResponse_<ContainerAllocator> > {
00279 static const char* value()
00280 {
00281 return "db774e2f8d3bbd66cc277b8a8ce62817";
00282 }
00283
00284 static const char* value(const blort_ros::EstimatePoseResponse_<ContainerAllocator> &) { return value(); }
00285 };
00286
00287 template<class ContainerAllocator>
00288 struct DataType<blort_ros::EstimatePoseResponse_<ContainerAllocator> > {
00289 static const char* value()
00290 {
00291 return "blort_ros/EstimatePose";
00292 }
00293
00294 static const char* value(const blort_ros::EstimatePoseResponse_<ContainerAllocator> &) { return value(); }
00295 };
00296
00297 }
00298 }
00299
00300 #endif // BLORT_ROS_SERVICE_ESTIMATEPOSE_H
00301