Go to the documentation of this file.00001
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 typedef boost::shared_ptr< ::hector_gazebo_plugins::SetBiasRequest_<ContainerAllocator> > Ptr;
00044 typedef boost::shared_ptr< ::hector_gazebo_plugins::SetBiasRequest_<ContainerAllocator> const> ConstPtr;
00045 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 };
00047 typedef ::hector_gazebo_plugins::SetBiasRequest_<std::allocator<void> > SetBiasRequest;
00048
00049 typedef boost::shared_ptr< ::hector_gazebo_plugins::SetBiasRequest> SetBiasRequestPtr;
00050 typedef boost::shared_ptr< ::hector_gazebo_plugins::SetBiasRequest const> SetBiasRequestConstPtr;
00051
00052
00053
00054 template <class ContainerAllocator>
00055 struct SetBiasResponse_ {
00056 typedef SetBiasResponse_<ContainerAllocator> Type;
00057
00058 SetBiasResponse_()
00059 {
00060 }
00061
00062 SetBiasResponse_(const ContainerAllocator& _alloc)
00063 {
00064 }
00065
00066
00067 typedef boost::shared_ptr< ::hector_gazebo_plugins::SetBiasResponse_<ContainerAllocator> > Ptr;
00068 typedef boost::shared_ptr< ::hector_gazebo_plugins::SetBiasResponse_<ContainerAllocator> const> ConstPtr;
00069 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00070 };
00071 typedef ::hector_gazebo_plugins::SetBiasResponse_<std::allocator<void> > SetBiasResponse;
00072
00073 typedef boost::shared_ptr< ::hector_gazebo_plugins::SetBiasResponse> SetBiasResponsePtr;
00074 typedef boost::shared_ptr< ::hector_gazebo_plugins::SetBiasResponse const> SetBiasResponseConstPtr;
00075
00076
00077 struct SetBias
00078 {
00079
00080 typedef SetBiasRequest Request;
00081 typedef SetBiasResponse Response;
00082 Request request;
00083 Response response;
00084
00085 typedef Request RequestType;
00086 typedef Response ResponseType;
00087 };
00088 }
00089
00090 namespace ros
00091 {
00092 namespace message_traits
00093 {
00094 template<class ContainerAllocator> struct IsMessage< ::hector_gazebo_plugins::SetBiasRequest_<ContainerAllocator> > : public TrueType {};
00095 template<class ContainerAllocator> struct IsMessage< ::hector_gazebo_plugins::SetBiasRequest_<ContainerAllocator> const> : public TrueType {};
00096 template<class ContainerAllocator>
00097 struct MD5Sum< ::hector_gazebo_plugins::SetBiasRequest_<ContainerAllocator> > {
00098 static const char* value()
00099 {
00100 return "af1f260075d9ba9bd73ca10c6a45df07";
00101 }
00102
00103 static const char* value(const ::hector_gazebo_plugins::SetBiasRequest_<ContainerAllocator> &) { return value(); }
00104 static const uint64_t static_value1 = 0xaf1f260075d9ba9bULL;
00105 static const uint64_t static_value2 = 0xd73ca10c6a45df07ULL;
00106 };
00107
00108 template<class ContainerAllocator>
00109 struct DataType< ::hector_gazebo_plugins::SetBiasRequest_<ContainerAllocator> > {
00110 static const char* value()
00111 {
00112 return "hector_gazebo_plugins/SetBiasRequest";
00113 }
00114
00115 static const char* value(const ::hector_gazebo_plugins::SetBiasRequest_<ContainerAllocator> &) { return value(); }
00116 };
00117
00118 template<class ContainerAllocator>
00119 struct Definition< ::hector_gazebo_plugins::SetBiasRequest_<ContainerAllocator> > {
00120 static const char* value()
00121 {
00122 return "geometry_msgs/Vector3 bias\n\
00123 \n\
00124 ================================================================================\n\
00125 MSG: geometry_msgs/Vector3\n\
00126 # This represents a vector in free space. \n\
00127 \n\
00128 float64 x\n\
00129 float64 y\n\
00130 float64 z\n\
00131 ";
00132 }
00133
00134 static const char* value(const ::hector_gazebo_plugins::SetBiasRequest_<ContainerAllocator> &) { return value(); }
00135 };
00136
00137 template<class ContainerAllocator> struct IsFixedSize< ::hector_gazebo_plugins::SetBiasRequest_<ContainerAllocator> > : public TrueType {};
00138 }
00139 }
00140
00141
00142 namespace ros
00143 {
00144 namespace message_traits
00145 {
00146 template<class ContainerAllocator> struct IsMessage< ::hector_gazebo_plugins::SetBiasResponse_<ContainerAllocator> > : public TrueType {};
00147 template<class ContainerAllocator> struct IsMessage< ::hector_gazebo_plugins::SetBiasResponse_<ContainerAllocator> const> : public TrueType {};
00148 template<class ContainerAllocator>
00149 struct MD5Sum< ::hector_gazebo_plugins::SetBiasResponse_<ContainerAllocator> > {
00150 static const char* value()
00151 {
00152 return "d41d8cd98f00b204e9800998ecf8427e";
00153 }
00154
00155 static const char* value(const ::hector_gazebo_plugins::SetBiasResponse_<ContainerAllocator> &) { return value(); }
00156 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00157 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00158 };
00159
00160 template<class ContainerAllocator>
00161 struct DataType< ::hector_gazebo_plugins::SetBiasResponse_<ContainerAllocator> > {
00162 static const char* value()
00163 {
00164 return "hector_gazebo_plugins/SetBiasResponse";
00165 }
00166
00167 static const char* value(const ::hector_gazebo_plugins::SetBiasResponse_<ContainerAllocator> &) { return value(); }
00168 };
00169
00170 template<class ContainerAllocator>
00171 struct Definition< ::hector_gazebo_plugins::SetBiasResponse_<ContainerAllocator> > {
00172 static const char* value()
00173 {
00174 return "\n\
00175 \n\
00176 ";
00177 }
00178
00179 static const char* value(const ::hector_gazebo_plugins::SetBiasResponse_<ContainerAllocator> &) { return value(); }
00180 };
00181
00182 template<class ContainerAllocator> struct IsFixedSize< ::hector_gazebo_plugins::SetBiasResponse_<ContainerAllocator> > : public TrueType {};
00183 }
00184 }
00185
00186 namespace ros
00187 {
00188 namespace serialization
00189 {
00190
00191 template<class ContainerAllocator> struct Serializer< ::hector_gazebo_plugins::SetBiasRequest_<ContainerAllocator> >
00192 {
00193 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00194 {
00195 stream.next(m.bias);
00196 }
00197
00198 ROS_DECLARE_ALLINONE_SERIALIZER;
00199 };
00200 }
00201 }
00202
00203
00204 namespace ros
00205 {
00206 namespace serialization
00207 {
00208
00209 template<class ContainerAllocator> struct Serializer< ::hector_gazebo_plugins::SetBiasResponse_<ContainerAllocator> >
00210 {
00211 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00212 {
00213 }
00214
00215 ROS_DECLARE_ALLINONE_SERIALIZER;
00216 };
00217 }
00218 }
00219
00220 namespace ros
00221 {
00222 namespace service_traits
00223 {
00224 template<>
00225 struct MD5Sum<hector_gazebo_plugins::SetBias> {
00226 static const char* value()
00227 {
00228 return "af1f260075d9ba9bd73ca10c6a45df07";
00229 }
00230
00231 static const char* value(const hector_gazebo_plugins::SetBias&) { return value(); }
00232 };
00233
00234 template<>
00235 struct DataType<hector_gazebo_plugins::SetBias> {
00236 static const char* value()
00237 {
00238 return "hector_gazebo_plugins/SetBias";
00239 }
00240
00241 static const char* value(const hector_gazebo_plugins::SetBias&) { return value(); }
00242 };
00243
00244 template<class ContainerAllocator>
00245 struct MD5Sum<hector_gazebo_plugins::SetBiasRequest_<ContainerAllocator> > {
00246 static const char* value()
00247 {
00248 return "af1f260075d9ba9bd73ca10c6a45df07";
00249 }
00250
00251 static const char* value(const hector_gazebo_plugins::SetBiasRequest_<ContainerAllocator> &) { return value(); }
00252 };
00253
00254 template<class ContainerAllocator>
00255 struct DataType<hector_gazebo_plugins::SetBiasRequest_<ContainerAllocator> > {
00256 static const char* value()
00257 {
00258 return "hector_gazebo_plugins/SetBias";
00259 }
00260
00261 static const char* value(const hector_gazebo_plugins::SetBiasRequest_<ContainerAllocator> &) { return value(); }
00262 };
00263
00264 template<class ContainerAllocator>
00265 struct MD5Sum<hector_gazebo_plugins::SetBiasResponse_<ContainerAllocator> > {
00266 static const char* value()
00267 {
00268 return "af1f260075d9ba9bd73ca10c6a45df07";
00269 }
00270
00271 static const char* value(const hector_gazebo_plugins::SetBiasResponse_<ContainerAllocator> &) { return value(); }
00272 };
00273
00274 template<class ContainerAllocator>
00275 struct DataType<hector_gazebo_plugins::SetBiasResponse_<ContainerAllocator> > {
00276 static const char* value()
00277 {
00278 return "hector_gazebo_plugins/SetBias";
00279 }
00280
00281 static const char* value(const hector_gazebo_plugins::SetBiasResponse_<ContainerAllocator> &) { return value(); }
00282 };
00283
00284 }
00285 }
00286
00287 #endif // HECTOR_GAZEBO_PLUGINS_SERVICE_SETBIAS_H
00288