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