00001
00002 #ifndef MAV_MSGS_SERVICE_CHANGEDESPOSE_H
00003 #define MAV_MSGS_SERVICE_CHANGEDESPOSE_H
00004 #include <string>
00005 #include <vector>
00006 #include <ostream>
00007 #include "ros/serialization.h"
00008 #include "ros/builtin_message_traits.h"
00009 #include "ros/message_operations.h"
00010 #include "ros/message.h"
00011 #include "ros/time.h"
00012
00013 #include "ros/service_traits.h"
00014
00015
00016
00017
00018 namespace mav_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct ChangeDesPoseRequest_ : public ros::Message
00022 {
00023 typedef ChangeDesPoseRequest_<ContainerAllocator> Type;
00024
00025 ChangeDesPoseRequest_()
00026 : field(0)
00027 , delta(0.0)
00028 {
00029 }
00030
00031 ChangeDesPoseRequest_(const ContainerAllocator& _alloc)
00032 : field(0)
00033 , delta(0.0)
00034 {
00035 }
00036
00037 typedef uint8_t _field_type;
00038 uint8_t field;
00039
00040 typedef double _delta_type;
00041 double delta;
00042
00043
00044 private:
00045 static const char* __s_getDataType_() { return "mav_msgs/ChangeDesPoseRequest"; }
00046 public:
00047 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00048
00049 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00050
00051 private:
00052 static const char* __s_getMD5Sum_() { return "c730d7ee3613fc5e0524a97cf9d61d9a"; }
00053 public:
00054 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00055
00056 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00057
00058 private:
00059 static const char* __s_getServerMD5Sum_() { return "c730d7ee3613fc5e0524a97cf9d61d9a"; }
00060 public:
00061 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00062
00063 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00064
00065 private:
00066 static const char* __s_getMessageDefinition_() { return "uint8 field\n\
00067 \n\
00068 \n\
00069 \n\
00070 float64 delta\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, field);
00082 ros::serialization::serialize(stream, delta);
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, field);
00090 ros::serialization::deserialize(stream, delta);
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(field);
00098 size += ros::serialization::serializationLength(delta);
00099 return size;
00100 }
00101
00102 typedef boost::shared_ptr< ::mav_msgs::ChangeDesPoseRequest_<ContainerAllocator> > Ptr;
00103 typedef boost::shared_ptr< ::mav_msgs::ChangeDesPoseRequest_<ContainerAllocator> const> ConstPtr;
00104 };
00105 typedef ::mav_msgs::ChangeDesPoseRequest_<std::allocator<void> > ChangeDesPoseRequest;
00106
00107 typedef boost::shared_ptr< ::mav_msgs::ChangeDesPoseRequest> ChangeDesPoseRequestPtr;
00108 typedef boost::shared_ptr< ::mav_msgs::ChangeDesPoseRequest const> ChangeDesPoseRequestConstPtr;
00109
00110
00111 template <class ContainerAllocator>
00112 struct ChangeDesPoseResponse_ : public ros::Message
00113 {
00114 typedef ChangeDesPoseResponse_<ContainerAllocator> Type;
00115
00116 ChangeDesPoseResponse_()
00117 {
00118 }
00119
00120 ChangeDesPoseResponse_(const ContainerAllocator& _alloc)
00121 {
00122 }
00123
00124
00125 private:
00126 static const char* __s_getDataType_() { return "mav_msgs/ChangeDesPoseResponse"; }
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 "c730d7ee3613fc5e0524a97cf9d61d9a"; }
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 \n\
00150 "; }
00151 public:
00152 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00153
00154 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00155
00156 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00157 {
00158 ros::serialization::OStream stream(write_ptr, 1000000000);
00159 return stream.getData();
00160 }
00161
00162 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00163 {
00164 ros::serialization::IStream stream(read_ptr, 1000000000);
00165 return stream.getData();
00166 }
00167
00168 ROS_DEPRECATED virtual uint32_t serializationLength() const
00169 {
00170 uint32_t size = 0;
00171 return size;
00172 }
00173
00174 typedef boost::shared_ptr< ::mav_msgs::ChangeDesPoseResponse_<ContainerAllocator> > Ptr;
00175 typedef boost::shared_ptr< ::mav_msgs::ChangeDesPoseResponse_<ContainerAllocator> const> ConstPtr;
00176 };
00177 typedef ::mav_msgs::ChangeDesPoseResponse_<std::allocator<void> > ChangeDesPoseResponse;
00178
00179 typedef boost::shared_ptr< ::mav_msgs::ChangeDesPoseResponse> ChangeDesPoseResponsePtr;
00180 typedef boost::shared_ptr< ::mav_msgs::ChangeDesPoseResponse const> ChangeDesPoseResponseConstPtr;
00181
00182 struct ChangeDesPose
00183 {
00184
00185 typedef ChangeDesPoseRequest Request;
00186 typedef ChangeDesPoseResponse Response;
00187 Request request;
00188 Response response;
00189
00190 typedef Request RequestType;
00191 typedef Response ResponseType;
00192 };
00193 }
00194
00195 namespace ros
00196 {
00197 namespace message_traits
00198 {
00199 template<class ContainerAllocator>
00200 struct MD5Sum< ::mav_msgs::ChangeDesPoseRequest_<ContainerAllocator> > {
00201 static const char* value()
00202 {
00203 return "c730d7ee3613fc5e0524a97cf9d61d9a";
00204 }
00205
00206 static const char* value(const ::mav_msgs::ChangeDesPoseRequest_<ContainerAllocator> &) { return value(); }
00207 static const uint64_t static_value1 = 0xc730d7ee3613fc5eULL;
00208 static const uint64_t static_value2 = 0x0524a97cf9d61d9aULL;
00209 };
00210
00211 template<class ContainerAllocator>
00212 struct DataType< ::mav_msgs::ChangeDesPoseRequest_<ContainerAllocator> > {
00213 static const char* value()
00214 {
00215 return "mav_msgs/ChangeDesPoseRequest";
00216 }
00217
00218 static const char* value(const ::mav_msgs::ChangeDesPoseRequest_<ContainerAllocator> &) { return value(); }
00219 };
00220
00221 template<class ContainerAllocator>
00222 struct Definition< ::mav_msgs::ChangeDesPoseRequest_<ContainerAllocator> > {
00223 static const char* value()
00224 {
00225 return "uint8 field\n\
00226 \n\
00227 \n\
00228 \n\
00229 float64 delta\n\
00230 \n\
00231 ";
00232 }
00233
00234 static const char* value(const ::mav_msgs::ChangeDesPoseRequest_<ContainerAllocator> &) { return value(); }
00235 };
00236
00237 template<class ContainerAllocator> struct IsFixedSize< ::mav_msgs::ChangeDesPoseRequest_<ContainerAllocator> > : public TrueType {};
00238 }
00239 }
00240
00241
00242 namespace ros
00243 {
00244 namespace message_traits
00245 {
00246 template<class ContainerAllocator>
00247 struct MD5Sum< ::mav_msgs::ChangeDesPoseResponse_<ContainerAllocator> > {
00248 static const char* value()
00249 {
00250 return "d41d8cd98f00b204e9800998ecf8427e";
00251 }
00252
00253 static const char* value(const ::mav_msgs::ChangeDesPoseResponse_<ContainerAllocator> &) { return value(); }
00254 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00255 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00256 };
00257
00258 template<class ContainerAllocator>
00259 struct DataType< ::mav_msgs::ChangeDesPoseResponse_<ContainerAllocator> > {
00260 static const char* value()
00261 {
00262 return "mav_msgs/ChangeDesPoseResponse";
00263 }
00264
00265 static const char* value(const ::mav_msgs::ChangeDesPoseResponse_<ContainerAllocator> &) { return value(); }
00266 };
00267
00268 template<class ContainerAllocator>
00269 struct Definition< ::mav_msgs::ChangeDesPoseResponse_<ContainerAllocator> > {
00270 static const char* value()
00271 {
00272 return "\n\
00273 \n\
00274 \n\
00275 ";
00276 }
00277
00278 static const char* value(const ::mav_msgs::ChangeDesPoseResponse_<ContainerAllocator> &) { return value(); }
00279 };
00280
00281 template<class ContainerAllocator> struct IsFixedSize< ::mav_msgs::ChangeDesPoseResponse_<ContainerAllocator> > : public TrueType {};
00282 }
00283 }
00284
00285 namespace ros
00286 {
00287 namespace serialization
00288 {
00289
00290 template<class ContainerAllocator> struct Serializer< ::mav_msgs::ChangeDesPoseRequest_<ContainerAllocator> >
00291 {
00292 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00293 {
00294 stream.next(m.field);
00295 stream.next(m.delta);
00296 }
00297
00298 ROS_DECLARE_ALLINONE_SERIALIZER;
00299 };
00300 }
00301 }
00302
00303
00304 namespace ros
00305 {
00306 namespace serialization
00307 {
00308
00309 template<class ContainerAllocator> struct Serializer< ::mav_msgs::ChangeDesPoseResponse_<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 };
00317 }
00318 }
00319
00320 namespace ros
00321 {
00322 namespace service_traits
00323 {
00324 template<>
00325 struct MD5Sum<mav_msgs::ChangeDesPose> {
00326 static const char* value()
00327 {
00328 return "c730d7ee3613fc5e0524a97cf9d61d9a";
00329 }
00330
00331 static const char* value(const mav_msgs::ChangeDesPose&) { return value(); }
00332 };
00333
00334 template<>
00335 struct DataType<mav_msgs::ChangeDesPose> {
00336 static const char* value()
00337 {
00338 return "mav_msgs/ChangeDesPose";
00339 }
00340
00341 static const char* value(const mav_msgs::ChangeDesPose&) { return value(); }
00342 };
00343
00344 template<class ContainerAllocator>
00345 struct MD5Sum<mav_msgs::ChangeDesPoseRequest_<ContainerAllocator> > {
00346 static const char* value()
00347 {
00348 return "c730d7ee3613fc5e0524a97cf9d61d9a";
00349 }
00350
00351 static const char* value(const mav_msgs::ChangeDesPoseRequest_<ContainerAllocator> &) { return value(); }
00352 };
00353
00354 template<class ContainerAllocator>
00355 struct DataType<mav_msgs::ChangeDesPoseRequest_<ContainerAllocator> > {
00356 static const char* value()
00357 {
00358 return "mav_msgs/ChangeDesPose";
00359 }
00360
00361 static const char* value(const mav_msgs::ChangeDesPoseRequest_<ContainerAllocator> &) { return value(); }
00362 };
00363
00364 template<class ContainerAllocator>
00365 struct MD5Sum<mav_msgs::ChangeDesPoseResponse_<ContainerAllocator> > {
00366 static const char* value()
00367 {
00368 return "c730d7ee3613fc5e0524a97cf9d61d9a";
00369 }
00370
00371 static const char* value(const mav_msgs::ChangeDesPoseResponse_<ContainerAllocator> &) { return value(); }
00372 };
00373
00374 template<class ContainerAllocator>
00375 struct DataType<mav_msgs::ChangeDesPoseResponse_<ContainerAllocator> > {
00376 static const char* value()
00377 {
00378 return "mav_msgs/ChangeDesPose";
00379 }
00380
00381 static const char* value(const mav_msgs::ChangeDesPoseResponse_<ContainerAllocator> &) { return value(); }
00382 };
00383
00384 }
00385 }
00386
00387 #endif // MAV_MSGS_SERVICE_CHANGEDESPOSE_H
00388