$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/SetEffortControllerGains.srv */ 00002 #ifndef SR_ROBOT_MSGS_SERVICE_SETEFFORTCONTROLLERGAINS_H 00003 #define SR_ROBOT_MSGS_SERVICE_SETEFFORTCONTROLLERGAINS_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 SetEffortControllerGainsRequest_ { 00026 typedef SetEffortControllerGainsRequest_<ContainerAllocator> Type; 00027 00028 SetEffortControllerGainsRequest_() 00029 : max_force(0.0) 00030 , friction_deadband(0) 00031 { 00032 } 00033 00034 SetEffortControllerGainsRequest_(const ContainerAllocator& _alloc) 00035 : max_force(0.0) 00036 , friction_deadband(0) 00037 { 00038 } 00039 00040 typedef double _max_force_type; 00041 double max_force; 00042 00043 typedef int32_t _friction_deadband_type; 00044 int32_t friction_deadband; 00045 00046 00047 private: 00048 static const char* __s_getDataType_() { return "sr_robot_msgs/SetEffortControllerGainsRequest"; } 00049 public: 00050 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00051 00052 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00053 00054 private: 00055 static const char* __s_getMD5Sum_() { return "96397d148b84b1d0a8fe84ee1744fece"; } 00056 public: 00057 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00058 00059 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00060 00061 private: 00062 static const char* __s_getServerMD5Sum_() { return "96397d148b84b1d0a8fe84ee1744fece"; } 00063 public: 00064 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00065 00066 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00067 00068 private: 00069 static const char* __s_getMessageDefinition_() { return "float64 max_force\n\ 00070 int32 friction_deadband\n\ 00071 \n\ 00072 "; } 00073 public: 00074 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00075 00076 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00077 00078 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00079 { 00080 ros::serialization::OStream stream(write_ptr, 1000000000); 00081 ros::serialization::serialize(stream, max_force); 00082 ros::serialization::serialize(stream, friction_deadband); 00083 return stream.getData(); 00084 } 00085 00086 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00087 { 00088 ros::serialization::IStream stream(read_ptr, 1000000000); 00089 ros::serialization::deserialize(stream, max_force); 00090 ros::serialization::deserialize(stream, friction_deadband); 00091 return stream.getData(); 00092 } 00093 00094 ROS_DEPRECATED virtual uint32_t serializationLength() const 00095 { 00096 uint32_t size = 0; 00097 size += ros::serialization::serializationLength(max_force); 00098 size += ros::serialization::serializationLength(friction_deadband); 00099 return size; 00100 } 00101 00102 typedef boost::shared_ptr< ::sr_robot_msgs::SetEffortControllerGainsRequest_<ContainerAllocator> > Ptr; 00103 typedef boost::shared_ptr< ::sr_robot_msgs::SetEffortControllerGainsRequest_<ContainerAllocator> const> ConstPtr; 00104 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00105 }; // struct SetEffortControllerGainsRequest 00106 typedef ::sr_robot_msgs::SetEffortControllerGainsRequest_<std::allocator<void> > SetEffortControllerGainsRequest; 00107 00108 typedef boost::shared_ptr< ::sr_robot_msgs::SetEffortControllerGainsRequest> SetEffortControllerGainsRequestPtr; 00109 typedef boost::shared_ptr< ::sr_robot_msgs::SetEffortControllerGainsRequest const> SetEffortControllerGainsRequestConstPtr; 00110 00111 00112 template <class ContainerAllocator> 00113 struct SetEffortControllerGainsResponse_ { 00114 typedef SetEffortControllerGainsResponse_<ContainerAllocator> Type; 00115 00116 SetEffortControllerGainsResponse_() 00117 { 00118 } 00119 00120 SetEffortControllerGainsResponse_(const ContainerAllocator& _alloc) 00121 { 00122 } 00123 00124 00125 private: 00126 static const char* __s_getDataType_() { return "sr_robot_msgs/SetEffortControllerGainsResponse"; } 00127 public: 00128 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00129 00130 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00131 00132 private: 00133 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; } 00134 public: 00135 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00136 00137 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00138 00139 private: 00140 static const char* __s_getServerMD5Sum_() { return "96397d148b84b1d0a8fe84ee1744fece"; } 00141 public: 00142 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00143 00144 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00145 00146 private: 00147 static const char* __s_getMessageDefinition_() { return "\n\ 00148 \n\ 00149 "; } 00150 public: 00151 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00152 00153 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00154 00155 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00156 { 00157 ros::serialization::OStream stream(write_ptr, 1000000000); 00158 return stream.getData(); 00159 } 00160 00161 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00162 { 00163 ros::serialization::IStream stream(read_ptr, 1000000000); 00164 return stream.getData(); 00165 } 00166 00167 ROS_DEPRECATED virtual uint32_t serializationLength() const 00168 { 00169 uint32_t size = 0; 00170 return size; 00171 } 00172 00173 typedef boost::shared_ptr< ::sr_robot_msgs::SetEffortControllerGainsResponse_<ContainerAllocator> > Ptr; 00174 typedef boost::shared_ptr< ::sr_robot_msgs::SetEffortControllerGainsResponse_<ContainerAllocator> const> ConstPtr; 00175 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00176 }; // struct SetEffortControllerGainsResponse 00177 typedef ::sr_robot_msgs::SetEffortControllerGainsResponse_<std::allocator<void> > SetEffortControllerGainsResponse; 00178 00179 typedef boost::shared_ptr< ::sr_robot_msgs::SetEffortControllerGainsResponse> SetEffortControllerGainsResponsePtr; 00180 typedef boost::shared_ptr< ::sr_robot_msgs::SetEffortControllerGainsResponse const> SetEffortControllerGainsResponseConstPtr; 00181 00182 struct SetEffortControllerGains 00183 { 00184 00185 typedef SetEffortControllerGainsRequest Request; 00186 typedef SetEffortControllerGainsResponse Response; 00187 Request request; 00188 Response response; 00189 00190 typedef Request RequestType; 00191 typedef Response ResponseType; 00192 }; // struct SetEffortControllerGains 00193 } // namespace sr_robot_msgs 00194 00195 namespace ros 00196 { 00197 namespace message_traits 00198 { 00199 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::SetEffortControllerGainsRequest_<ContainerAllocator> > : public TrueType {}; 00200 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::SetEffortControllerGainsRequest_<ContainerAllocator> const> : public TrueType {}; 00201 template<class ContainerAllocator> 00202 struct MD5Sum< ::sr_robot_msgs::SetEffortControllerGainsRequest_<ContainerAllocator> > { 00203 static const char* value() 00204 { 00205 return "96397d148b84b1d0a8fe84ee1744fece"; 00206 } 00207 00208 static const char* value(const ::sr_robot_msgs::SetEffortControllerGainsRequest_<ContainerAllocator> &) { return value(); } 00209 static const uint64_t static_value1 = 0x96397d148b84b1d0ULL; 00210 static const uint64_t static_value2 = 0xa8fe84ee1744feceULL; 00211 }; 00212 00213 template<class ContainerAllocator> 00214 struct DataType< ::sr_robot_msgs::SetEffortControllerGainsRequest_<ContainerAllocator> > { 00215 static const char* value() 00216 { 00217 return "sr_robot_msgs/SetEffortControllerGainsRequest"; 00218 } 00219 00220 static const char* value(const ::sr_robot_msgs::SetEffortControllerGainsRequest_<ContainerAllocator> &) { return value(); } 00221 }; 00222 00223 template<class ContainerAllocator> 00224 struct Definition< ::sr_robot_msgs::SetEffortControllerGainsRequest_<ContainerAllocator> > { 00225 static const char* value() 00226 { 00227 return "float64 max_force\n\ 00228 int32 friction_deadband\n\ 00229 \n\ 00230 "; 00231 } 00232 00233 static const char* value(const ::sr_robot_msgs::SetEffortControllerGainsRequest_<ContainerAllocator> &) { return value(); } 00234 }; 00235 00236 template<class ContainerAllocator> struct IsFixedSize< ::sr_robot_msgs::SetEffortControllerGainsRequest_<ContainerAllocator> > : public TrueType {}; 00237 } // namespace message_traits 00238 } // namespace ros 00239 00240 00241 namespace ros 00242 { 00243 namespace message_traits 00244 { 00245 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::SetEffortControllerGainsResponse_<ContainerAllocator> > : public TrueType {}; 00246 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::SetEffortControllerGainsResponse_<ContainerAllocator> const> : public TrueType {}; 00247 template<class ContainerAllocator> 00248 struct MD5Sum< ::sr_robot_msgs::SetEffortControllerGainsResponse_<ContainerAllocator> > { 00249 static const char* value() 00250 { 00251 return "d41d8cd98f00b204e9800998ecf8427e"; 00252 } 00253 00254 static const char* value(const ::sr_robot_msgs::SetEffortControllerGainsResponse_<ContainerAllocator> &) { return value(); } 00255 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL; 00256 static const uint64_t static_value2 = 0xe9800998ecf8427eULL; 00257 }; 00258 00259 template<class ContainerAllocator> 00260 struct DataType< ::sr_robot_msgs::SetEffortControllerGainsResponse_<ContainerAllocator> > { 00261 static const char* value() 00262 { 00263 return "sr_robot_msgs/SetEffortControllerGainsResponse"; 00264 } 00265 00266 static const char* value(const ::sr_robot_msgs::SetEffortControllerGainsResponse_<ContainerAllocator> &) { return value(); } 00267 }; 00268 00269 template<class ContainerAllocator> 00270 struct Definition< ::sr_robot_msgs::SetEffortControllerGainsResponse_<ContainerAllocator> > { 00271 static const char* value() 00272 { 00273 return "\n\ 00274 \n\ 00275 "; 00276 } 00277 00278 static const char* value(const ::sr_robot_msgs::SetEffortControllerGainsResponse_<ContainerAllocator> &) { return value(); } 00279 }; 00280 00281 template<class ContainerAllocator> struct IsFixedSize< ::sr_robot_msgs::SetEffortControllerGainsResponse_<ContainerAllocator> > : public TrueType {}; 00282 } // namespace message_traits 00283 } // namespace ros 00284 00285 namespace ros 00286 { 00287 namespace serialization 00288 { 00289 00290 template<class ContainerAllocator> struct Serializer< ::sr_robot_msgs::SetEffortControllerGainsRequest_<ContainerAllocator> > 00291 { 00292 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00293 { 00294 stream.next(m.max_force); 00295 stream.next(m.friction_deadband); 00296 } 00297 00298 ROS_DECLARE_ALLINONE_SERIALIZER; 00299 }; // struct SetEffortControllerGainsRequest_ 00300 } // namespace serialization 00301 } // namespace ros 00302 00303 00304 namespace ros 00305 { 00306 namespace serialization 00307 { 00308 00309 template<class ContainerAllocator> struct Serializer< ::sr_robot_msgs::SetEffortControllerGainsResponse_<ContainerAllocator> > 00310 { 00311 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00312 { 00313 } 00314 00315 ROS_DECLARE_ALLINONE_SERIALIZER; 00316 }; // struct SetEffortControllerGainsResponse_ 00317 } // namespace serialization 00318 } // namespace ros 00319 00320 namespace ros 00321 { 00322 namespace service_traits 00323 { 00324 template<> 00325 struct MD5Sum<sr_robot_msgs::SetEffortControllerGains> { 00326 static const char* value() 00327 { 00328 return "96397d148b84b1d0a8fe84ee1744fece"; 00329 } 00330 00331 static const char* value(const sr_robot_msgs::SetEffortControllerGains&) { return value(); } 00332 }; 00333 00334 template<> 00335 struct DataType<sr_robot_msgs::SetEffortControllerGains> { 00336 static const char* value() 00337 { 00338 return "sr_robot_msgs/SetEffortControllerGains"; 00339 } 00340 00341 static const char* value(const sr_robot_msgs::SetEffortControllerGains&) { return value(); } 00342 }; 00343 00344 template<class ContainerAllocator> 00345 struct MD5Sum<sr_robot_msgs::SetEffortControllerGainsRequest_<ContainerAllocator> > { 00346 static const char* value() 00347 { 00348 return "96397d148b84b1d0a8fe84ee1744fece"; 00349 } 00350 00351 static const char* value(const sr_robot_msgs::SetEffortControllerGainsRequest_<ContainerAllocator> &) { return value(); } 00352 }; 00353 00354 template<class ContainerAllocator> 00355 struct DataType<sr_robot_msgs::SetEffortControllerGainsRequest_<ContainerAllocator> > { 00356 static const char* value() 00357 { 00358 return "sr_robot_msgs/SetEffortControllerGains"; 00359 } 00360 00361 static const char* value(const sr_robot_msgs::SetEffortControllerGainsRequest_<ContainerAllocator> &) { return value(); } 00362 }; 00363 00364 template<class ContainerAllocator> 00365 struct MD5Sum<sr_robot_msgs::SetEffortControllerGainsResponse_<ContainerAllocator> > { 00366 static const char* value() 00367 { 00368 return "96397d148b84b1d0a8fe84ee1744fece"; 00369 } 00370 00371 static const char* value(const sr_robot_msgs::SetEffortControllerGainsResponse_<ContainerAllocator> &) { return value(); } 00372 }; 00373 00374 template<class ContainerAllocator> 00375 struct DataType<sr_robot_msgs::SetEffortControllerGainsResponse_<ContainerAllocator> > { 00376 static const char* value() 00377 { 00378 return "sr_robot_msgs/SetEffortControllerGains"; 00379 } 00380 00381 static const char* value(const sr_robot_msgs::SetEffortControllerGainsResponse_<ContainerAllocator> &) { return value(); } 00382 }; 00383 00384 } // namespace service_traits 00385 } // namespace ros 00386 00387 #endif // SR_ROBOT_MSGS_SERVICE_SETEFFORTCONTROLLERGAINS_H 00388