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