$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-shadow_robot/doc_stacks/2013-03-02_13-32-28.994675/shadow_robot/sr_robot_msgs/srv/SetMixedPositionVelocityPidGains.srv */ 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 private: 00103 static const char* __s_getDataType_() { return "sr_robot_msgs/SetMixedPositionVelocityPidGainsRequest"; } 00104 public: 00105 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00106 00107 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00108 00109 private: 00110 static const char* __s_getMD5Sum_() { return "ff95ce4d442c9454d3d943f0c999da89"; } 00111 public: 00112 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00113 00114 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00115 00116 private: 00117 static const char* __s_getServerMD5Sum_() { return "ff95ce4d442c9454d3d943f0c999da89"; } 00118 public: 00119 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00120 00121 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00122 00123 private: 00124 static const char* __s_getMessageDefinition_() { return "float64 position_p\n\ 00125 float64 position_i\n\ 00126 float64 position_d\n\ 00127 float64 position_i_clamp\n\ 00128 float64 min_velocity\n\ 00129 float64 max_velocity\n\ 00130 float64 position_deadband\n\ 00131 \n\ 00132 float64 velocity_p\n\ 00133 float64 velocity_i\n\ 00134 float64 velocity_d\n\ 00135 float64 velocity_i_clamp\n\ 00136 float64 max_force\n\ 00137 \n\ 00138 int32 friction_deadband\n\ 00139 \n\ 00140 "; } 00141 public: 00142 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00143 00144 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00145 00146 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00147 { 00148 ros::serialization::OStream stream(write_ptr, 1000000000); 00149 ros::serialization::serialize(stream, position_p); 00150 ros::serialization::serialize(stream, position_i); 00151 ros::serialization::serialize(stream, position_d); 00152 ros::serialization::serialize(stream, position_i_clamp); 00153 ros::serialization::serialize(stream, min_velocity); 00154 ros::serialization::serialize(stream, max_velocity); 00155 ros::serialization::serialize(stream, position_deadband); 00156 ros::serialization::serialize(stream, velocity_p); 00157 ros::serialization::serialize(stream, velocity_i); 00158 ros::serialization::serialize(stream, velocity_d); 00159 ros::serialization::serialize(stream, velocity_i_clamp); 00160 ros::serialization::serialize(stream, max_force); 00161 ros::serialization::serialize(stream, friction_deadband); 00162 return stream.getData(); 00163 } 00164 00165 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00166 { 00167 ros::serialization::IStream stream(read_ptr, 1000000000); 00168 ros::serialization::deserialize(stream, position_p); 00169 ros::serialization::deserialize(stream, position_i); 00170 ros::serialization::deserialize(stream, position_d); 00171 ros::serialization::deserialize(stream, position_i_clamp); 00172 ros::serialization::deserialize(stream, min_velocity); 00173 ros::serialization::deserialize(stream, max_velocity); 00174 ros::serialization::deserialize(stream, position_deadband); 00175 ros::serialization::deserialize(stream, velocity_p); 00176 ros::serialization::deserialize(stream, velocity_i); 00177 ros::serialization::deserialize(stream, velocity_d); 00178 ros::serialization::deserialize(stream, velocity_i_clamp); 00179 ros::serialization::deserialize(stream, max_force); 00180 ros::serialization::deserialize(stream, friction_deadband); 00181 return stream.getData(); 00182 } 00183 00184 ROS_DEPRECATED virtual uint32_t serializationLength() const 00185 { 00186 uint32_t size = 0; 00187 size += ros::serialization::serializationLength(position_p); 00188 size += ros::serialization::serializationLength(position_i); 00189 size += ros::serialization::serializationLength(position_d); 00190 size += ros::serialization::serializationLength(position_i_clamp); 00191 size += ros::serialization::serializationLength(min_velocity); 00192 size += ros::serialization::serializationLength(max_velocity); 00193 size += ros::serialization::serializationLength(position_deadband); 00194 size += ros::serialization::serializationLength(velocity_p); 00195 size += ros::serialization::serializationLength(velocity_i); 00196 size += ros::serialization::serializationLength(velocity_d); 00197 size += ros::serialization::serializationLength(velocity_i_clamp); 00198 size += ros::serialization::serializationLength(max_force); 00199 size += ros::serialization::serializationLength(friction_deadband); 00200 return size; 00201 } 00202 00203 typedef boost::shared_ptr< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> > Ptr; 00204 typedef boost::shared_ptr< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> const> ConstPtr; 00205 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00206 }; // struct SetMixedPositionVelocityPidGainsRequest 00207 typedef ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<std::allocator<void> > SetMixedPositionVelocityPidGainsRequest; 00208 00209 typedef boost::shared_ptr< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest> SetMixedPositionVelocityPidGainsRequestPtr; 00210 typedef boost::shared_ptr< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest const> SetMixedPositionVelocityPidGainsRequestConstPtr; 00211 00212 00213 template <class ContainerAllocator> 00214 struct SetMixedPositionVelocityPidGainsResponse_ { 00215 typedef SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> Type; 00216 00217 SetMixedPositionVelocityPidGainsResponse_() 00218 { 00219 } 00220 00221 SetMixedPositionVelocityPidGainsResponse_(const ContainerAllocator& _alloc) 00222 { 00223 } 00224 00225 00226 private: 00227 static const char* __s_getDataType_() { return "sr_robot_msgs/SetMixedPositionVelocityPidGainsResponse"; } 00228 public: 00229 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00230 00231 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00232 00233 private: 00234 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; } 00235 public: 00236 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00237 00238 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00239 00240 private: 00241 static const char* __s_getServerMD5Sum_() { return "ff95ce4d442c9454d3d943f0c999da89"; } 00242 public: 00243 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00244 00245 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00246 00247 private: 00248 static const char* __s_getMessageDefinition_() { return "\n\ 00249 \n\ 00250 "; } 00251 public: 00252 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00253 00254 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00255 00256 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00257 { 00258 ros::serialization::OStream stream(write_ptr, 1000000000); 00259 return stream.getData(); 00260 } 00261 00262 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00263 { 00264 ros::serialization::IStream stream(read_ptr, 1000000000); 00265 return stream.getData(); 00266 } 00267 00268 ROS_DEPRECATED virtual uint32_t serializationLength() const 00269 { 00270 uint32_t size = 0; 00271 return size; 00272 } 00273 00274 typedef boost::shared_ptr< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> > Ptr; 00275 typedef boost::shared_ptr< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> const> ConstPtr; 00276 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00277 }; // struct SetMixedPositionVelocityPidGainsResponse 00278 typedef ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<std::allocator<void> > SetMixedPositionVelocityPidGainsResponse; 00279 00280 typedef boost::shared_ptr< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse> SetMixedPositionVelocityPidGainsResponsePtr; 00281 typedef boost::shared_ptr< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse const> SetMixedPositionVelocityPidGainsResponseConstPtr; 00282 00283 struct SetMixedPositionVelocityPidGains 00284 { 00285 00286 typedef SetMixedPositionVelocityPidGainsRequest Request; 00287 typedef SetMixedPositionVelocityPidGainsResponse Response; 00288 Request request; 00289 Response response; 00290 00291 typedef Request RequestType; 00292 typedef Response ResponseType; 00293 }; // struct SetMixedPositionVelocityPidGains 00294 } // namespace sr_robot_msgs 00295 00296 namespace ros 00297 { 00298 namespace message_traits 00299 { 00300 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> > : public TrueType {}; 00301 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> const> : public TrueType {}; 00302 template<class ContainerAllocator> 00303 struct MD5Sum< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> > { 00304 static const char* value() 00305 { 00306 return "ff95ce4d442c9454d3d943f0c999da89"; 00307 } 00308 00309 static const char* value(const ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> &) { return value(); } 00310 static const uint64_t static_value1 = 0xff95ce4d442c9454ULL; 00311 static const uint64_t static_value2 = 0xd3d943f0c999da89ULL; 00312 }; 00313 00314 template<class ContainerAllocator> 00315 struct DataType< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> > { 00316 static const char* value() 00317 { 00318 return "sr_robot_msgs/SetMixedPositionVelocityPidGainsRequest"; 00319 } 00320 00321 static const char* value(const ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> &) { return value(); } 00322 }; 00323 00324 template<class ContainerAllocator> 00325 struct Definition< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> > { 00326 static const char* value() 00327 { 00328 return "float64 position_p\n\ 00329 float64 position_i\n\ 00330 float64 position_d\n\ 00331 float64 position_i_clamp\n\ 00332 float64 min_velocity\n\ 00333 float64 max_velocity\n\ 00334 float64 position_deadband\n\ 00335 \n\ 00336 float64 velocity_p\n\ 00337 float64 velocity_i\n\ 00338 float64 velocity_d\n\ 00339 float64 velocity_i_clamp\n\ 00340 float64 max_force\n\ 00341 \n\ 00342 int32 friction_deadband\n\ 00343 \n\ 00344 "; 00345 } 00346 00347 static const char* value(const ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> &) { return value(); } 00348 }; 00349 00350 template<class ContainerAllocator> struct IsFixedSize< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> > : public TrueType {}; 00351 } // namespace message_traits 00352 } // namespace ros 00353 00354 00355 namespace ros 00356 { 00357 namespace message_traits 00358 { 00359 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> > : public TrueType {}; 00360 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> const> : public TrueType {}; 00361 template<class ContainerAllocator> 00362 struct MD5Sum< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> > { 00363 static const char* value() 00364 { 00365 return "d41d8cd98f00b204e9800998ecf8427e"; 00366 } 00367 00368 static const char* value(const ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> &) { return value(); } 00369 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL; 00370 static const uint64_t static_value2 = 0xe9800998ecf8427eULL; 00371 }; 00372 00373 template<class ContainerAllocator> 00374 struct DataType< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> > { 00375 static const char* value() 00376 { 00377 return "sr_robot_msgs/SetMixedPositionVelocityPidGainsResponse"; 00378 } 00379 00380 static const char* value(const ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> &) { return value(); } 00381 }; 00382 00383 template<class ContainerAllocator> 00384 struct Definition< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> > { 00385 static const char* value() 00386 { 00387 return "\n\ 00388 \n\ 00389 "; 00390 } 00391 00392 static const char* value(const ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> &) { return value(); } 00393 }; 00394 00395 template<class ContainerAllocator> struct IsFixedSize< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> > : public TrueType {}; 00396 } // namespace message_traits 00397 } // namespace ros 00398 00399 namespace ros 00400 { 00401 namespace serialization 00402 { 00403 00404 template<class ContainerAllocator> struct Serializer< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> > 00405 { 00406 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00407 { 00408 stream.next(m.position_p); 00409 stream.next(m.position_i); 00410 stream.next(m.position_d); 00411 stream.next(m.position_i_clamp); 00412 stream.next(m.min_velocity); 00413 stream.next(m.max_velocity); 00414 stream.next(m.position_deadband); 00415 stream.next(m.velocity_p); 00416 stream.next(m.velocity_i); 00417 stream.next(m.velocity_d); 00418 stream.next(m.velocity_i_clamp); 00419 stream.next(m.max_force); 00420 stream.next(m.friction_deadband); 00421 } 00422 00423 ROS_DECLARE_ALLINONE_SERIALIZER; 00424 }; // struct SetMixedPositionVelocityPidGainsRequest_ 00425 } // namespace serialization 00426 } // namespace ros 00427 00428 00429 namespace ros 00430 { 00431 namespace serialization 00432 { 00433 00434 template<class ContainerAllocator> struct Serializer< ::sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> > 00435 { 00436 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00437 { 00438 } 00439 00440 ROS_DECLARE_ALLINONE_SERIALIZER; 00441 }; // struct SetMixedPositionVelocityPidGainsResponse_ 00442 } // namespace serialization 00443 } // namespace ros 00444 00445 namespace ros 00446 { 00447 namespace service_traits 00448 { 00449 template<> 00450 struct MD5Sum<sr_robot_msgs::SetMixedPositionVelocityPidGains> { 00451 static const char* value() 00452 { 00453 return "ff95ce4d442c9454d3d943f0c999da89"; 00454 } 00455 00456 static const char* value(const sr_robot_msgs::SetMixedPositionVelocityPidGains&) { return value(); } 00457 }; 00458 00459 template<> 00460 struct DataType<sr_robot_msgs::SetMixedPositionVelocityPidGains> { 00461 static const char* value() 00462 { 00463 return "sr_robot_msgs/SetMixedPositionVelocityPidGains"; 00464 } 00465 00466 static const char* value(const sr_robot_msgs::SetMixedPositionVelocityPidGains&) { return value(); } 00467 }; 00468 00469 template<class ContainerAllocator> 00470 struct MD5Sum<sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> > { 00471 static const char* value() 00472 { 00473 return "ff95ce4d442c9454d3d943f0c999da89"; 00474 } 00475 00476 static const char* value(const sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> &) { return value(); } 00477 }; 00478 00479 template<class ContainerAllocator> 00480 struct DataType<sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> > { 00481 static const char* value() 00482 { 00483 return "sr_robot_msgs/SetMixedPositionVelocityPidGains"; 00484 } 00485 00486 static const char* value(const sr_robot_msgs::SetMixedPositionVelocityPidGainsRequest_<ContainerAllocator> &) { return value(); } 00487 }; 00488 00489 template<class ContainerAllocator> 00490 struct MD5Sum<sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> > { 00491 static const char* value() 00492 { 00493 return "ff95ce4d442c9454d3d943f0c999da89"; 00494 } 00495 00496 static const char* value(const sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> &) { return value(); } 00497 }; 00498 00499 template<class ContainerAllocator> 00500 struct DataType<sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> > { 00501 static const char* value() 00502 { 00503 return "sr_robot_msgs/SetMixedPositionVelocityPidGains"; 00504 } 00505 00506 static const char* value(const sr_robot_msgs::SetMixedPositionVelocityPidGainsResponse_<ContainerAllocator> &) { return value(); } 00507 }; 00508 00509 } // namespace service_traits 00510 } // namespace ros 00511 00512 #endif // SR_ROBOT_MSGS_SERVICE_SETMIXEDPOSITIONVELOCITYPIDGAINS_H 00513