Go to the documentation of this file.00001
00002 #ifndef CONTROL_TOOLBOX_SERVICE_SETPIDGAINS_H
00003 #define CONTROL_TOOLBOX_SERVICE_SETPIDGAINS_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
00022 namespace control_toolbox
00023 {
00024 template <class ContainerAllocator>
00025 struct SetPidGainsRequest_ {
00026 typedef SetPidGainsRequest_<ContainerAllocator> Type;
00027
00028 SetPidGainsRequest_()
00029 : p(0.0)
00030 , i(0.0)
00031 , d(0.0)
00032 , i_clamp(0.0)
00033 {
00034 }
00035
00036 SetPidGainsRequest_(const ContainerAllocator& _alloc)
00037 : p(0.0)
00038 , i(0.0)
00039 , d(0.0)
00040 , i_clamp(0.0)
00041 {
00042 }
00043
00044 typedef double _p_type;
00045 double p;
00046
00047 typedef double _i_type;
00048 double i;
00049
00050 typedef double _d_type;
00051 double d;
00052
00053 typedef double _i_clamp_type;
00054 double i_clamp;
00055
00056
00057 typedef boost::shared_ptr< ::control_toolbox::SetPidGainsRequest_<ContainerAllocator> > Ptr;
00058 typedef boost::shared_ptr< ::control_toolbox::SetPidGainsRequest_<ContainerAllocator> const> ConstPtr;
00059 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00060 };
00061 typedef ::control_toolbox::SetPidGainsRequest_<std::allocator<void> > SetPidGainsRequest;
00062
00063 typedef boost::shared_ptr< ::control_toolbox::SetPidGainsRequest> SetPidGainsRequestPtr;
00064 typedef boost::shared_ptr< ::control_toolbox::SetPidGainsRequest const> SetPidGainsRequestConstPtr;
00065
00066
00067 template <class ContainerAllocator>
00068 struct SetPidGainsResponse_ {
00069 typedef SetPidGainsResponse_<ContainerAllocator> Type;
00070
00071 SetPidGainsResponse_()
00072 {
00073 }
00074
00075 SetPidGainsResponse_(const ContainerAllocator& _alloc)
00076 {
00077 }
00078
00079
00080 typedef boost::shared_ptr< ::control_toolbox::SetPidGainsResponse_<ContainerAllocator> > Ptr;
00081 typedef boost::shared_ptr< ::control_toolbox::SetPidGainsResponse_<ContainerAllocator> const> ConstPtr;
00082 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00083 };
00084 typedef ::control_toolbox::SetPidGainsResponse_<std::allocator<void> > SetPidGainsResponse;
00085
00086 typedef boost::shared_ptr< ::control_toolbox::SetPidGainsResponse> SetPidGainsResponsePtr;
00087 typedef boost::shared_ptr< ::control_toolbox::SetPidGainsResponse const> SetPidGainsResponseConstPtr;
00088
00089 struct SetPidGains
00090 {
00091
00092 typedef SetPidGainsRequest Request;
00093 typedef SetPidGainsResponse Response;
00094 Request request;
00095 Response response;
00096
00097 typedef Request RequestType;
00098 typedef Response ResponseType;
00099 };
00100 }
00101
00102 namespace ros
00103 {
00104 namespace message_traits
00105 {
00106 template<class ContainerAllocator> struct IsMessage< ::control_toolbox::SetPidGainsRequest_<ContainerAllocator> > : public TrueType {};
00107 template<class ContainerAllocator> struct IsMessage< ::control_toolbox::SetPidGainsRequest_<ContainerAllocator> const> : public TrueType {};
00108 template<class ContainerAllocator>
00109 struct MD5Sum< ::control_toolbox::SetPidGainsRequest_<ContainerAllocator> > {
00110 static const char* value()
00111 {
00112 return "b06494a6fc3d5b972ded4e2a9a71535a";
00113 }
00114
00115 static const char* value(const ::control_toolbox::SetPidGainsRequest_<ContainerAllocator> &) { return value(); }
00116 static const uint64_t static_value1 = 0xb06494a6fc3d5b97ULL;
00117 static const uint64_t static_value2 = 0x2ded4e2a9a71535aULL;
00118 };
00119
00120 template<class ContainerAllocator>
00121 struct DataType< ::control_toolbox::SetPidGainsRequest_<ContainerAllocator> > {
00122 static const char* value()
00123 {
00124 return "control_toolbox/SetPidGainsRequest";
00125 }
00126
00127 static const char* value(const ::control_toolbox::SetPidGainsRequest_<ContainerAllocator> &) { return value(); }
00128 };
00129
00130 template<class ContainerAllocator>
00131 struct Definition< ::control_toolbox::SetPidGainsRequest_<ContainerAllocator> > {
00132 static const char* value()
00133 {
00134 return "float64 p\n\
00135 float64 i\n\
00136 float64 d\n\
00137 float64 i_clamp\n\
00138 \n\
00139 ";
00140 }
00141
00142 static const char* value(const ::control_toolbox::SetPidGainsRequest_<ContainerAllocator> &) { return value(); }
00143 };
00144
00145 template<class ContainerAllocator> struct IsFixedSize< ::control_toolbox::SetPidGainsRequest_<ContainerAllocator> > : public TrueType {};
00146 }
00147 }
00148
00149
00150 namespace ros
00151 {
00152 namespace message_traits
00153 {
00154 template<class ContainerAllocator> struct IsMessage< ::control_toolbox::SetPidGainsResponse_<ContainerAllocator> > : public TrueType {};
00155 template<class ContainerAllocator> struct IsMessage< ::control_toolbox::SetPidGainsResponse_<ContainerAllocator> const> : public TrueType {};
00156 template<class ContainerAllocator>
00157 struct MD5Sum< ::control_toolbox::SetPidGainsResponse_<ContainerAllocator> > {
00158 static const char* value()
00159 {
00160 return "d41d8cd98f00b204e9800998ecf8427e";
00161 }
00162
00163 static const char* value(const ::control_toolbox::SetPidGainsResponse_<ContainerAllocator> &) { return value(); }
00164 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00165 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00166 };
00167
00168 template<class ContainerAllocator>
00169 struct DataType< ::control_toolbox::SetPidGainsResponse_<ContainerAllocator> > {
00170 static const char* value()
00171 {
00172 return "control_toolbox/SetPidGainsResponse";
00173 }
00174
00175 static const char* value(const ::control_toolbox::SetPidGainsResponse_<ContainerAllocator> &) { return value(); }
00176 };
00177
00178 template<class ContainerAllocator>
00179 struct Definition< ::control_toolbox::SetPidGainsResponse_<ContainerAllocator> > {
00180 static const char* value()
00181 {
00182 return "\n\
00183 \n\
00184 ";
00185 }
00186
00187 static const char* value(const ::control_toolbox::SetPidGainsResponse_<ContainerAllocator> &) { return value(); }
00188 };
00189
00190 template<class ContainerAllocator> struct IsFixedSize< ::control_toolbox::SetPidGainsResponse_<ContainerAllocator> > : public TrueType {};
00191 }
00192 }
00193
00194 namespace ros
00195 {
00196 namespace serialization
00197 {
00198
00199 template<class ContainerAllocator> struct Serializer< ::control_toolbox::SetPidGainsRequest_<ContainerAllocator> >
00200 {
00201 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00202 {
00203 stream.next(m.p);
00204 stream.next(m.i);
00205 stream.next(m.d);
00206 stream.next(m.i_clamp);
00207 }
00208
00209 ROS_DECLARE_ALLINONE_SERIALIZER;
00210 };
00211 }
00212 }
00213
00214
00215 namespace ros
00216 {
00217 namespace serialization
00218 {
00219
00220 template<class ContainerAllocator> struct Serializer< ::control_toolbox::SetPidGainsResponse_<ContainerAllocator> >
00221 {
00222 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00223 {
00224 }
00225
00226 ROS_DECLARE_ALLINONE_SERIALIZER;
00227 };
00228 }
00229 }
00230
00231 namespace ros
00232 {
00233 namespace service_traits
00234 {
00235 template<>
00236 struct MD5Sum<control_toolbox::SetPidGains> {
00237 static const char* value()
00238 {
00239 return "b06494a6fc3d5b972ded4e2a9a71535a";
00240 }
00241
00242 static const char* value(const control_toolbox::SetPidGains&) { return value(); }
00243 };
00244
00245 template<>
00246 struct DataType<control_toolbox::SetPidGains> {
00247 static const char* value()
00248 {
00249 return "control_toolbox/SetPidGains";
00250 }
00251
00252 static const char* value(const control_toolbox::SetPidGains&) { return value(); }
00253 };
00254
00255 template<class ContainerAllocator>
00256 struct MD5Sum<control_toolbox::SetPidGainsRequest_<ContainerAllocator> > {
00257 static const char* value()
00258 {
00259 return "b06494a6fc3d5b972ded4e2a9a71535a";
00260 }
00261
00262 static const char* value(const control_toolbox::SetPidGainsRequest_<ContainerAllocator> &) { return value(); }
00263 };
00264
00265 template<class ContainerAllocator>
00266 struct DataType<control_toolbox::SetPidGainsRequest_<ContainerAllocator> > {
00267 static const char* value()
00268 {
00269 return "control_toolbox/SetPidGains";
00270 }
00271
00272 static const char* value(const control_toolbox::SetPidGainsRequest_<ContainerAllocator> &) { return value(); }
00273 };
00274
00275 template<class ContainerAllocator>
00276 struct MD5Sum<control_toolbox::SetPidGainsResponse_<ContainerAllocator> > {
00277 static const char* value()
00278 {
00279 return "b06494a6fc3d5b972ded4e2a9a71535a";
00280 }
00281
00282 static const char* value(const control_toolbox::SetPidGainsResponse_<ContainerAllocator> &) { return value(); }
00283 };
00284
00285 template<class ContainerAllocator>
00286 struct DataType<control_toolbox::SetPidGainsResponse_<ContainerAllocator> > {
00287 static const char* value()
00288 {
00289 return "control_toolbox/SetPidGains";
00290 }
00291
00292 static const char* value(const control_toolbox::SetPidGainsResponse_<ContainerAllocator> &) { return value(); }
00293 };
00294
00295 }
00296 }
00297
00298 #endif // CONTROL_TOOLBOX_SERVICE_SETPIDGAINS_H
00299