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