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