Go to the documentation of this file.00001
00002 #ifndef HRL_OBJECT_FETCHING_SERVICE_DETECTTABLE_H
00003 #define HRL_OBJECT_FETCHING_SERVICE_DETECTTABLE_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/PoseArray.h"
00022
00023 namespace hrl_object_fetching
00024 {
00025 template <class ContainerAllocator>
00026 struct DetectTableRequest_ {
00027 typedef DetectTableRequest_<ContainerAllocator> Type;
00028
00029 DetectTableRequest_()
00030 {
00031 }
00032
00033 DetectTableRequest_(const ContainerAllocator& _alloc)
00034 {
00035 }
00036
00037
00038 typedef boost::shared_ptr< ::hrl_object_fetching::DetectTableRequest_<ContainerAllocator> > Ptr;
00039 typedef boost::shared_ptr< ::hrl_object_fetching::DetectTableRequest_<ContainerAllocator> const> ConstPtr;
00040 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00041 };
00042 typedef ::hrl_object_fetching::DetectTableRequest_<std::allocator<void> > DetectTableRequest;
00043
00044 typedef boost::shared_ptr< ::hrl_object_fetching::DetectTableRequest> DetectTableRequestPtr;
00045 typedef boost::shared_ptr< ::hrl_object_fetching::DetectTableRequest const> DetectTableRequestConstPtr;
00046
00047
00048 template <class ContainerAllocator>
00049 struct DetectTableResponse_ {
00050 typedef DetectTableResponse_<ContainerAllocator> Type;
00051
00052 DetectTableResponse_()
00053 : grasp_points()
00054 {
00055 }
00056
00057 DetectTableResponse_(const ContainerAllocator& _alloc)
00058 : grasp_points(_alloc)
00059 {
00060 }
00061
00062 typedef ::geometry_msgs::PoseArray_<ContainerAllocator> _grasp_points_type;
00063 ::geometry_msgs::PoseArray_<ContainerAllocator> grasp_points;
00064
00065
00066 typedef boost::shared_ptr< ::hrl_object_fetching::DetectTableResponse_<ContainerAllocator> > Ptr;
00067 typedef boost::shared_ptr< ::hrl_object_fetching::DetectTableResponse_<ContainerAllocator> const> ConstPtr;
00068 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00069 };
00070 typedef ::hrl_object_fetching::DetectTableResponse_<std::allocator<void> > DetectTableResponse;
00071
00072 typedef boost::shared_ptr< ::hrl_object_fetching::DetectTableResponse> DetectTableResponsePtr;
00073 typedef boost::shared_ptr< ::hrl_object_fetching::DetectTableResponse const> DetectTableResponseConstPtr;
00074
00075 struct DetectTable
00076 {
00077
00078 typedef DetectTableRequest Request;
00079 typedef DetectTableResponse Response;
00080 Request request;
00081 Response response;
00082
00083 typedef Request RequestType;
00084 typedef Response ResponseType;
00085 };
00086 }
00087
00088 namespace ros
00089 {
00090 namespace message_traits
00091 {
00092 template<class ContainerAllocator> struct IsMessage< ::hrl_object_fetching::DetectTableRequest_<ContainerAllocator> > : public TrueType {};
00093 template<class ContainerAllocator> struct IsMessage< ::hrl_object_fetching::DetectTableRequest_<ContainerAllocator> const> : public TrueType {};
00094 template<class ContainerAllocator>
00095 struct MD5Sum< ::hrl_object_fetching::DetectTableRequest_<ContainerAllocator> > {
00096 static const char* value()
00097 {
00098 return "d41d8cd98f00b204e9800998ecf8427e";
00099 }
00100
00101 static const char* value(const ::hrl_object_fetching::DetectTableRequest_<ContainerAllocator> &) { return value(); }
00102 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00103 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00104 };
00105
00106 template<class ContainerAllocator>
00107 struct DataType< ::hrl_object_fetching::DetectTableRequest_<ContainerAllocator> > {
00108 static const char* value()
00109 {
00110 return "hrl_object_fetching/DetectTableRequest";
00111 }
00112
00113 static const char* value(const ::hrl_object_fetching::DetectTableRequest_<ContainerAllocator> &) { return value(); }
00114 };
00115
00116 template<class ContainerAllocator>
00117 struct Definition< ::hrl_object_fetching::DetectTableRequest_<ContainerAllocator> > {
00118 static const char* value()
00119 {
00120 return "\n\
00121 ";
00122 }
00123
00124 static const char* value(const ::hrl_object_fetching::DetectTableRequest_<ContainerAllocator> &) { return value(); }
00125 };
00126
00127 template<class ContainerAllocator> struct IsFixedSize< ::hrl_object_fetching::DetectTableRequest_<ContainerAllocator> > : public TrueType {};
00128 }
00129 }
00130
00131
00132 namespace ros
00133 {
00134 namespace message_traits
00135 {
00136 template<class ContainerAllocator> struct IsMessage< ::hrl_object_fetching::DetectTableResponse_<ContainerAllocator> > : public TrueType {};
00137 template<class ContainerAllocator> struct IsMessage< ::hrl_object_fetching::DetectTableResponse_<ContainerAllocator> const> : public TrueType {};
00138 template<class ContainerAllocator>
00139 struct MD5Sum< ::hrl_object_fetching::DetectTableResponse_<ContainerAllocator> > {
00140 static const char* value()
00141 {
00142 return "b3784c7803c355e4af5442a09c3b4db7";
00143 }
00144
00145 static const char* value(const ::hrl_object_fetching::DetectTableResponse_<ContainerAllocator> &) { return value(); }
00146 static const uint64_t static_value1 = 0xb3784c7803c355e4ULL;
00147 static const uint64_t static_value2 = 0xaf5442a09c3b4db7ULL;
00148 };
00149
00150 template<class ContainerAllocator>
00151 struct DataType< ::hrl_object_fetching::DetectTableResponse_<ContainerAllocator> > {
00152 static const char* value()
00153 {
00154 return "hrl_object_fetching/DetectTableResponse";
00155 }
00156
00157 static const char* value(const ::hrl_object_fetching::DetectTableResponse_<ContainerAllocator> &) { return value(); }
00158 };
00159
00160 template<class ContainerAllocator>
00161 struct Definition< ::hrl_object_fetching::DetectTableResponse_<ContainerAllocator> > {
00162 static const char* value()
00163 {
00164 return "geometry_msgs/PoseArray grasp_points\n\
00165 \n\
00166 \n\
00167 ================================================================================\n\
00168 MSG: geometry_msgs/PoseArray\n\
00169 # An array of poses with a header for global reference.\n\
00170 \n\
00171 Header header\n\
00172 \n\
00173 Pose[] poses\n\
00174 \n\
00175 ================================================================================\n\
00176 MSG: std_msgs/Header\n\
00177 # Standard metadata for higher-level stamped data types.\n\
00178 # This is generally used to communicate timestamped data \n\
00179 # in a particular coordinate frame.\n\
00180 # \n\
00181 # sequence ID: consecutively increasing ID \n\
00182 uint32 seq\n\
00183 #Two-integer timestamp that is expressed as:\n\
00184 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00185 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00186 # time-handling sugar is provided by the client library\n\
00187 time stamp\n\
00188 #Frame this data is associated with\n\
00189 # 0: no frame\n\
00190 # 1: global frame\n\
00191 string frame_id\n\
00192 \n\
00193 ================================================================================\n\
00194 MSG: geometry_msgs/Pose\n\
00195 # A representation of pose in free space, composed of postion and orientation. \n\
00196 Point position\n\
00197 Quaternion orientation\n\
00198 \n\
00199 ================================================================================\n\
00200 MSG: geometry_msgs/Point\n\
00201 # This contains the position of a point in free space\n\
00202 float64 x\n\
00203 float64 y\n\
00204 float64 z\n\
00205 \n\
00206 ================================================================================\n\
00207 MSG: geometry_msgs/Quaternion\n\
00208 # This represents an orientation in free space in quaternion form.\n\
00209 \n\
00210 float64 x\n\
00211 float64 y\n\
00212 float64 z\n\
00213 float64 w\n\
00214 \n\
00215 ";
00216 }
00217
00218 static const char* value(const ::hrl_object_fetching::DetectTableResponse_<ContainerAllocator> &) { return value(); }
00219 };
00220
00221 }
00222 }
00223
00224 namespace ros
00225 {
00226 namespace serialization
00227 {
00228
00229 template<class ContainerAllocator> struct Serializer< ::hrl_object_fetching::DetectTableRequest_<ContainerAllocator> >
00230 {
00231 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00232 {
00233 }
00234
00235 ROS_DECLARE_ALLINONE_SERIALIZER;
00236 };
00237 }
00238 }
00239
00240
00241 namespace ros
00242 {
00243 namespace serialization
00244 {
00245
00246 template<class ContainerAllocator> struct Serializer< ::hrl_object_fetching::DetectTableResponse_<ContainerAllocator> >
00247 {
00248 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00249 {
00250 stream.next(m.grasp_points);
00251 }
00252
00253 ROS_DECLARE_ALLINONE_SERIALIZER;
00254 };
00255 }
00256 }
00257
00258 namespace ros
00259 {
00260 namespace service_traits
00261 {
00262 template<>
00263 struct MD5Sum<hrl_object_fetching::DetectTable> {
00264 static const char* value()
00265 {
00266 return "b3784c7803c355e4af5442a09c3b4db7";
00267 }
00268
00269 static const char* value(const hrl_object_fetching::DetectTable&) { return value(); }
00270 };
00271
00272 template<>
00273 struct DataType<hrl_object_fetching::DetectTable> {
00274 static const char* value()
00275 {
00276 return "hrl_object_fetching/DetectTable";
00277 }
00278
00279 static const char* value(const hrl_object_fetching::DetectTable&) { return value(); }
00280 };
00281
00282 template<class ContainerAllocator>
00283 struct MD5Sum<hrl_object_fetching::DetectTableRequest_<ContainerAllocator> > {
00284 static const char* value()
00285 {
00286 return "b3784c7803c355e4af5442a09c3b4db7";
00287 }
00288
00289 static const char* value(const hrl_object_fetching::DetectTableRequest_<ContainerAllocator> &) { return value(); }
00290 };
00291
00292 template<class ContainerAllocator>
00293 struct DataType<hrl_object_fetching::DetectTableRequest_<ContainerAllocator> > {
00294 static const char* value()
00295 {
00296 return "hrl_object_fetching/DetectTable";
00297 }
00298
00299 static const char* value(const hrl_object_fetching::DetectTableRequest_<ContainerAllocator> &) { return value(); }
00300 };
00301
00302 template<class ContainerAllocator>
00303 struct MD5Sum<hrl_object_fetching::DetectTableResponse_<ContainerAllocator> > {
00304 static const char* value()
00305 {
00306 return "b3784c7803c355e4af5442a09c3b4db7";
00307 }
00308
00309 static const char* value(const hrl_object_fetching::DetectTableResponse_<ContainerAllocator> &) { return value(); }
00310 };
00311
00312 template<class ContainerAllocator>
00313 struct DataType<hrl_object_fetching::DetectTableResponse_<ContainerAllocator> > {
00314 static const char* value()
00315 {
00316 return "hrl_object_fetching/DetectTable";
00317 }
00318
00319 static const char* value(const hrl_object_fetching::DetectTableResponse_<ContainerAllocator> &) { return value(); }
00320 };
00321
00322 }
00323 }
00324
00325 #endif // HRL_OBJECT_FETCHING_SERVICE_DETECTTABLE_H
00326