$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-pal-ros-pkg/doc_stacks/2013-03-01_16-20-37.495693/perception_blort/blort_ros/srv/EstimatePose.srv */ 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 private: 00039 static const char* __s_getDataType_() { return "blort_ros/EstimatePoseRequest"; } 00040 public: 00041 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00042 00043 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00044 00045 private: 00046 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; } 00047 public: 00048 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00049 00050 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00051 00052 private: 00053 static const char* __s_getServerMD5Sum_() { return "db774e2f8d3bbd66cc277b8a8ce62817"; } 00054 public: 00055 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00056 00057 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00058 00059 private: 00060 static const char* __s_getMessageDefinition_() { return "\n\ 00061 "; } 00062 public: 00063 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00064 00065 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00066 00067 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00068 { 00069 ros::serialization::OStream stream(write_ptr, 1000000000); 00070 return stream.getData(); 00071 } 00072 00073 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00074 { 00075 ros::serialization::IStream stream(read_ptr, 1000000000); 00076 return stream.getData(); 00077 } 00078 00079 ROS_DEPRECATED virtual uint32_t serializationLength() const 00080 { 00081 uint32_t size = 0; 00082 return size; 00083 } 00084 00085 typedef boost::shared_ptr< ::blort_ros::EstimatePoseRequest_<ContainerAllocator> > Ptr; 00086 typedef boost::shared_ptr< ::blort_ros::EstimatePoseRequest_<ContainerAllocator> const> ConstPtr; 00087 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00088 }; // struct EstimatePoseRequest 00089 typedef ::blort_ros::EstimatePoseRequest_<std::allocator<void> > EstimatePoseRequest; 00090 00091 typedef boost::shared_ptr< ::blort_ros::EstimatePoseRequest> EstimatePoseRequestPtr; 00092 typedef boost::shared_ptr< ::blort_ros::EstimatePoseRequest const> EstimatePoseRequestConstPtr; 00093 00094 00095 template <class ContainerAllocator> 00096 struct EstimatePoseResponse_ { 00097 typedef EstimatePoseResponse_<ContainerAllocator> Type; 00098 00099 EstimatePoseResponse_() 00100 : Pose() 00101 { 00102 } 00103 00104 EstimatePoseResponse_(const ContainerAllocator& _alloc) 00105 : Pose(_alloc) 00106 { 00107 } 00108 00109 typedef ::geometry_msgs::Pose_<ContainerAllocator> _Pose_type; 00110 ::geometry_msgs::Pose_<ContainerAllocator> Pose; 00111 00112 00113 private: 00114 static const char* __s_getDataType_() { return "blort_ros/EstimatePoseResponse"; } 00115 public: 00116 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00117 00118 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00119 00120 private: 00121 static const char* __s_getMD5Sum_() { return "db774e2f8d3bbd66cc277b8a8ce62817"; } 00122 public: 00123 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00124 00125 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00126 00127 private: 00128 static const char* __s_getServerMD5Sum_() { return "db774e2f8d3bbd66cc277b8a8ce62817"; } 00129 public: 00130 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00131 00132 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00133 00134 private: 00135 static const char* __s_getMessageDefinition_() { return "geometry_msgs/Pose Pose\n\ 00136 \n\ 00137 \n\ 00138 ================================================================================\n\ 00139 MSG: geometry_msgs/Pose\n\ 00140 # A representation of pose in free space, composed of postion and orientation. \n\ 00141 Point position\n\ 00142 Quaternion orientation\n\ 00143 \n\ 00144 ================================================================================\n\ 00145 MSG: geometry_msgs/Point\n\ 00146 # This contains the position of a point in free space\n\ 00147 float64 x\n\ 00148 float64 y\n\ 00149 float64 z\n\ 00150 \n\ 00151 ================================================================================\n\ 00152 MSG: geometry_msgs/Quaternion\n\ 00153 # This represents an orientation in free space in quaternion form.\n\ 00154 \n\ 00155 float64 x\n\ 00156 float64 y\n\ 00157 float64 z\n\ 00158 float64 w\n\ 00159 \n\ 00160 "; } 00161 public: 00162 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00163 00164 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00165 00166 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00167 { 00168 ros::serialization::OStream stream(write_ptr, 1000000000); 00169 ros::serialization::serialize(stream, Pose); 00170 return stream.getData(); 00171 } 00172 00173 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00174 { 00175 ros::serialization::IStream stream(read_ptr, 1000000000); 00176 ros::serialization::deserialize(stream, Pose); 00177 return stream.getData(); 00178 } 00179 00180 ROS_DEPRECATED virtual uint32_t serializationLength() const 00181 { 00182 uint32_t size = 0; 00183 size += ros::serialization::serializationLength(Pose); 00184 return size; 00185 } 00186 00187 typedef boost::shared_ptr< ::blort_ros::EstimatePoseResponse_<ContainerAllocator> > Ptr; 00188 typedef boost::shared_ptr< ::blort_ros::EstimatePoseResponse_<ContainerAllocator> const> ConstPtr; 00189 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00190 }; // struct EstimatePoseResponse 00191 typedef ::blort_ros::EstimatePoseResponse_<std::allocator<void> > EstimatePoseResponse; 00192 00193 typedef boost::shared_ptr< ::blort_ros::EstimatePoseResponse> EstimatePoseResponsePtr; 00194 typedef boost::shared_ptr< ::blort_ros::EstimatePoseResponse const> EstimatePoseResponseConstPtr; 00195 00196 struct EstimatePose 00197 { 00198 00199 typedef EstimatePoseRequest Request; 00200 typedef EstimatePoseResponse Response; 00201 Request request; 00202 Response response; 00203 00204 typedef Request RequestType; 00205 typedef Response ResponseType; 00206 }; // struct EstimatePose 00207 } // namespace blort_ros 00208 00209 namespace ros 00210 { 00211 namespace message_traits 00212 { 00213 template<class ContainerAllocator> struct IsMessage< ::blort_ros::EstimatePoseRequest_<ContainerAllocator> > : public TrueType {}; 00214 template<class ContainerAllocator> struct IsMessage< ::blort_ros::EstimatePoseRequest_<ContainerAllocator> const> : public TrueType {}; 00215 template<class ContainerAllocator> 00216 struct MD5Sum< ::blort_ros::EstimatePoseRequest_<ContainerAllocator> > { 00217 static const char* value() 00218 { 00219 return "d41d8cd98f00b204e9800998ecf8427e"; 00220 } 00221 00222 static const char* value(const ::blort_ros::EstimatePoseRequest_<ContainerAllocator> &) { return value(); } 00223 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL; 00224 static const uint64_t static_value2 = 0xe9800998ecf8427eULL; 00225 }; 00226 00227 template<class ContainerAllocator> 00228 struct DataType< ::blort_ros::EstimatePoseRequest_<ContainerAllocator> > { 00229 static const char* value() 00230 { 00231 return "blort_ros/EstimatePoseRequest"; 00232 } 00233 00234 static const char* value(const ::blort_ros::EstimatePoseRequest_<ContainerAllocator> &) { return value(); } 00235 }; 00236 00237 template<class ContainerAllocator> 00238 struct Definition< ::blort_ros::EstimatePoseRequest_<ContainerAllocator> > { 00239 static const char* value() 00240 { 00241 return "\n\ 00242 "; 00243 } 00244 00245 static const char* value(const ::blort_ros::EstimatePoseRequest_<ContainerAllocator> &) { return value(); } 00246 }; 00247 00248 template<class ContainerAllocator> struct IsFixedSize< ::blort_ros::EstimatePoseRequest_<ContainerAllocator> > : public TrueType {}; 00249 } // namespace message_traits 00250 } // namespace ros 00251 00252 00253 namespace ros 00254 { 00255 namespace message_traits 00256 { 00257 template<class ContainerAllocator> struct IsMessage< ::blort_ros::EstimatePoseResponse_<ContainerAllocator> > : public TrueType {}; 00258 template<class ContainerAllocator> struct IsMessage< ::blort_ros::EstimatePoseResponse_<ContainerAllocator> const> : public TrueType {}; 00259 template<class ContainerAllocator> 00260 struct MD5Sum< ::blort_ros::EstimatePoseResponse_<ContainerAllocator> > { 00261 static const char* value() 00262 { 00263 return "db774e2f8d3bbd66cc277b8a8ce62817"; 00264 } 00265 00266 static const char* value(const ::blort_ros::EstimatePoseResponse_<ContainerAllocator> &) { return value(); } 00267 static const uint64_t static_value1 = 0xdb774e2f8d3bbd66ULL; 00268 static const uint64_t static_value2 = 0xcc277b8a8ce62817ULL; 00269 }; 00270 00271 template<class ContainerAllocator> 00272 struct DataType< ::blort_ros::EstimatePoseResponse_<ContainerAllocator> > { 00273 static const char* value() 00274 { 00275 return "blort_ros/EstimatePoseResponse"; 00276 } 00277 00278 static const char* value(const ::blort_ros::EstimatePoseResponse_<ContainerAllocator> &) { return value(); } 00279 }; 00280 00281 template<class ContainerAllocator> 00282 struct Definition< ::blort_ros::EstimatePoseResponse_<ContainerAllocator> > { 00283 static const char* value() 00284 { 00285 return "geometry_msgs/Pose Pose\n\ 00286 \n\ 00287 \n\ 00288 ================================================================================\n\ 00289 MSG: geometry_msgs/Pose\n\ 00290 # A representation of pose in free space, composed of postion and orientation. \n\ 00291 Point position\n\ 00292 Quaternion orientation\n\ 00293 \n\ 00294 ================================================================================\n\ 00295 MSG: geometry_msgs/Point\n\ 00296 # This contains the position of a point in free space\n\ 00297 float64 x\n\ 00298 float64 y\n\ 00299 float64 z\n\ 00300 \n\ 00301 ================================================================================\n\ 00302 MSG: geometry_msgs/Quaternion\n\ 00303 # This represents an orientation in free space in quaternion form.\n\ 00304 \n\ 00305 float64 x\n\ 00306 float64 y\n\ 00307 float64 z\n\ 00308 float64 w\n\ 00309 \n\ 00310 "; 00311 } 00312 00313 static const char* value(const ::blort_ros::EstimatePoseResponse_<ContainerAllocator> &) { return value(); } 00314 }; 00315 00316 template<class ContainerAllocator> struct IsFixedSize< ::blort_ros::EstimatePoseResponse_<ContainerAllocator> > : public TrueType {}; 00317 } // namespace message_traits 00318 } // namespace ros 00319 00320 namespace ros 00321 { 00322 namespace serialization 00323 { 00324 00325 template<class ContainerAllocator> struct Serializer< ::blort_ros::EstimatePoseRequest_<ContainerAllocator> > 00326 { 00327 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00328 { 00329 } 00330 00331 ROS_DECLARE_ALLINONE_SERIALIZER; 00332 }; // struct EstimatePoseRequest_ 00333 } // namespace serialization 00334 } // namespace ros 00335 00336 00337 namespace ros 00338 { 00339 namespace serialization 00340 { 00341 00342 template<class ContainerAllocator> struct Serializer< ::blort_ros::EstimatePoseResponse_<ContainerAllocator> > 00343 { 00344 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00345 { 00346 stream.next(m.Pose); 00347 } 00348 00349 ROS_DECLARE_ALLINONE_SERIALIZER; 00350 }; // struct EstimatePoseResponse_ 00351 } // namespace serialization 00352 } // namespace ros 00353 00354 namespace ros 00355 { 00356 namespace service_traits 00357 { 00358 template<> 00359 struct MD5Sum<blort_ros::EstimatePose> { 00360 static const char* value() 00361 { 00362 return "db774e2f8d3bbd66cc277b8a8ce62817"; 00363 } 00364 00365 static const char* value(const blort_ros::EstimatePose&) { return value(); } 00366 }; 00367 00368 template<> 00369 struct DataType<blort_ros::EstimatePose> { 00370 static const char* value() 00371 { 00372 return "blort_ros/EstimatePose"; 00373 } 00374 00375 static const char* value(const blort_ros::EstimatePose&) { return value(); } 00376 }; 00377 00378 template<class ContainerAllocator> 00379 struct MD5Sum<blort_ros::EstimatePoseRequest_<ContainerAllocator> > { 00380 static const char* value() 00381 { 00382 return "db774e2f8d3bbd66cc277b8a8ce62817"; 00383 } 00384 00385 static const char* value(const blort_ros::EstimatePoseRequest_<ContainerAllocator> &) { return value(); } 00386 }; 00387 00388 template<class ContainerAllocator> 00389 struct DataType<blort_ros::EstimatePoseRequest_<ContainerAllocator> > { 00390 static const char* value() 00391 { 00392 return "blort_ros/EstimatePose"; 00393 } 00394 00395 static const char* value(const blort_ros::EstimatePoseRequest_<ContainerAllocator> &) { return value(); } 00396 }; 00397 00398 template<class ContainerAllocator> 00399 struct MD5Sum<blort_ros::EstimatePoseResponse_<ContainerAllocator> > { 00400 static const char* value() 00401 { 00402 return "db774e2f8d3bbd66cc277b8a8ce62817"; 00403 } 00404 00405 static const char* value(const blort_ros::EstimatePoseResponse_<ContainerAllocator> &) { return value(); } 00406 }; 00407 00408 template<class ContainerAllocator> 00409 struct DataType<blort_ros::EstimatePoseResponse_<ContainerAllocator> > { 00410 static const char* value() 00411 { 00412 return "blort_ros/EstimatePose"; 00413 } 00414 00415 static const char* value(const blort_ros::EstimatePoseResponse_<ContainerAllocator> &) { return value(); } 00416 }; 00417 00418 } // namespace service_traits 00419 } // namespace ros 00420 00421 #endif // BLORT_ROS_SERVICE_ESTIMATEPOSE_H 00422