Go to the documentation of this file.00001
00002 #ifndef PR2_CLUTTER_HELPER_SERVICE_GETTRANSFORMSTAMPED_H
00003 #define PR2_CLUTTER_HELPER_SERVICE_GETTRANSFORMSTAMPED_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
00020
00021 #include "geometry_msgs/TransformStamped.h"
00022
00023 namespace pr2_clutter_helper
00024 {
00025 template <class ContainerAllocator>
00026 struct GetTransformStampedRequest_ {
00027 typedef GetTransformStampedRequest_<ContainerAllocator> Type;
00028
00029 GetTransformStampedRequest_()
00030 : topic_name()
00031 , msg_type()
00032 {
00033 }
00034
00035 GetTransformStampedRequest_(const ContainerAllocator& _alloc)
00036 : topic_name(_alloc)
00037 , msg_type(_alloc)
00038 {
00039 }
00040
00041 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _topic_name_type;
00042 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > topic_name;
00043
00044 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _msg_type_type;
00045 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > msg_type;
00046
00047
00048 typedef boost::shared_ptr< ::pr2_clutter_helper::GetTransformStampedRequest_<ContainerAllocator> > Ptr;
00049 typedef boost::shared_ptr< ::pr2_clutter_helper::GetTransformStampedRequest_<ContainerAllocator> const> ConstPtr;
00050 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00051 };
00052 typedef ::pr2_clutter_helper::GetTransformStampedRequest_<std::allocator<void> > GetTransformStampedRequest;
00053
00054 typedef boost::shared_ptr< ::pr2_clutter_helper::GetTransformStampedRequest> GetTransformStampedRequestPtr;
00055 typedef boost::shared_ptr< ::pr2_clutter_helper::GetTransformStampedRequest const> GetTransformStampedRequestConstPtr;
00056
00057
00058 template <class ContainerAllocator>
00059 struct GetTransformStampedResponse_ {
00060 typedef GetTransformStampedResponse_<ContainerAllocator> Type;
00061
00062 GetTransformStampedResponse_()
00063 : transform()
00064 {
00065 }
00066
00067 GetTransformStampedResponse_(const ContainerAllocator& _alloc)
00068 : transform(_alloc)
00069 {
00070 }
00071
00072 typedef ::geometry_msgs::TransformStamped_<ContainerAllocator> _transform_type;
00073 ::geometry_msgs::TransformStamped_<ContainerAllocator> transform;
00074
00075
00076 typedef boost::shared_ptr< ::pr2_clutter_helper::GetTransformStampedResponse_<ContainerAllocator> > Ptr;
00077 typedef boost::shared_ptr< ::pr2_clutter_helper::GetTransformStampedResponse_<ContainerAllocator> const> ConstPtr;
00078 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00079 };
00080 typedef ::pr2_clutter_helper::GetTransformStampedResponse_<std::allocator<void> > GetTransformStampedResponse;
00081
00082 typedef boost::shared_ptr< ::pr2_clutter_helper::GetTransformStampedResponse> GetTransformStampedResponsePtr;
00083 typedef boost::shared_ptr< ::pr2_clutter_helper::GetTransformStampedResponse const> GetTransformStampedResponseConstPtr;
00084
00085 struct GetTransformStamped
00086 {
00087
00088 typedef GetTransformStampedRequest Request;
00089 typedef GetTransformStampedResponse Response;
00090 Request request;
00091 Response response;
00092
00093 typedef Request RequestType;
00094 typedef Response ResponseType;
00095 };
00096 }
00097
00098 namespace ros
00099 {
00100 namespace message_traits
00101 {
00102 template<class ContainerAllocator> struct IsMessage< ::pr2_clutter_helper::GetTransformStampedRequest_<ContainerAllocator> > : public TrueType {};
00103 template<class ContainerAllocator> struct IsMessage< ::pr2_clutter_helper::GetTransformStampedRequest_<ContainerAllocator> const> : public TrueType {};
00104 template<class ContainerAllocator>
00105 struct MD5Sum< ::pr2_clutter_helper::GetTransformStampedRequest_<ContainerAllocator> > {
00106 static const char* value()
00107 {
00108 return "13abbc87c0c0b2fc9a6d87f74375a5d7";
00109 }
00110
00111 static const char* value(const ::pr2_clutter_helper::GetTransformStampedRequest_<ContainerAllocator> &) { return value(); }
00112 static const uint64_t static_value1 = 0x13abbc87c0c0b2fcULL;
00113 static const uint64_t static_value2 = 0x9a6d87f74375a5d7ULL;
00114 };
00115
00116 template<class ContainerAllocator>
00117 struct DataType< ::pr2_clutter_helper::GetTransformStampedRequest_<ContainerAllocator> > {
00118 static const char* value()
00119 {
00120 return "pr2_clutter_helper/GetTransformStampedRequest";
00121 }
00122
00123 static const char* value(const ::pr2_clutter_helper::GetTransformStampedRequest_<ContainerAllocator> &) { return value(); }
00124 };
00125
00126 template<class ContainerAllocator>
00127 struct Definition< ::pr2_clutter_helper::GetTransformStampedRequest_<ContainerAllocator> > {
00128 static const char* value()
00129 {
00130 return "string topic_name\n\
00131 string msg_type\n\
00132 \n\
00133 ";
00134 }
00135
00136 static const char* value(const ::pr2_clutter_helper::GetTransformStampedRequest_<ContainerAllocator> &) { return value(); }
00137 };
00138
00139 }
00140 }
00141
00142
00143 namespace ros
00144 {
00145 namespace message_traits
00146 {
00147 template<class ContainerAllocator> struct IsMessage< ::pr2_clutter_helper::GetTransformStampedResponse_<ContainerAllocator> > : public TrueType {};
00148 template<class ContainerAllocator> struct IsMessage< ::pr2_clutter_helper::GetTransformStampedResponse_<ContainerAllocator> const> : public TrueType {};
00149 template<class ContainerAllocator>
00150 struct MD5Sum< ::pr2_clutter_helper::GetTransformStampedResponse_<ContainerAllocator> > {
00151 static const char* value()
00152 {
00153 return "627ebb4e09bbb127f87308bbfdbaec08";
00154 }
00155
00156 static const char* value(const ::pr2_clutter_helper::GetTransformStampedResponse_<ContainerAllocator> &) { return value(); }
00157 static const uint64_t static_value1 = 0x627ebb4e09bbb127ULL;
00158 static const uint64_t static_value2 = 0xf87308bbfdbaec08ULL;
00159 };
00160
00161 template<class ContainerAllocator>
00162 struct DataType< ::pr2_clutter_helper::GetTransformStampedResponse_<ContainerAllocator> > {
00163 static const char* value()
00164 {
00165 return "pr2_clutter_helper/GetTransformStampedResponse";
00166 }
00167
00168 static const char* value(const ::pr2_clutter_helper::GetTransformStampedResponse_<ContainerAllocator> &) { return value(); }
00169 };
00170
00171 template<class ContainerAllocator>
00172 struct Definition< ::pr2_clutter_helper::GetTransformStampedResponse_<ContainerAllocator> > {
00173 static const char* value()
00174 {
00175 return "geometry_msgs/TransformStamped transform\n\
00176 \n\
00177 \n\
00178 ================================================================================\n\
00179 MSG: geometry_msgs/TransformStamped\n\
00180 # This expresses a transform from coordinate frame header.frame_id\n\
00181 # to the coordinate frame child_frame_id\n\
00182 #\n\
00183 # This message is mostly used by the \n\
00184 # <a href=\"http://www.ros.org/wiki/tf\">tf</a> package. \n\
00185 # See it's documentation for more information.\n\
00186 \n\
00187 Header header\n\
00188 string child_frame_id # the frame id of the child frame\n\
00189 Transform transform\n\
00190 \n\
00191 ================================================================================\n\
00192 MSG: std_msgs/Header\n\
00193 # Standard metadata for higher-level stamped data types.\n\
00194 # This is generally used to communicate timestamped data \n\
00195 # in a particular coordinate frame.\n\
00196 # \n\
00197 # sequence ID: consecutively increasing ID \n\
00198 uint32 seq\n\
00199 #Two-integer timestamp that is expressed as:\n\
00200 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00201 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00202 # time-handling sugar is provided by the client library\n\
00203 time stamp\n\
00204 #Frame this data is associated with\n\
00205 # 0: no frame\n\
00206 # 1: global frame\n\
00207 string frame_id\n\
00208 \n\
00209 ================================================================================\n\
00210 MSG: geometry_msgs/Transform\n\
00211 # This represents the transform between two coordinate frames in free space.\n\
00212 \n\
00213 Vector3 translation\n\
00214 Quaternion rotation\n\
00215 \n\
00216 ================================================================================\n\
00217 MSG: geometry_msgs/Vector3\n\
00218 # This represents a vector in free space. \n\
00219 \n\
00220 float64 x\n\
00221 float64 y\n\
00222 float64 z\n\
00223 ================================================================================\n\
00224 MSG: geometry_msgs/Quaternion\n\
00225 # This represents an orientation in free space in quaternion form.\n\
00226 \n\
00227 float64 x\n\
00228 float64 y\n\
00229 float64 z\n\
00230 float64 w\n\
00231 \n\
00232 ";
00233 }
00234
00235 static const char* value(const ::pr2_clutter_helper::GetTransformStampedResponse_<ContainerAllocator> &) { return value(); }
00236 };
00237
00238 }
00239 }
00240
00241 namespace ros
00242 {
00243 namespace serialization
00244 {
00245
00246 template<class ContainerAllocator> struct Serializer< ::pr2_clutter_helper::GetTransformStampedRequest_<ContainerAllocator> >
00247 {
00248 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00249 {
00250 stream.next(m.topic_name);
00251 stream.next(m.msg_type);
00252 }
00253
00254 ROS_DECLARE_ALLINONE_SERIALIZER;
00255 };
00256 }
00257 }
00258
00259
00260 namespace ros
00261 {
00262 namespace serialization
00263 {
00264
00265 template<class ContainerAllocator> struct Serializer< ::pr2_clutter_helper::GetTransformStampedResponse_<ContainerAllocator> >
00266 {
00267 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00268 {
00269 stream.next(m.transform);
00270 }
00271
00272 ROS_DECLARE_ALLINONE_SERIALIZER;
00273 };
00274 }
00275 }
00276
00277 namespace ros
00278 {
00279 namespace service_traits
00280 {
00281 template<>
00282 struct MD5Sum<pr2_clutter_helper::GetTransformStamped> {
00283 static const char* value()
00284 {
00285 return "751c09975a0a9df5fe9c912db584a8f0";
00286 }
00287
00288 static const char* value(const pr2_clutter_helper::GetTransformStamped&) { return value(); }
00289 };
00290
00291 template<>
00292 struct DataType<pr2_clutter_helper::GetTransformStamped> {
00293 static const char* value()
00294 {
00295 return "pr2_clutter_helper/GetTransformStamped";
00296 }
00297
00298 static const char* value(const pr2_clutter_helper::GetTransformStamped&) { return value(); }
00299 };
00300
00301 template<class ContainerAllocator>
00302 struct MD5Sum<pr2_clutter_helper::GetTransformStampedRequest_<ContainerAllocator> > {
00303 static const char* value()
00304 {
00305 return "751c09975a0a9df5fe9c912db584a8f0";
00306 }
00307
00308 static const char* value(const pr2_clutter_helper::GetTransformStampedRequest_<ContainerAllocator> &) { return value(); }
00309 };
00310
00311 template<class ContainerAllocator>
00312 struct DataType<pr2_clutter_helper::GetTransformStampedRequest_<ContainerAllocator> > {
00313 static const char* value()
00314 {
00315 return "pr2_clutter_helper/GetTransformStamped";
00316 }
00317
00318 static const char* value(const pr2_clutter_helper::GetTransformStampedRequest_<ContainerAllocator> &) { return value(); }
00319 };
00320
00321 template<class ContainerAllocator>
00322 struct MD5Sum<pr2_clutter_helper::GetTransformStampedResponse_<ContainerAllocator> > {
00323 static const char* value()
00324 {
00325 return "751c09975a0a9df5fe9c912db584a8f0";
00326 }
00327
00328 static const char* value(const pr2_clutter_helper::GetTransformStampedResponse_<ContainerAllocator> &) { return value(); }
00329 };
00330
00331 template<class ContainerAllocator>
00332 struct DataType<pr2_clutter_helper::GetTransformStampedResponse_<ContainerAllocator> > {
00333 static const char* value()
00334 {
00335 return "pr2_clutter_helper/GetTransformStamped";
00336 }
00337
00338 static const char* value(const pr2_clutter_helper::GetTransformStampedResponse_<ContainerAllocator> &) { return value(); }
00339 };
00340
00341 }
00342 }
00343
00344 #endif // PR2_CLUTTER_HELPER_SERVICE_GETTRANSFORMSTAMPED_H
00345