Go to the documentation of this file.00001
00002 #ifndef SR_ROBOT_MSGS_SERVICE_SETMIXEDPOSITIONVELOCITYPIDGAINS_H
00003 #define SR_ROBOT_MSGS_SERVICE_SETMIXEDPOSITIONVELOCITYPIDGAINS_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 SetMixedPositionVelocityPidGainsRequest_ {
00026 typedef SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> Type;
00027
00028 SetMixedPositionVelocityPidGainsRequest_()
00029 : position_p(0.0)
00030 , position_i(0.0)
00031 , position_d(0.0)
00032 , position_i_clamp(0.0)
00033 , min_velocity(0.0)
00034 , max_velocity(0.0)
00035 , position_deadband(0.0)
00036 , velocity_p(0.0)
00037 , velocity_i(0.0)
00038 , velocity_d(0.0)
00039 , velocity_i_clamp(0.0)
00040 , max_force(0.0)
00041 , friction_deadband(0)
00042 {
00043 }
00044
00045 SetMixedPositionVelocityPidGainsRequest_(const ContainerAllocator& _alloc)
00046 : position_p(0.0)
00047 , position_i(0.0)
00048 , position_d(0.0)
00049 , position_i_clamp(0.0)
00050 , min_velocity(0.0)
00051 , max_velocity(0.0)
00052 , position_deadband(0.0)
00053 , velocity_p(0.0)
00054 , velocity_i(0.0)
00055 , velocity_d(0.0)
00056 , velocity_i_clamp(0.0)
00057 , max_force(0.0)
00058 , friction_deadband(0)
00059 {
00060 }
00061
00062 typedef double _position_p_type;
00063 double position_p;
00064
00065 typedef double _position_i_type;
00066 double position_i;
00067
00068 typedef double _position_d_type;
00069 double position_d;
00070
00071 typedef double _position_i_clamp_type;
00072 double position_i_clamp;
00073
00074 typedef double _min_velocity_type;
00075 double min_velocity;
00076
00077 typedef double _max_velocity_type;
00078 double max_velocity;
00079
00080 typedef double _position_deadband_type;
00081 double position_deadband;
00082
00083 typedef double _velocity_p_type;
00084 double velocity_p;
00085
00086 typedef double _velocity_i_type;
00087 double velocity_i;
00088
00089 typedef double _velocity_d_type;
00090 double velocity_d;
00091
00092 typedef double _velocity_i_clamp_type;
00093 double velocity_i_clamp;
00094
00095 typedef double _max_force_type;
00096 double max_force;
00097
00098 typedef int32_t _friction_deadband_type;
00099 int32_t friction_deadband;
00100
00101
00102 typedef boost::shared_ptr< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> > Ptr;
00103 typedef boost::shared_ptr< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> const> ConstPtr;
00104 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00105 };
00106 typedef ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<std::allocator<void> > SetMixedPositionVelocityPidGainsRequest;
00107
00108 typedef boost::shared_ptr< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest> SetMixedPositionVelocityPidGainsRequestPtr;
00109 typedef boost::shared_ptr< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest const> SetMixedPositionVelocityPidGainsRequestConstPtr;
00110
00111
00112
00113 template <class ContainerAllocator>
00114 struct SetMixedPositionVelocityPidGainsResponse_ {
00115 typedef SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> Type;
00116
00117 SetMixedPositionVelocityPidGainsResponse_()
00118 {
00119 }
00120
00121 SetMixedPositionVelocityPidGainsResponse_(const ContainerAllocator& _alloc)
00122 {
00123 }
00124
00125
00126 typedef boost::shared_ptr< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> > Ptr;
00127 typedef boost::shared_ptr< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> const> ConstPtr;
00128 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00129 };
00130 typedef ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<std::allocator<void> > SetMixedPositionVelocityPidGainsResponse;
00131
00132 typedef boost::shared_ptr< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse> SetMixedPositionVelocityPidGainsResponsePtr;
00133 typedef boost::shared_ptr< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse const> SetMixedPositionVelocityPidGainsResponseConstPtr;
00134
00135
00136 struct SetMixedPositionVelocityPidGains
00137 {
00138
00139 typedef SetMixedPositionVelocityPidGainsRequest Request;
00140 typedef SetMixedPositionVelocityPidGainsResponse Response;
00141 Request request;
00142 Response response;
00143
00144 typedef Request RequestType;
00145 typedef Response ResponseType;
00146 };
00147 }
00148
00149 namespace ros
00150 {
00151 namespace message_traits
00152 {
00153 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> > : public TrueType {};
00154 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> const> : public TrueType {};
00155 template<class ContainerAllocator>
00156 struct MD5Sum< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> > {
00157 static const char* value()
00158 {
00159 return "ff95ce4d442c9454d3d943f0c999da89";
00160 }
00161
00162 static const char* value(const ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> &) { return value(); }
00163 static const uint64_t static_value1 = 0xff95ce4d442c9454ULL;
00164 static const uint64_t static_value2 = 0xd3d943f0c999da89ULL;
00165 };
00166
00167 template<class ContainerAllocator>
00168 struct DataType< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> > {
00169 static const char* value()
00170 {
00171 return "sr_robot_msgs/SetMixedPositionVelocityPidGainsRequest";
00172 }
00173
00174 static const char* value(const ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> &) { return value(); }
00175 };
00176
00177 template<class ContainerAllocator>
00178 struct Definition< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> > {
00179 static const char* value()
00180 {
00181 return "float64 position_p\n\
00182 float64 position_i\n\
00183 float64 position_d\n\
00184 float64 position_i_clamp\n\
00185 float64 min_velocity\n\
00186 float64 max_velocity\n\
00187 float64 position_deadband\n\
00188 \n\
00189 float64 velocity_p\n\
00190 float64 velocity_i\n\
00191 float64 velocity_d\n\
00192 float64 velocity_i_clamp\n\
00193 float64 max_force\n\
00194 \n\
00195 int32 friction_deadband\n\
00196 \n\
00197 ";
00198 }
00199
00200 static const char* value(const ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> &) { return value(); }
00201 };
00202
00203 template<class ContainerAllocator> struct IsFixedSize< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> > : public TrueType {};
00204 }
00205 }
00206
00207
00208 namespace ros
00209 {
00210 namespace message_traits
00211 {
00212 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> > : public TrueType {};
00213 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> const> : public TrueType {};
00214 template<class ContainerAllocator>
00215 struct MD5Sum< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> > {
00216 static const char* value()
00217 {
00218 return "d41d8cd98f00b204e9800998ecf8427e";
00219 }
00220
00221 static const char* value(const ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> &) { return value(); }
00222 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00223 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00224 };
00225
00226 template<class ContainerAllocator>
00227 struct DataType< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> > {
00228 static const char* value()
00229 {
00230 return "sr_robot_msgs/SetMixedPositionVelocityPidGainsResponse";
00231 }
00232
00233 static const char* value(const ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> &) { return value(); }
00234 };
00235
00236 template<class ContainerAllocator>
00237 struct Definition< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> > {
00238 static const char* value()
00239 {
00240 return "\n\
00241 \n\
00242 ";
00243 }
00244
00245 static const char* value(const ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> &) { return value(); }
00246 };
00247
00248 template<class ContainerAllocator> struct IsFixedSize< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> > : public TrueType {};
00249 }
00250 }
00251
00252 namespace ros
00253 {
00254 namespace serialization
00255 {
00256
00257 template<class ContainerAllocator> struct Serializer< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> >
00258 {
00259 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00260 {
00261 stream.next(m.position_p);
00262 stream.next(m.position_i);
00263 stream.next(m.position_d);
00264 stream.next(m.position_i_clamp);
00265 stream.next(m.min_velocity);
00266 stream.next(m.max_velocity);
00267 stream.next(m.position_deadband);
00268 stream.next(m.velocity_p);
00269 stream.next(m.velocity_i);
00270 stream.next(m.velocity_d);
00271 stream.next(m.velocity_i_clamp);
00272 stream.next(m.max_force);
00273 stream.next(m.friction_deadband);
00274 }
00275
00276 ROS_DECLARE_ALLINONE_SERIALIZER;
00277 };
00278 }
00279 }
00280
00281
00282 namespace ros
00283 {
00284 namespace serialization
00285 {
00286
00287 template<class ContainerAllocator> struct Serializer< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> >
00288 {
00289 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00290 {
00291 }
00292
00293 ROS_DECLARE_ALLINONE_SERIALIZER;
00294 };
00295 }
00296 }
00297
00298 namespace ros
00299 {
00300 namespace service_traits
00301 {
00302 template<>
00303 struct MD5Sum<sr_robot_msgs::SetMixedPositionVelocityPidGains> {
00304 static const char* value()
00305 {
00306 return "ff95ce4d442c9454d3d943f0c999da89";
00307 }
00308
00309 static const char* value(const sr_robot_msgs::SetMixedPositionVelocityPidGains&) { return value(); }
00310 };
00311
00312 template<>
00313 struct DataType<sr_robot_msgs::SetMixedPositionVelocityPidGains> {
00314 static const char* value()
00315 {
00316 return "sr_robot_msgs/SetMixedPositionVelocityPidGains";
00317 }
00318
00319 static const char* value(const sr_robot_msgs::SetMixedPositionVelocityPidGains&) { return value(); }
00320 };
00321
00322 template<class ContainerAllocator>
00323 struct MD5Sum<sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> > {
00324 static const char* value()
00325 {
00326 return "ff95ce4d442c9454d3d943f0c999da89";
00327 }
00328
00329 static const char* value(const sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> &) { return value(); }
00330 };
00331
00332 template<class ContainerAllocator>
00333 struct DataType<sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> > {
00334 static const char* value()
00335 {
00336 return "sr_robot_msgs/SetMixedPositionVelocityPidGains";
00337 }
00338
00339 static const char* value(const sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> &) { return value(); }
00340 };
00341
00342 template<class ContainerAllocator>
00343 struct MD5Sum<sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> > {
00344 static const char* value()
00345 {
00346 return "ff95ce4d442c9454d3d943f0c999da89";
00347 }
00348
00349 static const char* value(const sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> &) { return value(); }
00350 };
00351
00352 template<class ContainerAllocator>
00353 struct DataType<sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> > {
00354 static const char* value()
00355 {
00356 return "sr_robot_msgs/SetMixedPositionVelocityPidGains";
00357 }
00358
00359 static const char* value(const sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> &) { return value(); }
00360 };
00361
00362 }
00363 }
00364
00365 #endif // SR_ROBOT_MSGS_SERVICE_SETMIXEDPOSITIONVELOCITYPIDGAINS_H
00366