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