Go to the documentation of this file.00001
00002 #ifndef NAO_MSGS_SERVICE_CMDVELSERVICE_H
00003 #define NAO_MSGS_SERVICE_CMDVELSERVICE_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/Twist.h"
00020
00021
00022
00023 namespace nao_msgs
00024 {
00025 template <class ContainerAllocator>
00026 struct CmdVelServiceRequest_ {
00027 typedef CmdVelServiceRequest_<ContainerAllocator> Type;
00028
00029 CmdVelServiceRequest_()
00030 : twist()
00031 {
00032 }
00033
00034 CmdVelServiceRequest_(const ContainerAllocator& _alloc)
00035 : twist(_alloc)
00036 {
00037 }
00038
00039 typedef ::geometry_msgs::Twist_<ContainerAllocator> _twist_type;
00040 ::geometry_msgs::Twist_<ContainerAllocator> twist;
00041
00042
00043 typedef boost::shared_ptr< ::nao_msgs::CmdVelServiceRequest_<ContainerAllocator> > Ptr;
00044 typedef boost::shared_ptr< ::nao_msgs::CmdVelServiceRequest_<ContainerAllocator> const> ConstPtr;
00045 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 };
00047 typedef ::nao_msgs::CmdVelServiceRequest_<std::allocator<void> > CmdVelServiceRequest;
00048
00049 typedef boost::shared_ptr< ::nao_msgs::CmdVelServiceRequest> CmdVelServiceRequestPtr;
00050 typedef boost::shared_ptr< ::nao_msgs::CmdVelServiceRequest const> CmdVelServiceRequestConstPtr;
00051
00052
00053 template <class ContainerAllocator>
00054 struct CmdVelServiceResponse_ {
00055 typedef CmdVelServiceResponse_<ContainerAllocator> Type;
00056
00057 CmdVelServiceResponse_()
00058 {
00059 }
00060
00061 CmdVelServiceResponse_(const ContainerAllocator& _alloc)
00062 {
00063 }
00064
00065
00066 typedef boost::shared_ptr< ::nao_msgs::CmdVelServiceResponse_<ContainerAllocator> > Ptr;
00067 typedef boost::shared_ptr< ::nao_msgs::CmdVelServiceResponse_<ContainerAllocator> const> ConstPtr;
00068 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00069 };
00070 typedef ::nao_msgs::CmdVelServiceResponse_<std::allocator<void> > CmdVelServiceResponse;
00071
00072 typedef boost::shared_ptr< ::nao_msgs::CmdVelServiceResponse> CmdVelServiceResponsePtr;
00073 typedef boost::shared_ptr< ::nao_msgs::CmdVelServiceResponse const> CmdVelServiceResponseConstPtr;
00074
00075 struct CmdVelService
00076 {
00077
00078 typedef CmdVelServiceRequest Request;
00079 typedef CmdVelServiceResponse 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< ::nao_msgs::CmdVelServiceRequest_<ContainerAllocator> > : public TrueType {};
00093 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::CmdVelServiceRequest_<ContainerAllocator> const> : public TrueType {};
00094 template<class ContainerAllocator>
00095 struct MD5Sum< ::nao_msgs::CmdVelServiceRequest_<ContainerAllocator> > {
00096 static const char* value()
00097 {
00098 return "a787b2802160dcc7fe02d089e10afe56";
00099 }
00100
00101 static const char* value(const ::nao_msgs::CmdVelServiceRequest_<ContainerAllocator> &) { return value(); }
00102 static const uint64_t static_value1 = 0xa787b2802160dcc7ULL;
00103 static const uint64_t static_value2 = 0xfe02d089e10afe56ULL;
00104 };
00105
00106 template<class ContainerAllocator>
00107 struct DataType< ::nao_msgs::CmdVelServiceRequest_<ContainerAllocator> > {
00108 static const char* value()
00109 {
00110 return "nao_msgs/CmdVelServiceRequest";
00111 }
00112
00113 static const char* value(const ::nao_msgs::CmdVelServiceRequest_<ContainerAllocator> &) { return value(); }
00114 };
00115
00116 template<class ContainerAllocator>
00117 struct Definition< ::nao_msgs::CmdVelServiceRequest_<ContainerAllocator> > {
00118 static const char* value()
00119 {
00120 return "\n\
00121 geometry_msgs/Twist twist\n\
00122 \n\
00123 ================================================================================\n\
00124 MSG: geometry_msgs/Twist\n\
00125 # This expresses velocity in free space broken into it's linear and angular parts. \n\
00126 Vector3 linear\n\
00127 Vector3 angular\n\
00128 \n\
00129 ================================================================================\n\
00130 MSG: geometry_msgs/Vector3\n\
00131 # This represents a vector in free space. \n\
00132 \n\
00133 float64 x\n\
00134 float64 y\n\
00135 float64 z\n\
00136 ";
00137 }
00138
00139 static const char* value(const ::nao_msgs::CmdVelServiceRequest_<ContainerAllocator> &) { return value(); }
00140 };
00141
00142 template<class ContainerAllocator> struct IsFixedSize< ::nao_msgs::CmdVelServiceRequest_<ContainerAllocator> > : public TrueType {};
00143 }
00144 }
00145
00146
00147 namespace ros
00148 {
00149 namespace message_traits
00150 {
00151 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::CmdVelServiceResponse_<ContainerAllocator> > : public TrueType {};
00152 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::CmdVelServiceResponse_<ContainerAllocator> const> : public TrueType {};
00153 template<class ContainerAllocator>
00154 struct MD5Sum< ::nao_msgs::CmdVelServiceResponse_<ContainerAllocator> > {
00155 static const char* value()
00156 {
00157 return "d41d8cd98f00b204e9800998ecf8427e";
00158 }
00159
00160 static const char* value(const ::nao_msgs::CmdVelServiceResponse_<ContainerAllocator> &) { return value(); }
00161 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00162 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00163 };
00164
00165 template<class ContainerAllocator>
00166 struct DataType< ::nao_msgs::CmdVelServiceResponse_<ContainerAllocator> > {
00167 static const char* value()
00168 {
00169 return "nao_msgs/CmdVelServiceResponse";
00170 }
00171
00172 static const char* value(const ::nao_msgs::CmdVelServiceResponse_<ContainerAllocator> &) { return value(); }
00173 };
00174
00175 template<class ContainerAllocator>
00176 struct Definition< ::nao_msgs::CmdVelServiceResponse_<ContainerAllocator> > {
00177 static const char* value()
00178 {
00179 return "\n\
00180 \n\
00181 ";
00182 }
00183
00184 static const char* value(const ::nao_msgs::CmdVelServiceResponse_<ContainerAllocator> &) { return value(); }
00185 };
00186
00187 template<class ContainerAllocator> struct IsFixedSize< ::nao_msgs::CmdVelServiceResponse_<ContainerAllocator> > : public TrueType {};
00188 }
00189 }
00190
00191 namespace ros
00192 {
00193 namespace serialization
00194 {
00195
00196 template<class ContainerAllocator> struct Serializer< ::nao_msgs::CmdVelServiceRequest_<ContainerAllocator> >
00197 {
00198 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00199 {
00200 stream.next(m.twist);
00201 }
00202
00203 ROS_DECLARE_ALLINONE_SERIALIZER;
00204 };
00205 }
00206 }
00207
00208
00209 namespace ros
00210 {
00211 namespace serialization
00212 {
00213
00214 template<class ContainerAllocator> struct Serializer< ::nao_msgs::CmdVelServiceResponse_<ContainerAllocator> >
00215 {
00216 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00217 {
00218 }
00219
00220 ROS_DECLARE_ALLINONE_SERIALIZER;
00221 };
00222 }
00223 }
00224
00225 namespace ros
00226 {
00227 namespace service_traits
00228 {
00229 template<>
00230 struct MD5Sum<nao_msgs::CmdVelService> {
00231 static const char* value()
00232 {
00233 return "a787b2802160dcc7fe02d089e10afe56";
00234 }
00235
00236 static const char* value(const nao_msgs::CmdVelService&) { return value(); }
00237 };
00238
00239 template<>
00240 struct DataType<nao_msgs::CmdVelService> {
00241 static const char* value()
00242 {
00243 return "nao_msgs/CmdVelService";
00244 }
00245
00246 static const char* value(const nao_msgs::CmdVelService&) { return value(); }
00247 };
00248
00249 template<class ContainerAllocator>
00250 struct MD5Sum<nao_msgs::CmdVelServiceRequest_<ContainerAllocator> > {
00251 static const char* value()
00252 {
00253 return "a787b2802160dcc7fe02d089e10afe56";
00254 }
00255
00256 static const char* value(const nao_msgs::CmdVelServiceRequest_<ContainerAllocator> &) { return value(); }
00257 };
00258
00259 template<class ContainerAllocator>
00260 struct DataType<nao_msgs::CmdVelServiceRequest_<ContainerAllocator> > {
00261 static const char* value()
00262 {
00263 return "nao_msgs/CmdVelService";
00264 }
00265
00266 static const char* value(const nao_msgs::CmdVelServiceRequest_<ContainerAllocator> &) { return value(); }
00267 };
00268
00269 template<class ContainerAllocator>
00270 struct MD5Sum<nao_msgs::CmdVelServiceResponse_<ContainerAllocator> > {
00271 static const char* value()
00272 {
00273 return "a787b2802160dcc7fe02d089e10afe56";
00274 }
00275
00276 static const char* value(const nao_msgs::CmdVelServiceResponse_<ContainerAllocator> &) { return value(); }
00277 };
00278
00279 template<class ContainerAllocator>
00280 struct DataType<nao_msgs::CmdVelServiceResponse_<ContainerAllocator> > {
00281 static const char* value()
00282 {
00283 return "nao_msgs/CmdVelService";
00284 }
00285
00286 static const char* value(const nao_msgs::CmdVelServiceResponse_<ContainerAllocator> &) { return value(); }
00287 };
00288
00289 }
00290 }
00291
00292 #endif // NAO_MSGS_SERVICE_CMDVELSERVICE_H
00293