Go to the documentation of this file.00001
00002 #ifndef TABLE_POSE_SERVICE_GETPOSE_H
00003 #define TABLE_POSE_SERVICE_GETPOSE_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 "sensor_msgs/PointCloud2.h"
00020
00021
00022 #include "geometry_msgs/PoseStamped.h"
00023
00024 namespace table_pose
00025 {
00026 template <class ContainerAllocator>
00027 struct GetPoseRequest_ {
00028 typedef GetPoseRequest_<ContainerAllocator> Type;
00029
00030 GetPoseRequest_()
00031 : data()
00032 {
00033 }
00034
00035 GetPoseRequest_(const ContainerAllocator& _alloc)
00036 : data(_alloc)
00037 {
00038 }
00039
00040 typedef ::sensor_msgs::PointCloud2_<ContainerAllocator> _data_type;
00041 ::sensor_msgs::PointCloud2_<ContainerAllocator> data;
00042
00043
00044 typedef boost::shared_ptr< ::table_pose::GetPoseRequest_<ContainerAllocator> > Ptr;
00045 typedef boost::shared_ptr< ::table_pose::GetPoseRequest_<ContainerAllocator> const> ConstPtr;
00046 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 };
00048 typedef ::table_pose::GetPoseRequest_<std::allocator<void> > GetPoseRequest;
00049
00050 typedef boost::shared_ptr< ::table_pose::GetPoseRequest> GetPoseRequestPtr;
00051 typedef boost::shared_ptr< ::table_pose::GetPoseRequest const> GetPoseRequestConstPtr;
00052
00053
00054
00055 template <class ContainerAllocator>
00056 struct GetPoseResponse_ {
00057 typedef GetPoseResponse_<ContainerAllocator> Type;
00058
00059 GetPoseResponse_()
00060 : table_pose()
00061 {
00062 }
00063
00064 GetPoseResponse_(const ContainerAllocator& _alloc)
00065 : table_pose(_alloc)
00066 {
00067 }
00068
00069 typedef ::geometry_msgs::PoseStamped_<ContainerAllocator> _table_pose_type;
00070 ::geometry_msgs::PoseStamped_<ContainerAllocator> table_pose;
00071
00072
00073 typedef boost::shared_ptr< ::table_pose::GetPoseResponse_<ContainerAllocator> > Ptr;
00074 typedef boost::shared_ptr< ::table_pose::GetPoseResponse_<ContainerAllocator> const> ConstPtr;
00075 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00076 };
00077 typedef ::table_pose::GetPoseResponse_<std::allocator<void> > GetPoseResponse;
00078
00079 typedef boost::shared_ptr< ::table_pose::GetPoseResponse> GetPoseResponsePtr;
00080 typedef boost::shared_ptr< ::table_pose::GetPoseResponse const> GetPoseResponseConstPtr;
00081
00082
00083 struct GetPose
00084 {
00085
00086 typedef GetPoseRequest Request;
00087 typedef GetPoseResponse Response;
00088 Request request;
00089 Response response;
00090
00091 typedef Request RequestType;
00092 typedef Response ResponseType;
00093 };
00094 }
00095
00096 namespace ros
00097 {
00098 namespace message_traits
00099 {
00100 template<class ContainerAllocator> struct IsMessage< ::table_pose::GetPoseRequest_<ContainerAllocator> > : public TrueType {};
00101 template<class ContainerAllocator> struct IsMessage< ::table_pose::GetPoseRequest_<ContainerAllocator> const> : public TrueType {};
00102 template<class ContainerAllocator>
00103 struct MD5Sum< ::table_pose::GetPoseRequest_<ContainerAllocator> > {
00104 static const char* value()
00105 {
00106 return "d5d036aeaa020e7f5e0ddd6aeae0e7d8";
00107 }
00108
00109 static const char* value(const ::table_pose::GetPoseRequest_<ContainerAllocator> &) { return value(); }
00110 static const uint64_t static_value1 = 0xd5d036aeaa020e7fULL;
00111 static const uint64_t static_value2 = 0x5e0ddd6aeae0e7d8ULL;
00112 };
00113
00114 template<class ContainerAllocator>
00115 struct DataType< ::table_pose::GetPoseRequest_<ContainerAllocator> > {
00116 static const char* value()
00117 {
00118 return "table_pose/GetPoseRequest";
00119 }
00120
00121 static const char* value(const ::table_pose::GetPoseRequest_<ContainerAllocator> &) { return value(); }
00122 };
00123
00124 template<class ContainerAllocator>
00125 struct Definition< ::table_pose::GetPoseRequest_<ContainerAllocator> > {
00126 static const char* value()
00127 {
00128 return "sensor_msgs/PointCloud2 data\n\
00129 \n\
00130 ================================================================================\n\
00131 MSG: sensor_msgs/PointCloud2\n\
00132 # This message holds a collection of N-dimensional points, which may\n\
00133 # contain additional information such as normals, intensity, etc. The\n\
00134 # point data is stored as a binary blob, its layout described by the\n\
00135 # contents of the \"fields\" array.\n\
00136 \n\
00137 # The point cloud data may be organized 2d (image-like) or 1d\n\
00138 # (unordered). Point clouds organized as 2d images may be produced by\n\
00139 # camera depth sensors such as stereo or time-of-flight.\n\
00140 \n\
00141 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\
00142 # points).\n\
00143 Header header\n\
00144 \n\
00145 # 2D structure of the point cloud. If the cloud is unordered, height is\n\
00146 # 1 and width is the length of the point cloud.\n\
00147 uint32 height\n\
00148 uint32 width\n\
00149 \n\
00150 # Describes the channels and their layout in the binary data blob.\n\
00151 PointField[] fields\n\
00152 \n\
00153 bool is_bigendian # Is this data bigendian?\n\
00154 uint32 point_step # Length of a point in bytes\n\
00155 uint32 row_step # Length of a row in bytes\n\
00156 uint8[] data # Actual point data, size is (row_step*height)\n\
00157 \n\
00158 bool is_dense # True if there are no invalid points\n\
00159 \n\
00160 ================================================================================\n\
00161 MSG: std_msgs/Header\n\
00162 # Standard metadata for higher-level stamped data types.\n\
00163 # This is generally used to communicate timestamped data \n\
00164 # in a particular coordinate frame.\n\
00165 # \n\
00166 # sequence ID: consecutively increasing ID \n\
00167 uint32 seq\n\
00168 #Two-integer timestamp that is expressed as:\n\
00169 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00170 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00171 # time-handling sugar is provided by the client library\n\
00172 time stamp\n\
00173 #Frame this data is associated with\n\
00174 # 0: no frame\n\
00175 # 1: global frame\n\
00176 string frame_id\n\
00177 \n\
00178 ================================================================================\n\
00179 MSG: sensor_msgs/PointField\n\
00180 # This message holds the description of one point entry in the\n\
00181 # PointCloud2 message format.\n\
00182 uint8 INT8 = 1\n\
00183 uint8 UINT8 = 2\n\
00184 uint8 INT16 = 3\n\
00185 uint8 UINT16 = 4\n\
00186 uint8 INT32 = 5\n\
00187 uint8 UINT32 = 6\n\
00188 uint8 FLOAT32 = 7\n\
00189 uint8 FLOAT64 = 8\n\
00190 \n\
00191 string name # Name of field\n\
00192 uint32 offset # Offset from start of point struct\n\
00193 uint8 datatype # Datatype enumeration, see above\n\
00194 uint32 count # How many elements in the field\n\
00195 \n\
00196 ";
00197 }
00198
00199 static const char* value(const ::table_pose::GetPoseRequest_<ContainerAllocator> &) { return value(); }
00200 };
00201
00202 }
00203 }
00204
00205
00206 namespace ros
00207 {
00208 namespace message_traits
00209 {
00210 template<class ContainerAllocator> struct IsMessage< ::table_pose::GetPoseResponse_<ContainerAllocator> > : public TrueType {};
00211 template<class ContainerAllocator> struct IsMessage< ::table_pose::GetPoseResponse_<ContainerAllocator> const> : public TrueType {};
00212 template<class ContainerAllocator>
00213 struct MD5Sum< ::table_pose::GetPoseResponse_<ContainerAllocator> > {
00214 static const char* value()
00215 {
00216 return "f78936c7b8a2846339c5342aea067b14";
00217 }
00218
00219 static const char* value(const ::table_pose::GetPoseResponse_<ContainerAllocator> &) { return value(); }
00220 static const uint64_t static_value1 = 0xf78936c7b8a28463ULL;
00221 static const uint64_t static_value2 = 0x39c5342aea067b14ULL;
00222 };
00223
00224 template<class ContainerAllocator>
00225 struct DataType< ::table_pose::GetPoseResponse_<ContainerAllocator> > {
00226 static const char* value()
00227 {
00228 return "table_pose/GetPoseResponse";
00229 }
00230
00231 static const char* value(const ::table_pose::GetPoseResponse_<ContainerAllocator> &) { return value(); }
00232 };
00233
00234 template<class ContainerAllocator>
00235 struct Definition< ::table_pose::GetPoseResponse_<ContainerAllocator> > {
00236 static const char* value()
00237 {
00238 return "geometry_msgs/PoseStamped table_pose\n\
00239 \n\
00240 \n\
00241 \n\
00242 ================================================================================\n\
00243 MSG: geometry_msgs/PoseStamped\n\
00244 # A Pose with reference coordinate frame and timestamp\n\
00245 Header header\n\
00246 Pose pose\n\
00247 \n\
00248 ================================================================================\n\
00249 MSG: std_msgs/Header\n\
00250 # Standard metadata for higher-level stamped data types.\n\
00251 # This is generally used to communicate timestamped data \n\
00252 # in a particular coordinate frame.\n\
00253 # \n\
00254 # sequence ID: consecutively increasing ID \n\
00255 uint32 seq\n\
00256 #Two-integer timestamp that is expressed as:\n\
00257 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00258 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00259 # time-handling sugar is provided by the client library\n\
00260 time stamp\n\
00261 #Frame this data is associated with\n\
00262 # 0: no frame\n\
00263 # 1: global frame\n\
00264 string frame_id\n\
00265 \n\
00266 ================================================================================\n\
00267 MSG: geometry_msgs/Pose\n\
00268 # A representation of pose in free space, composed of postion and orientation. \n\
00269 Point position\n\
00270 Quaternion orientation\n\
00271 \n\
00272 ================================================================================\n\
00273 MSG: geometry_msgs/Point\n\
00274 # This contains the position of a point in free space\n\
00275 float64 x\n\
00276 float64 y\n\
00277 float64 z\n\
00278 \n\
00279 ================================================================================\n\
00280 MSG: geometry_msgs/Quaternion\n\
00281 # This represents an orientation in free space in quaternion form.\n\
00282 \n\
00283 float64 x\n\
00284 float64 y\n\
00285 float64 z\n\
00286 float64 w\n\
00287 \n\
00288 ";
00289 }
00290
00291 static const char* value(const ::table_pose::GetPoseResponse_<ContainerAllocator> &) { return value(); }
00292 };
00293
00294 }
00295 }
00296
00297 namespace ros
00298 {
00299 namespace serialization
00300 {
00301
00302 template<class ContainerAllocator> struct Serializer< ::table_pose::GetPoseRequest_<ContainerAllocator> >
00303 {
00304 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00305 {
00306 stream.next(m.data);
00307 }
00308
00309 ROS_DECLARE_ALLINONE_SERIALIZER;
00310 };
00311 }
00312 }
00313
00314
00315 namespace ros
00316 {
00317 namespace serialization
00318 {
00319
00320 template<class ContainerAllocator> struct Serializer< ::table_pose::GetPoseResponse_<ContainerAllocator> >
00321 {
00322 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00323 {
00324 stream.next(m.table_pose);
00325 }
00326
00327 ROS_DECLARE_ALLINONE_SERIALIZER;
00328 };
00329 }
00330 }
00331
00332 namespace ros
00333 {
00334 namespace service_traits
00335 {
00336 template<>
00337 struct MD5Sum<table_pose::GetPose> {
00338 static const char* value()
00339 {
00340 return "81e9d3aaa4af67d8dbbdf94ddcea579a";
00341 }
00342
00343 static const char* value(const table_pose::GetPose&) { return value(); }
00344 };
00345
00346 template<>
00347 struct DataType<table_pose::GetPose> {
00348 static const char* value()
00349 {
00350 return "table_pose/GetPose";
00351 }
00352
00353 static const char* value(const table_pose::GetPose&) { return value(); }
00354 };
00355
00356 template<class ContainerAllocator>
00357 struct MD5Sum<table_pose::GetPoseRequest_<ContainerAllocator> > {
00358 static const char* value()
00359 {
00360 return "81e9d3aaa4af67d8dbbdf94ddcea579a";
00361 }
00362
00363 static const char* value(const table_pose::GetPoseRequest_<ContainerAllocator> &) { return value(); }
00364 };
00365
00366 template<class ContainerAllocator>
00367 struct DataType<table_pose::GetPoseRequest_<ContainerAllocator> > {
00368 static const char* value()
00369 {
00370 return "table_pose/GetPose";
00371 }
00372
00373 static const char* value(const table_pose::GetPoseRequest_<ContainerAllocator> &) { return value(); }
00374 };
00375
00376 template<class ContainerAllocator>
00377 struct MD5Sum<table_pose::GetPoseResponse_<ContainerAllocator> > {
00378 static const char* value()
00379 {
00380 return "81e9d3aaa4af67d8dbbdf94ddcea579a";
00381 }
00382
00383 static const char* value(const table_pose::GetPoseResponse_<ContainerAllocator> &) { return value(); }
00384 };
00385
00386 template<class ContainerAllocator>
00387 struct DataType<table_pose::GetPoseResponse_<ContainerAllocator> > {
00388 static const char* value()
00389 {
00390 return "table_pose/GetPose";
00391 }
00392
00393 static const char* value(const table_pose::GetPoseResponse_<ContainerAllocator> &) { return value(); }
00394 };
00395
00396 }
00397 }
00398
00399 #endif // TABLE_POSE_SERVICE_GETPOSE_H
00400