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