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