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