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


control_toolbox
Author(s): Melonee Wise, Sachin Chitta, John Hsu
autogenerated on Thu Apr 24 2014 15:44:31