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