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


sr_robot_msgs
Author(s): Ugo Cupcic/ugo@shadowrobot.com
autogenerated on Mon Oct 6 2014 07:40:06