00001
00002 #ifndef STATIC_TRANSFORM_BROADCASTER_SERVICE_SETSTATICTRANSFORM_H
00003 #define STATIC_TRANSFORM_BROADCASTER_SERVICE_SETSTATICTRANSFORM_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 #include "geometry_msgs/TransformStamped.h"
00016
00017
00018
00019 namespace static_transform_broadcaster
00020 {
00021 template <class ContainerAllocator>
00022 struct SetStaticTransformRequest_ : public ros::Message
00023 {
00024 typedef SetStaticTransformRequest_<ContainerAllocator> Type;
00025
00026 SetStaticTransformRequest_()
00027 : transform()
00028 {
00029 }
00030
00031 SetStaticTransformRequest_(const ContainerAllocator& _alloc)
00032 : transform(_alloc)
00033 {
00034 }
00035
00036 typedef ::geometry_msgs::TransformStamped_<ContainerAllocator> _transform_type;
00037 ::geometry_msgs::TransformStamped_<ContainerAllocator> transform;
00038
00039
00040 private:
00041 static const char* __s_getDataType_() { return "static_transform_broadcaster/SetStaticTransformRequest"; }
00042 public:
00043 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00044
00045 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00046
00047 private:
00048 static const char* __s_getMD5Sum_() { return "627ebb4e09bbb127f87308bbfdbaec08"; }
00049 public:
00050 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00051
00052 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00053
00054 private:
00055 static const char* __s_getServerMD5Sum_() { return "627ebb4e09bbb127f87308bbfdbaec08"; }
00056 public:
00057 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00058
00059 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00060
00061 private:
00062 static const char* __s_getMessageDefinition_() { return "\n\
00063 \n\
00064 \n\
00065 \n\
00066 \n\
00067 geometry_msgs/TransformStamped transform\n\
00068 \n\
00069 \n\
00070 ================================================================================\n\
00071 MSG: geometry_msgs/TransformStamped\n\
00072 # This expresses a transform from coordinate frame header.frame_id\n\
00073 # to the coordinate frame child_frame_id\n\
00074 #\n\
00075 # This message is mostly used by the \n\
00076 # <a href=\"http://www.ros.org/wiki/tf\">tf</a> package. \n\
00077 # See it's documentation for more information.\n\
00078 \n\
00079 Header header\n\
00080 string child_frame_id # the frame id of the child frame\n\
00081 Transform transform\n\
00082 \n\
00083 ================================================================================\n\
00084 MSG: std_msgs/Header\n\
00085 # Standard metadata for higher-level stamped data types.\n\
00086 # This is generally used to communicate timestamped data \n\
00087 # in a particular coordinate frame.\n\
00088 # \n\
00089 # sequence ID: consecutively increasing ID \n\
00090 uint32 seq\n\
00091 #Two-integer timestamp that is expressed as:\n\
00092 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00093 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00094 # time-handling sugar is provided by the client library\n\
00095 time stamp\n\
00096 #Frame this data is associated with\n\
00097 # 0: no frame\n\
00098 # 1: global frame\n\
00099 string frame_id\n\
00100 \n\
00101 ================================================================================\n\
00102 MSG: geometry_msgs/Transform\n\
00103 # This represents the transform between two coordinate frames in free space.\n\
00104 \n\
00105 Vector3 translation\n\
00106 Quaternion rotation\n\
00107 \n\
00108 ================================================================================\n\
00109 MSG: geometry_msgs/Vector3\n\
00110 # This represents a vector in free space. \n\
00111 \n\
00112 float64 x\n\
00113 float64 y\n\
00114 float64 z\n\
00115 ================================================================================\n\
00116 MSG: geometry_msgs/Quaternion\n\
00117 # This represents an orientation in free space in quaternion form.\n\
00118 \n\
00119 float64 x\n\
00120 float64 y\n\
00121 float64 z\n\
00122 float64 w\n\
00123 \n\
00124 "; }
00125 public:
00126 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00127
00128 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00129
00130 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00131 {
00132 ros::serialization::OStream stream(write_ptr, 1000000000);
00133 ros::serialization::serialize(stream, transform);
00134 return stream.getData();
00135 }
00136
00137 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00138 {
00139 ros::serialization::IStream stream(read_ptr, 1000000000);
00140 ros::serialization::deserialize(stream, transform);
00141 return stream.getData();
00142 }
00143
00144 ROS_DEPRECATED virtual uint32_t serializationLength() const
00145 {
00146 uint32_t size = 0;
00147 size += ros::serialization::serializationLength(transform);
00148 return size;
00149 }
00150
00151 typedef boost::shared_ptr< ::static_transform_broadcaster::SetStaticTransformRequest_<ContainerAllocator> > Ptr;
00152 typedef boost::shared_ptr< ::static_transform_broadcaster::SetStaticTransformRequest_<ContainerAllocator> const> ConstPtr;
00153 };
00154 typedef ::static_transform_broadcaster::SetStaticTransformRequest_<std::allocator<void> > SetStaticTransformRequest;
00155
00156 typedef boost::shared_ptr< ::static_transform_broadcaster::SetStaticTransformRequest> SetStaticTransformRequestPtr;
00157 typedef boost::shared_ptr< ::static_transform_broadcaster::SetStaticTransformRequest const> SetStaticTransformRequestConstPtr;
00158
00159
00160 template <class ContainerAllocator>
00161 struct SetStaticTransformResponse_ : public ros::Message
00162 {
00163 typedef SetStaticTransformResponse_<ContainerAllocator> Type;
00164
00165 SetStaticTransformResponse_()
00166 {
00167 }
00168
00169 SetStaticTransformResponse_(const ContainerAllocator& _alloc)
00170 {
00171 }
00172
00173
00174 private:
00175 static const char* __s_getDataType_() { return "static_transform_broadcaster/SetStaticTransformResponse"; }
00176 public:
00177 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00178
00179 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00180
00181 private:
00182 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; }
00183 public:
00184 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00185
00186 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00187
00188 private:
00189 static const char* __s_getServerMD5Sum_() { return "627ebb4e09bbb127f87308bbfdbaec08"; }
00190 public:
00191 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00192
00193 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00194
00195 private:
00196 static const char* __s_getMessageDefinition_() { return "\n\
00197 \n\
00198 \n\
00199 "; }
00200 public:
00201 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00202
00203 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00204
00205 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00206 {
00207 ros::serialization::OStream stream(write_ptr, 1000000000);
00208 return stream.getData();
00209 }
00210
00211 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00212 {
00213 ros::serialization::IStream stream(read_ptr, 1000000000);
00214 return stream.getData();
00215 }
00216
00217 ROS_DEPRECATED virtual uint32_t serializationLength() const
00218 {
00219 uint32_t size = 0;
00220 return size;
00221 }
00222
00223 typedef boost::shared_ptr< ::static_transform_broadcaster::SetStaticTransformResponse_<ContainerAllocator> > Ptr;
00224 typedef boost::shared_ptr< ::static_transform_broadcaster::SetStaticTransformResponse_<ContainerAllocator> const> ConstPtr;
00225 };
00226 typedef ::static_transform_broadcaster::SetStaticTransformResponse_<std::allocator<void> > SetStaticTransformResponse;
00227
00228 typedef boost::shared_ptr< ::static_transform_broadcaster::SetStaticTransformResponse> SetStaticTransformResponsePtr;
00229 typedef boost::shared_ptr< ::static_transform_broadcaster::SetStaticTransformResponse const> SetStaticTransformResponseConstPtr;
00230
00231 struct SetStaticTransform
00232 {
00233
00234 typedef SetStaticTransformRequest Request;
00235 typedef SetStaticTransformResponse Response;
00236 Request request;
00237 Response response;
00238
00239 typedef Request RequestType;
00240 typedef Response ResponseType;
00241 };
00242 }
00243
00244 namespace ros
00245 {
00246 namespace message_traits
00247 {
00248 template<class ContainerAllocator>
00249 struct MD5Sum< ::static_transform_broadcaster::SetStaticTransformRequest_<ContainerAllocator> > {
00250 static const char* value()
00251 {
00252 return "627ebb4e09bbb127f87308bbfdbaec08";
00253 }
00254
00255 static const char* value(const ::static_transform_broadcaster::SetStaticTransformRequest_<ContainerAllocator> &) { return value(); }
00256 static const uint64_t static_value1 = 0x627ebb4e09bbb127ULL;
00257 static const uint64_t static_value2 = 0xf87308bbfdbaec08ULL;
00258 };
00259
00260 template<class ContainerAllocator>
00261 struct DataType< ::static_transform_broadcaster::SetStaticTransformRequest_<ContainerAllocator> > {
00262 static const char* value()
00263 {
00264 return "static_transform_broadcaster/SetStaticTransformRequest";
00265 }
00266
00267 static const char* value(const ::static_transform_broadcaster::SetStaticTransformRequest_<ContainerAllocator> &) { return value(); }
00268 };
00269
00270 template<class ContainerAllocator>
00271 struct Definition< ::static_transform_broadcaster::SetStaticTransformRequest_<ContainerAllocator> > {
00272 static const char* value()
00273 {
00274 return "\n\
00275 \n\
00276 \n\
00277 \n\
00278 \n\
00279 geometry_msgs/TransformStamped transform\n\
00280 \n\
00281 \n\
00282 ================================================================================\n\
00283 MSG: geometry_msgs/TransformStamped\n\
00284 # This expresses a transform from coordinate frame header.frame_id\n\
00285 # to the coordinate frame child_frame_id\n\
00286 #\n\
00287 # This message is mostly used by the \n\
00288 # <a href=\"http://www.ros.org/wiki/tf\">tf</a> package. \n\
00289 # See it's documentation for more information.\n\
00290 \n\
00291 Header header\n\
00292 string child_frame_id # the frame id of the child frame\n\
00293 Transform transform\n\
00294 \n\
00295 ================================================================================\n\
00296 MSG: std_msgs/Header\n\
00297 # Standard metadata for higher-level stamped data types.\n\
00298 # This is generally used to communicate timestamped data \n\
00299 # in a particular coordinate frame.\n\
00300 # \n\
00301 # sequence ID: consecutively increasing ID \n\
00302 uint32 seq\n\
00303 #Two-integer timestamp that is expressed as:\n\
00304 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00305 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00306 # time-handling sugar is provided by the client library\n\
00307 time stamp\n\
00308 #Frame this data is associated with\n\
00309 # 0: no frame\n\
00310 # 1: global frame\n\
00311 string frame_id\n\
00312 \n\
00313 ================================================================================\n\
00314 MSG: geometry_msgs/Transform\n\
00315 # This represents the transform between two coordinate frames in free space.\n\
00316 \n\
00317 Vector3 translation\n\
00318 Quaternion rotation\n\
00319 \n\
00320 ================================================================================\n\
00321 MSG: geometry_msgs/Vector3\n\
00322 # This represents a vector in free space. \n\
00323 \n\
00324 float64 x\n\
00325 float64 y\n\
00326 float64 z\n\
00327 ================================================================================\n\
00328 MSG: geometry_msgs/Quaternion\n\
00329 # This represents an orientation in free space in quaternion form.\n\
00330 \n\
00331 float64 x\n\
00332 float64 y\n\
00333 float64 z\n\
00334 float64 w\n\
00335 \n\
00336 ";
00337 }
00338
00339 static const char* value(const ::static_transform_broadcaster::SetStaticTransformRequest_<ContainerAllocator> &) { return value(); }
00340 };
00341
00342 }
00343 }
00344
00345
00346 namespace ros
00347 {
00348 namespace message_traits
00349 {
00350 template<class ContainerAllocator>
00351 struct MD5Sum< ::static_transform_broadcaster::SetStaticTransformResponse_<ContainerAllocator> > {
00352 static const char* value()
00353 {
00354 return "d41d8cd98f00b204e9800998ecf8427e";
00355 }
00356
00357 static const char* value(const ::static_transform_broadcaster::SetStaticTransformResponse_<ContainerAllocator> &) { return value(); }
00358 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00359 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00360 };
00361
00362 template<class ContainerAllocator>
00363 struct DataType< ::static_transform_broadcaster::SetStaticTransformResponse_<ContainerAllocator> > {
00364 static const char* value()
00365 {
00366 return "static_transform_broadcaster/SetStaticTransformResponse";
00367 }
00368
00369 static const char* value(const ::static_transform_broadcaster::SetStaticTransformResponse_<ContainerAllocator> &) { return value(); }
00370 };
00371
00372 template<class ContainerAllocator>
00373 struct Definition< ::static_transform_broadcaster::SetStaticTransformResponse_<ContainerAllocator> > {
00374 static const char* value()
00375 {
00376 return "\n\
00377 \n\
00378 \n\
00379 ";
00380 }
00381
00382 static const char* value(const ::static_transform_broadcaster::SetStaticTransformResponse_<ContainerAllocator> &) { return value(); }
00383 };
00384
00385 template<class ContainerAllocator> struct IsFixedSize< ::static_transform_broadcaster::SetStaticTransformResponse_<ContainerAllocator> > : public TrueType {};
00386 }
00387 }
00388
00389 namespace ros
00390 {
00391 namespace serialization
00392 {
00393
00394 template<class ContainerAllocator> struct Serializer< ::static_transform_broadcaster::SetStaticTransformRequest_<ContainerAllocator> >
00395 {
00396 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00397 {
00398 stream.next(m.transform);
00399 }
00400
00401 ROS_DECLARE_ALLINONE_SERIALIZER;
00402 };
00403 }
00404 }
00405
00406
00407 namespace ros
00408 {
00409 namespace serialization
00410 {
00411
00412 template<class ContainerAllocator> struct Serializer< ::static_transform_broadcaster::SetStaticTransformResponse_<ContainerAllocator> >
00413 {
00414 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00415 {
00416 }
00417
00418 ROS_DECLARE_ALLINONE_SERIALIZER;
00419 };
00420 }
00421 }
00422
00423 namespace ros
00424 {
00425 namespace service_traits
00426 {
00427 template<>
00428 struct MD5Sum<static_transform_broadcaster::SetStaticTransform> {
00429 static const char* value()
00430 {
00431 return "627ebb4e09bbb127f87308bbfdbaec08";
00432 }
00433
00434 static const char* value(const static_transform_broadcaster::SetStaticTransform&) { return value(); }
00435 };
00436
00437 template<>
00438 struct DataType<static_transform_broadcaster::SetStaticTransform> {
00439 static const char* value()
00440 {
00441 return "static_transform_broadcaster/SetStaticTransform";
00442 }
00443
00444 static const char* value(const static_transform_broadcaster::SetStaticTransform&) { return value(); }
00445 };
00446
00447 template<class ContainerAllocator>
00448 struct MD5Sum<static_transform_broadcaster::SetStaticTransformRequest_<ContainerAllocator> > {
00449 static const char* value()
00450 {
00451 return "627ebb4e09bbb127f87308bbfdbaec08";
00452 }
00453
00454 static const char* value(const static_transform_broadcaster::SetStaticTransformRequest_<ContainerAllocator> &) { return value(); }
00455 };
00456
00457 template<class ContainerAllocator>
00458 struct DataType<static_transform_broadcaster::SetStaticTransformRequest_<ContainerAllocator> > {
00459 static const char* value()
00460 {
00461 return "static_transform_broadcaster/SetStaticTransform";
00462 }
00463
00464 static const char* value(const static_transform_broadcaster::SetStaticTransformRequest_<ContainerAllocator> &) { return value(); }
00465 };
00466
00467 template<class ContainerAllocator>
00468 struct MD5Sum<static_transform_broadcaster::SetStaticTransformResponse_<ContainerAllocator> > {
00469 static const char* value()
00470 {
00471 return "627ebb4e09bbb127f87308bbfdbaec08";
00472 }
00473
00474 static const char* value(const static_transform_broadcaster::SetStaticTransformResponse_<ContainerAllocator> &) { return value(); }
00475 };
00476
00477 template<class ContainerAllocator>
00478 struct DataType<static_transform_broadcaster::SetStaticTransformResponse_<ContainerAllocator> > {
00479 static const char* value()
00480 {
00481 return "static_transform_broadcaster/SetStaticTransform";
00482 }
00483
00484 static const char* value(const static_transform_broadcaster::SetStaticTransformResponse_<ContainerAllocator> &) { return value(); }
00485 };
00486
00487 }
00488 }
00489
00490 #endif // STATIC_TRANSFORM_BROADCASTER_SERVICE_SETSTATICTRANSFORM_H
00491