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 template <class ContainerAllocator>
00113 struct SetMixedPositionVelocityPidGainsResponse_ {
00114 typedef SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> Type;
00115
00116 SetMixedPositionVelocityPidGainsResponse_()
00117 {
00118 }
00119
00120 SetMixedPositionVelocityPidGainsResponse_(const ContainerAllocator& _alloc)
00121 {
00122 }
00123
00124
00125 typedef boost::shared_ptr< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> > Ptr;
00126 typedef boost::shared_ptr< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> const> ConstPtr;
00127 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00128 };
00129 typedef ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<std::allocator<void> > SetMixedPositionVelocityPidGainsResponse;
00130
00131 typedef boost::shared_ptr< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse> SetMixedPositionVelocityPidGainsResponsePtr;
00132 typedef boost::shared_ptr< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse const> SetMixedPositionVelocityPidGainsResponseConstPtr;
00133
00134 struct SetMixedPositionVelocityPidGains
00135 {
00136
00137 typedef SetMixedPositionVelocityPidGainsRequest Request;
00138 typedef SetMixedPositionVelocityPidGainsResponse Response;
00139 Request request;
00140 Response response;
00141
00142 typedef Request RequestType;
00143 typedef Response ResponseType;
00144 };
00145 }
00146
00147 namespace ros
00148 {
00149 namespace message_traits
00150 {
00151 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> > : public TrueType {};
00152 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> const> : public TrueType {};
00153 template<class ContainerAllocator>
00154 struct MD5Sum< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> > {
00155 static const char* value()
00156 {
00157 return "ff95ce4d442c9454d3d943f0c999da89";
00158 }
00159
00160 static const char* value(const ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> &) { return value(); }
00161 static const uint64_t static_value1 = 0xff95ce4d442c9454ULL;
00162 static const uint64_t static_value2 = 0xd3d943f0c999da89ULL;
00163 };
00164
00165 template<class ContainerAllocator>
00166 struct DataType< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> > {
00167 static const char* value()
00168 {
00169 return "sr_robot_msgs/SetMixedPositionVelocityPidGainsRequest";
00170 }
00171
00172 static const char* value(const ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> &) { return value(); }
00173 };
00174
00175 template<class ContainerAllocator>
00176 struct Definition< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> > {
00177 static const char* value()
00178 {
00179 return "float64 position_p\n\
00180 float64 position_i\n\
00181 float64 position_d\n\
00182 float64 position_i_clamp\n\
00183 float64 min_velocity\n\
00184 float64 max_velocity\n\
00185 float64 position_deadband\n\
00186 \n\
00187 float64 velocity_p\n\
00188 float64 velocity_i\n\
00189 float64 velocity_d\n\
00190 float64 velocity_i_clamp\n\
00191 float64 max_force\n\
00192 \n\
00193 int32 friction_deadband\n\
00194 \n\
00195 ";
00196 }
00197
00198 static const char* value(const ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> &) { return value(); }
00199 };
00200
00201 template<class ContainerAllocator> struct IsFixedSize< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> > : public TrueType {};
00202 }
00203 }
00204
00205
00206 namespace ros
00207 {
00208 namespace message_traits
00209 {
00210 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> > : public TrueType {};
00211 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> const> : public TrueType {};
00212 template<class ContainerAllocator>
00213 struct MD5Sum< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> > {
00214 static const char* value()
00215 {
00216 return "d41d8cd98f00b204e9800998ecf8427e";
00217 }
00218
00219 static const char* value(const ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> &) { return value(); }
00220 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00221 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00222 };
00223
00224 template<class ContainerAllocator>
00225 struct DataType< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> > {
00226 static const char* value()
00227 {
00228 return "sr_robot_msgs/SetMixedPositionVelocityPidGainsResponse";
00229 }
00230
00231 static const char* value(const ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> &) { return value(); }
00232 };
00233
00234 template<class ContainerAllocator>
00235 struct Definition< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> > {
00236 static const char* value()
00237 {
00238 return "\n\
00239 \n\
00240 ";
00241 }
00242
00243 static const char* value(const ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> &) { return value(); }
00244 };
00245
00246 template<class ContainerAllocator> struct IsFixedSize< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> > : public TrueType {};
00247 }
00248 }
00249
00250 namespace ros
00251 {
00252 namespace serialization
00253 {
00254
00255 template<class ContainerAllocator> struct Serializer< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> >
00256 {
00257 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00258 {
00259 stream.next(m.position_p);
00260 stream.next(m.position_i);
00261 stream.next(m.position_d);
00262 stream.next(m.position_i_clamp);
00263 stream.next(m.min_velocity);
00264 stream.next(m.max_velocity);
00265 stream.next(m.position_deadband);
00266 stream.next(m.velocity_p);
00267 stream.next(m.velocity_i);
00268 stream.next(m.velocity_d);
00269 stream.next(m.velocity_i_clamp);
00270 stream.next(m.max_force);
00271 stream.next(m.friction_deadband);
00272 }
00273
00274 ROS_DECLARE_ALLINONE_SERIALIZER;
00275 };
00276 }
00277 }
00278
00279
00280 namespace ros
00281 {
00282 namespace serialization
00283 {
00284
00285 template<class ContainerAllocator> struct Serializer< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> >
00286 {
00287 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00288 {
00289 }
00290
00291 ROS_DECLARE_ALLINONE_SERIALIZER;
00292 };
00293 }
00294 }
00295
00296 namespace ros
00297 {
00298 namespace service_traits
00299 {
00300 template<>
00301 struct MD5Sum<sr_robot_msgs::SetMixedPositionVelocityPidGains> {
00302 static const char* value()
00303 {
00304 return "ff95ce4d442c9454d3d943f0c999da89";
00305 }
00306
00307 static const char* value(const sr_robot_msgs::SetMixedPositionVelocityPidGains&) { return value(); }
00308 };
00309
00310 template<>
00311 struct DataType<sr_robot_msgs::SetMixedPositionVelocityPidGains> {
00312 static const char* value()
00313 {
00314 return "sr_robot_msgs/SetMixedPositionVelocityPidGains";
00315 }
00316
00317 static const char* value(const sr_robot_msgs::SetMixedPositionVelocityPidGains&) { return value(); }
00318 };
00319
00320 template<class ContainerAllocator>
00321 struct MD5Sum<sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> > {
00322 static const char* value()
00323 {
00324 return "ff95ce4d442c9454d3d943f0c999da89";
00325 }
00326
00327 static const char* value(const sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> &) { return value(); }
00328 };
00329
00330 template<class ContainerAllocator>
00331 struct DataType<sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> > {
00332 static const char* value()
00333 {
00334 return "sr_robot_msgs/SetMixedPositionVelocityPidGains";
00335 }
00336
00337 static const char* value(const sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> &) { return value(); }
00338 };
00339
00340 template<class ContainerAllocator>
00341 struct MD5Sum<sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> > {
00342 static const char* value()
00343 {
00344 return "ff95ce4d442c9454d3d943f0c999da89";
00345 }
00346
00347 static const char* value(const sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> &) { return value(); }
00348 };
00349
00350 template<class ContainerAllocator>
00351 struct DataType<sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> > {
00352 static const char* value()
00353 {
00354 return "sr_robot_msgs/SetMixedPositionVelocityPidGains";
00355 }
00356
00357 static const char* value(const sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> &) { return value(); }
00358 };
00359
00360 }
00361 }
00362
00363 #endif // SR_ROBOT_MSGS_SERVICE_SETMIXEDPOSITIONVELOCITYPIDGAINS_H
00364