Go to the documentation of this file.00001
00002 #ifndef COB_SRVS_SERVICE_GETPOSESTAMPEDTRANSFORMED_H
00003 #define COB_SRVS_SERVICE_GETPOSESTAMPEDTRANSFORMED_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/PoseStamped.h"
00020 #include "geometry_msgs/PoseStamped.h"
00021 #include "geometry_msgs/Quaternion.h"
00022
00023
00024 #include "geometry_msgs/PoseStamped.h"
00025
00026 namespace cob_srvs
00027 {
00028 template <class ContainerAllocator>
00029 struct GetPoseStampedTransformedRequest_ {
00030 typedef GetPoseStampedTransformedRequest_<ContainerAllocator> Type;
00031
00032 GetPoseStampedTransformedRequest_()
00033 : target()
00034 , origin()
00035 , orientation_override()
00036 , root_name()
00037 , tip_name()
00038 {
00039 }
00040
00041 GetPoseStampedTransformedRequest_(const ContainerAllocator& _alloc)
00042 : target(_alloc)
00043 , origin(_alloc)
00044 , orientation_override(_alloc)
00045 , root_name(_alloc)
00046 , tip_name(_alloc)
00047 {
00048 }
00049
00050 typedef ::geometry_msgs::PoseStamped_<ContainerAllocator> _target_type;
00051 ::geometry_msgs::PoseStamped_<ContainerAllocator> target;
00052
00053 typedef ::geometry_msgs::PoseStamped_<ContainerAllocator> _origin_type;
00054 ::geometry_msgs::PoseStamped_<ContainerAllocator> origin;
00055
00056 typedef ::geometry_msgs::Quaternion_<ContainerAllocator> _orientation_override_type;
00057 ::geometry_msgs::Quaternion_<ContainerAllocator> orientation_override;
00058
00059 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _root_name_type;
00060 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > root_name;
00061
00062 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _tip_name_type;
00063 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > tip_name;
00064
00065
00066 typedef boost::shared_ptr< ::cob_srvs::GetPoseStampedTransformedRequest_<ContainerAllocator> > Ptr;
00067 typedef boost::shared_ptr< ::cob_srvs::GetPoseStampedTransformedRequest_<ContainerAllocator> const> ConstPtr;
00068 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00069 };
00070 typedef ::cob_srvs::GetPoseStampedTransformedRequest_<std::allocator<void> > GetPoseStampedTransformedRequest;
00071
00072 typedef boost::shared_ptr< ::cob_srvs::GetPoseStampedTransformedRequest> GetPoseStampedTransformedRequestPtr;
00073 typedef boost::shared_ptr< ::cob_srvs::GetPoseStampedTransformedRequest const> GetPoseStampedTransformedRequestConstPtr;
00074
00075
00076
00077 template <class ContainerAllocator>
00078 struct GetPoseStampedTransformedResponse_ {
00079 typedef GetPoseStampedTransformedResponse_<ContainerAllocator> Type;
00080
00081 GetPoseStampedTransformedResponse_()
00082 : success(false)
00083 , result()
00084 {
00085 }
00086
00087 GetPoseStampedTransformedResponse_(const ContainerAllocator& _alloc)
00088 : success(false)
00089 , result(_alloc)
00090 {
00091 }
00092
00093 typedef uint8_t _success_type;
00094 uint8_t success;
00095
00096 typedef ::geometry_msgs::PoseStamped_<ContainerAllocator> _result_type;
00097 ::geometry_msgs::PoseStamped_<ContainerAllocator> result;
00098
00099
00100 typedef boost::shared_ptr< ::cob_srvs::GetPoseStampedTransformedResponse_<ContainerAllocator> > Ptr;
00101 typedef boost::shared_ptr< ::cob_srvs::GetPoseStampedTransformedResponse_<ContainerAllocator> const> ConstPtr;
00102 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00103 };
00104 typedef ::cob_srvs::GetPoseStampedTransformedResponse_<std::allocator<void> > GetPoseStampedTransformedResponse;
00105
00106 typedef boost::shared_ptr< ::cob_srvs::GetPoseStampedTransformedResponse> GetPoseStampedTransformedResponsePtr;
00107 typedef boost::shared_ptr< ::cob_srvs::GetPoseStampedTransformedResponse const> GetPoseStampedTransformedResponseConstPtr;
00108
00109
00110 struct GetPoseStampedTransformed
00111 {
00112
00113 typedef GetPoseStampedTransformedRequest Request;
00114 typedef GetPoseStampedTransformedResponse Response;
00115 Request request;
00116 Response response;
00117
00118 typedef Request RequestType;
00119 typedef Response ResponseType;
00120 };
00121 }
00122
00123 namespace ros
00124 {
00125 namespace message_traits
00126 {
00127 template<class ContainerAllocator> struct IsMessage< ::cob_srvs::GetPoseStampedTransformedRequest_<ContainerAllocator> > : public TrueType {};
00128 template<class ContainerAllocator> struct IsMessage< ::cob_srvs::GetPoseStampedTransformedRequest_<ContainerAllocator> const> : public TrueType {};
00129 template<class ContainerAllocator>
00130 struct MD5Sum< ::cob_srvs::GetPoseStampedTransformedRequest_<ContainerAllocator> > {
00131 static const char* value()
00132 {
00133 return "7f6050054c7441aa5c8e1b131c78c448";
00134 }
00135
00136 static const char* value(const ::cob_srvs::GetPoseStampedTransformedRequest_<ContainerAllocator> &) { return value(); }
00137 static const uint64_t static_value1 = 0x7f6050054c7441aaULL;
00138 static const uint64_t static_value2 = 0x5c8e1b131c78c448ULL;
00139 };
00140
00141 template<class ContainerAllocator>
00142 struct DataType< ::cob_srvs::GetPoseStampedTransformedRequest_<ContainerAllocator> > {
00143 static const char* value()
00144 {
00145 return "cob_srvs/GetPoseStampedTransformedRequest";
00146 }
00147
00148 static const char* value(const ::cob_srvs::GetPoseStampedTransformedRequest_<ContainerAllocator> &) { return value(); }
00149 };
00150
00151 template<class ContainerAllocator>
00152 struct Definition< ::cob_srvs::GetPoseStampedTransformedRequest_<ContainerAllocator> > {
00153 static const char* value()
00154 {
00155 return "geometry_msgs/PoseStamped target\n\
00156 geometry_msgs/PoseStamped origin\n\
00157 geometry_msgs/Quaternion orientation_override\n\
00158 string root_name\n\
00159 string tip_name\n\
00160 \n\
00161 ================================================================================\n\
00162 MSG: geometry_msgs/PoseStamped\n\
00163 # A Pose with reference coordinate frame and timestamp\n\
00164 Header header\n\
00165 Pose pose\n\
00166 \n\
00167 ================================================================================\n\
00168 MSG: std_msgs/Header\n\
00169 # Standard metadata for higher-level stamped data types.\n\
00170 # This is generally used to communicate timestamped data \n\
00171 # in a particular coordinate frame.\n\
00172 # \n\
00173 # sequence ID: consecutively increasing ID \n\
00174 uint32 seq\n\
00175 #Two-integer timestamp that is expressed as:\n\
00176 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00177 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00178 # time-handling sugar is provided by the client library\n\
00179 time stamp\n\
00180 #Frame this data is associated with\n\
00181 # 0: no frame\n\
00182 # 1: global frame\n\
00183 string frame_id\n\
00184 \n\
00185 ================================================================================\n\
00186 MSG: geometry_msgs/Pose\n\
00187 # A representation of pose in free space, composed of postion and orientation. \n\
00188 Point position\n\
00189 Quaternion orientation\n\
00190 \n\
00191 ================================================================================\n\
00192 MSG: geometry_msgs/Point\n\
00193 # This contains the position of a point in free space\n\
00194 float64 x\n\
00195 float64 y\n\
00196 float64 z\n\
00197 \n\
00198 ================================================================================\n\
00199 MSG: geometry_msgs/Quaternion\n\
00200 # This represents an orientation in free space in quaternion form.\n\
00201 \n\
00202 float64 x\n\
00203 float64 y\n\
00204 float64 z\n\
00205 float64 w\n\
00206 \n\
00207 ";
00208 }
00209
00210 static const char* value(const ::cob_srvs::GetPoseStampedTransformedRequest_<ContainerAllocator> &) { return value(); }
00211 };
00212
00213 }
00214 }
00215
00216
00217 namespace ros
00218 {
00219 namespace message_traits
00220 {
00221 template<class ContainerAllocator> struct IsMessage< ::cob_srvs::GetPoseStampedTransformedResponse_<ContainerAllocator> > : public TrueType {};
00222 template<class ContainerAllocator> struct IsMessage< ::cob_srvs::GetPoseStampedTransformedResponse_<ContainerAllocator> const> : public TrueType {};
00223 template<class ContainerAllocator>
00224 struct MD5Sum< ::cob_srvs::GetPoseStampedTransformedResponse_<ContainerAllocator> > {
00225 static const char* value()
00226 {
00227 return "aa1ecfaaa2557395e49e336255c7a317";
00228 }
00229
00230 static const char* value(const ::cob_srvs::GetPoseStampedTransformedResponse_<ContainerAllocator> &) { return value(); }
00231 static const uint64_t static_value1 = 0xaa1ecfaaa2557395ULL;
00232 static const uint64_t static_value2 = 0xe49e336255c7a317ULL;
00233 };
00234
00235 template<class ContainerAllocator>
00236 struct DataType< ::cob_srvs::GetPoseStampedTransformedResponse_<ContainerAllocator> > {
00237 static const char* value()
00238 {
00239 return "cob_srvs/GetPoseStampedTransformedResponse";
00240 }
00241
00242 static const char* value(const ::cob_srvs::GetPoseStampedTransformedResponse_<ContainerAllocator> &) { return value(); }
00243 };
00244
00245 template<class ContainerAllocator>
00246 struct Definition< ::cob_srvs::GetPoseStampedTransformedResponse_<ContainerAllocator> > {
00247 static const char* value()
00248 {
00249 return "bool success\n\
00250 geometry_msgs/PoseStamped result\n\
00251 \n\
00252 \n\
00253 ================================================================================\n\
00254 MSG: geometry_msgs/PoseStamped\n\
00255 # A Pose with reference coordinate frame and timestamp\n\
00256 Header header\n\
00257 Pose pose\n\
00258 \n\
00259 ================================================================================\n\
00260 MSG: std_msgs/Header\n\
00261 # Standard metadata for higher-level stamped data types.\n\
00262 # This is generally used to communicate timestamped data \n\
00263 # in a particular coordinate frame.\n\
00264 # \n\
00265 # sequence ID: consecutively increasing ID \n\
00266 uint32 seq\n\
00267 #Two-integer timestamp that is expressed as:\n\
00268 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00269 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00270 # time-handling sugar is provided by the client library\n\
00271 time stamp\n\
00272 #Frame this data is associated with\n\
00273 # 0: no frame\n\
00274 # 1: global frame\n\
00275 string frame_id\n\
00276 \n\
00277 ================================================================================\n\
00278 MSG: geometry_msgs/Pose\n\
00279 # A representation of pose in free space, composed of postion and orientation. \n\
00280 Point position\n\
00281 Quaternion orientation\n\
00282 \n\
00283 ================================================================================\n\
00284 MSG: geometry_msgs/Point\n\
00285 # This contains the position of a point in free space\n\
00286 float64 x\n\
00287 float64 y\n\
00288 float64 z\n\
00289 \n\
00290 ================================================================================\n\
00291 MSG: geometry_msgs/Quaternion\n\
00292 # This represents an orientation in free space in quaternion form.\n\
00293 \n\
00294 float64 x\n\
00295 float64 y\n\
00296 float64 z\n\
00297 float64 w\n\
00298 \n\
00299 ";
00300 }
00301
00302 static const char* value(const ::cob_srvs::GetPoseStampedTransformedResponse_<ContainerAllocator> &) { return value(); }
00303 };
00304
00305 }
00306 }
00307
00308 namespace ros
00309 {
00310 namespace serialization
00311 {
00312
00313 template<class ContainerAllocator> struct Serializer< ::cob_srvs::GetPoseStampedTransformedRequest_<ContainerAllocator> >
00314 {
00315 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00316 {
00317 stream.next(m.target);
00318 stream.next(m.origin);
00319 stream.next(m.orientation_override);
00320 stream.next(m.root_name);
00321 stream.next(m.tip_name);
00322 }
00323
00324 ROS_DECLARE_ALLINONE_SERIALIZER;
00325 };
00326 }
00327 }
00328
00329
00330 namespace ros
00331 {
00332 namespace serialization
00333 {
00334
00335 template<class ContainerAllocator> struct Serializer< ::cob_srvs::GetPoseStampedTransformedResponse_<ContainerAllocator> >
00336 {
00337 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00338 {
00339 stream.next(m.success);
00340 stream.next(m.result);
00341 }
00342
00343 ROS_DECLARE_ALLINONE_SERIALIZER;
00344 };
00345 }
00346 }
00347
00348 namespace ros
00349 {
00350 namespace service_traits
00351 {
00352 template<>
00353 struct MD5Sum<cob_srvs::GetPoseStampedTransformed> {
00354 static const char* value()
00355 {
00356 return "ed0069a0a6ce5102fc39c3328eef052f";
00357 }
00358
00359 static const char* value(const cob_srvs::GetPoseStampedTransformed&) { return value(); }
00360 };
00361
00362 template<>
00363 struct DataType<cob_srvs::GetPoseStampedTransformed> {
00364 static const char* value()
00365 {
00366 return "cob_srvs/GetPoseStampedTransformed";
00367 }
00368
00369 static const char* value(const cob_srvs::GetPoseStampedTransformed&) { return value(); }
00370 };
00371
00372 template<class ContainerAllocator>
00373 struct MD5Sum<cob_srvs::GetPoseStampedTransformedRequest_<ContainerAllocator> > {
00374 static const char* value()
00375 {
00376 return "ed0069a0a6ce5102fc39c3328eef052f";
00377 }
00378
00379 static const char* value(const cob_srvs::GetPoseStampedTransformedRequest_<ContainerAllocator> &) { return value(); }
00380 };
00381
00382 template<class ContainerAllocator>
00383 struct DataType<cob_srvs::GetPoseStampedTransformedRequest_<ContainerAllocator> > {
00384 static const char* value()
00385 {
00386 return "cob_srvs/GetPoseStampedTransformed";
00387 }
00388
00389 static const char* value(const cob_srvs::GetPoseStampedTransformedRequest_<ContainerAllocator> &) { return value(); }
00390 };
00391
00392 template<class ContainerAllocator>
00393 struct MD5Sum<cob_srvs::GetPoseStampedTransformedResponse_<ContainerAllocator> > {
00394 static const char* value()
00395 {
00396 return "ed0069a0a6ce5102fc39c3328eef052f";
00397 }
00398
00399 static const char* value(const cob_srvs::GetPoseStampedTransformedResponse_<ContainerAllocator> &) { return value(); }
00400 };
00401
00402 template<class ContainerAllocator>
00403 struct DataType<cob_srvs::GetPoseStampedTransformedResponse_<ContainerAllocator> > {
00404 static const char* value()
00405 {
00406 return "cob_srvs/GetPoseStampedTransformed";
00407 }
00408
00409 static const char* value(const cob_srvs::GetPoseStampedTransformedResponse_<ContainerAllocator> &) { return value(); }
00410 };
00411
00412 }
00413 }
00414
00415 #endif // COB_SRVS_SERVICE_GETPOSESTAMPEDTRANSFORMED_H
00416