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