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