FindClusterBoundingBox.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-object_manipulation/doc_stacks/2014-01-02_11-30-37.444899/object_manipulation/object_manipulation_msgs/srv/FindClusterBoundingBox.srv */
00002 #ifndef OBJECT_MANIPULATION_MSGS_SERVICE_FINDCLUSTERBOUNDINGBOX_H
00003 #define OBJECT_MANIPULATION_MSGS_SERVICE_FINDCLUSTERBOUNDINGBOX_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/PointCloud.h"
00020 
00021 
00022 #include "geometry_msgs/PoseStamped.h"
00023 #include "geometry_msgs/Vector3.h"
00024 
00025 namespace object_manipulation_msgs
00026 {
00027 template <class ContainerAllocator>
00028 struct FindClusterBoundingBoxRequest_ {
00029   typedef FindClusterBoundingBoxRequest_<ContainerAllocator> Type;
00030 
00031   FindClusterBoundingBoxRequest_()
00032   : cluster()
00033   {
00034   }
00035 
00036   FindClusterBoundingBoxRequest_(const ContainerAllocator& _alloc)
00037   : cluster(_alloc)
00038   {
00039   }
00040 
00041   typedef  ::sensor_msgs::PointCloud_<ContainerAllocator>  _cluster_type;
00042    ::sensor_msgs::PointCloud_<ContainerAllocator>  cluster;
00043 
00044 
00045   typedef boost::shared_ptr< ::object_manipulation_msgs::FindClusterBoundingBoxRequest_<ContainerAllocator> > Ptr;
00046   typedef boost::shared_ptr< ::object_manipulation_msgs::FindClusterBoundingBoxRequest_<ContainerAllocator>  const> ConstPtr;
00047   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 }; // struct FindClusterBoundingBoxRequest
00049 typedef  ::object_manipulation_msgs::FindClusterBoundingBoxRequest_<std::allocator<void> > FindClusterBoundingBoxRequest;
00050 
00051 typedef boost::shared_ptr< ::object_manipulation_msgs::FindClusterBoundingBoxRequest> FindClusterBoundingBoxRequestPtr;
00052 typedef boost::shared_ptr< ::object_manipulation_msgs::FindClusterBoundingBoxRequest const> FindClusterBoundingBoxRequestConstPtr;
00053 
00054 
00055 template <class ContainerAllocator>
00056 struct FindClusterBoundingBoxResponse_ {
00057   typedef FindClusterBoundingBoxResponse_<ContainerAllocator> Type;
00058 
00059   FindClusterBoundingBoxResponse_()
00060   : pose()
00061   , box_dims()
00062   , error_code(0)
00063   {
00064   }
00065 
00066   FindClusterBoundingBoxResponse_(const ContainerAllocator& _alloc)
00067   : pose(_alloc)
00068   , box_dims(_alloc)
00069   , error_code(0)
00070   {
00071   }
00072 
00073   typedef  ::geometry_msgs::PoseStamped_<ContainerAllocator>  _pose_type;
00074    ::geometry_msgs::PoseStamped_<ContainerAllocator>  pose;
00075 
00076   typedef  ::geometry_msgs::Vector3_<ContainerAllocator>  _box_dims_type;
00077    ::geometry_msgs::Vector3_<ContainerAllocator>  box_dims;
00078 
00079   typedef int32_t _error_code_type;
00080   int32_t error_code;
00081 
00082   enum { SUCCESS = 0 };
00083   enum { TF_ERROR = 1 };
00084 
00085   typedef boost::shared_ptr< ::object_manipulation_msgs::FindClusterBoundingBoxResponse_<ContainerAllocator> > Ptr;
00086   typedef boost::shared_ptr< ::object_manipulation_msgs::FindClusterBoundingBoxResponse_<ContainerAllocator>  const> ConstPtr;
00087   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00088 }; // struct FindClusterBoundingBoxResponse
00089 typedef  ::object_manipulation_msgs::FindClusterBoundingBoxResponse_<std::allocator<void> > FindClusterBoundingBoxResponse;
00090 
00091 typedef boost::shared_ptr< ::object_manipulation_msgs::FindClusterBoundingBoxResponse> FindClusterBoundingBoxResponsePtr;
00092 typedef boost::shared_ptr< ::object_manipulation_msgs::FindClusterBoundingBoxResponse const> FindClusterBoundingBoxResponseConstPtr;
00093 
00094 struct FindClusterBoundingBox
00095 {
00096 
00097 typedef FindClusterBoundingBoxRequest Request;
00098 typedef FindClusterBoundingBoxResponse Response;
00099 Request request;
00100 Response response;
00101 
00102 typedef Request RequestType;
00103 typedef Response ResponseType;
00104 }; // struct FindClusterBoundingBox
00105 } // namespace object_manipulation_msgs
00106 
00107 namespace ros
00108 {
00109 namespace message_traits
00110 {
00111 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::FindClusterBoundingBoxRequest_<ContainerAllocator> > : public TrueType {};
00112 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::FindClusterBoundingBoxRequest_<ContainerAllocator>  const> : public TrueType {};
00113 template<class ContainerAllocator>
00114 struct MD5Sum< ::object_manipulation_msgs::FindClusterBoundingBoxRequest_<ContainerAllocator> > {
00115   static const char* value() 
00116   {
00117     return "c9b8a24dd6ede958d3710cdb47643a01";
00118   }
00119 
00120   static const char* value(const  ::object_manipulation_msgs::FindClusterBoundingBoxRequest_<ContainerAllocator> &) { return value(); } 
00121   static const uint64_t static_value1 = 0xc9b8a24dd6ede958ULL;
00122   static const uint64_t static_value2 = 0xd3710cdb47643a01ULL;
00123 };
00124 
00125 template<class ContainerAllocator>
00126 struct DataType< ::object_manipulation_msgs::FindClusterBoundingBoxRequest_<ContainerAllocator> > {
00127   static const char* value() 
00128   {
00129     return "object_manipulation_msgs/FindClusterBoundingBoxRequest";
00130   }
00131 
00132   static const char* value(const  ::object_manipulation_msgs::FindClusterBoundingBoxRequest_<ContainerAllocator> &) { return value(); } 
00133 };
00134 
00135 template<class ContainerAllocator>
00136 struct Definition< ::object_manipulation_msgs::FindClusterBoundingBoxRequest_<ContainerAllocator> > {
00137   static const char* value() 
00138   {
00139     return "sensor_msgs/PointCloud cluster\n\
00140 \n\
00141 \n\
00142 ================================================================================\n\
00143 MSG: sensor_msgs/PointCloud\n\
00144 # This message holds a collection of 3d points, plus optional additional\n\
00145 # information about each point.\n\
00146 \n\
00147 # Time of sensor data acquisition, coordinate frame ID.\n\
00148 Header header\n\
00149 \n\
00150 # Array of 3d points. Each Point32 should be interpreted as a 3d point\n\
00151 # in the frame given in the header.\n\
00152 geometry_msgs/Point32[] points\n\
00153 \n\
00154 # Each channel should have the same number of elements as points array,\n\
00155 # and the data in each channel should correspond 1:1 with each point.\n\
00156 # Channel names in common practice are listed in ChannelFloat32.msg.\n\
00157 ChannelFloat32[] channels\n\
00158 \n\
00159 ================================================================================\n\
00160 MSG: std_msgs/Header\n\
00161 # Standard metadata for higher-level stamped data types.\n\
00162 # This is generally used to communicate timestamped data \n\
00163 # in a particular coordinate frame.\n\
00164 # \n\
00165 # sequence ID: consecutively increasing ID \n\
00166 uint32 seq\n\
00167 #Two-integer timestamp that is expressed as:\n\
00168 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00169 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00170 # time-handling sugar is provided by the client library\n\
00171 time stamp\n\
00172 #Frame this data is associated with\n\
00173 # 0: no frame\n\
00174 # 1: global frame\n\
00175 string frame_id\n\
00176 \n\
00177 ================================================================================\n\
00178 MSG: geometry_msgs/Point32\n\
00179 # This contains the position of a point in free space(with 32 bits of precision).\n\
00180 # It is recommeded to use Point wherever possible instead of Point32.  \n\
00181 # \n\
00182 # This recommendation is to promote interoperability.  \n\
00183 #\n\
00184 # This message is designed to take up less space when sending\n\
00185 # lots of points at once, as in the case of a PointCloud.  \n\
00186 \n\
00187 float32 x\n\
00188 float32 y\n\
00189 float32 z\n\
00190 ================================================================================\n\
00191 MSG: sensor_msgs/ChannelFloat32\n\
00192 # This message is used by the PointCloud message to hold optional data\n\
00193 # associated with each point in the cloud. The length of the values\n\
00194 # array should be the same as the length of the points array in the\n\
00195 # PointCloud, and each value should be associated with the corresponding\n\
00196 # point.\n\
00197 \n\
00198 # Channel names in existing practice include:\n\
00199 #   \"u\", \"v\" - row and column (respectively) in the left stereo image.\n\
00200 #              This is opposite to usual conventions but remains for\n\
00201 #              historical reasons. The newer PointCloud2 message has no\n\
00202 #              such problem.\n\
00203 #   \"rgb\" - For point clouds produced by color stereo cameras. uint8\n\
00204 #           (R,G,B) values packed into the least significant 24 bits,\n\
00205 #           in order.\n\
00206 #   \"intensity\" - laser or pixel intensity.\n\
00207 #   \"distance\"\n\
00208 \n\
00209 # The channel name should give semantics of the channel (e.g.\n\
00210 # \"intensity\" instead of \"value\").\n\
00211 string name\n\
00212 \n\
00213 # The values array should be 1-1 with the elements of the associated\n\
00214 # PointCloud.\n\
00215 float32[] values\n\
00216 \n\
00217 ";
00218   }
00219 
00220   static const char* value(const  ::object_manipulation_msgs::FindClusterBoundingBoxRequest_<ContainerAllocator> &) { return value(); } 
00221 };
00222 
00223 } // namespace message_traits
00224 } // namespace ros
00225 
00226 
00227 namespace ros
00228 {
00229 namespace message_traits
00230 {
00231 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::FindClusterBoundingBoxResponse_<ContainerAllocator> > : public TrueType {};
00232 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::FindClusterBoundingBoxResponse_<ContainerAllocator>  const> : public TrueType {};
00233 template<class ContainerAllocator>
00234 struct MD5Sum< ::object_manipulation_msgs::FindClusterBoundingBoxResponse_<ContainerAllocator> > {
00235   static const char* value() 
00236   {
00237     return "981e2c8ffa160e77589dcf98a63a81cd";
00238   }
00239 
00240   static const char* value(const  ::object_manipulation_msgs::FindClusterBoundingBoxResponse_<ContainerAllocator> &) { return value(); } 
00241   static const uint64_t static_value1 = 0x981e2c8ffa160e77ULL;
00242   static const uint64_t static_value2 = 0x589dcf98a63a81cdULL;
00243 };
00244 
00245 template<class ContainerAllocator>
00246 struct DataType< ::object_manipulation_msgs::FindClusterBoundingBoxResponse_<ContainerAllocator> > {
00247   static const char* value() 
00248   {
00249     return "object_manipulation_msgs/FindClusterBoundingBoxResponse";
00250   }
00251 
00252   static const char* value(const  ::object_manipulation_msgs::FindClusterBoundingBoxResponse_<ContainerAllocator> &) { return value(); } 
00253 };
00254 
00255 template<class ContainerAllocator>
00256 struct Definition< ::object_manipulation_msgs::FindClusterBoundingBoxResponse_<ContainerAllocator> > {
00257   static const char* value() 
00258   {
00259     return "\n\
00260 \n\
00261 geometry_msgs/PoseStamped pose\n\
00262 \n\
00263 \n\
00264 geometry_msgs/Vector3 box_dims\n\
00265 \n\
00266 \n\
00267 int32 SUCCESS=0\n\
00268 int32 TF_ERROR=1\n\
00269 int32 error_code\n\
00270 \n\
00271 ================================================================================\n\
00272 MSG: geometry_msgs/PoseStamped\n\
00273 # A Pose with reference coordinate frame and timestamp\n\
00274 Header header\n\
00275 Pose pose\n\
00276 \n\
00277 ================================================================================\n\
00278 MSG: std_msgs/Header\n\
00279 # Standard metadata for higher-level stamped data types.\n\
00280 # This is generally used to communicate timestamped data \n\
00281 # in a particular coordinate frame.\n\
00282 # \n\
00283 # sequence ID: consecutively increasing ID \n\
00284 uint32 seq\n\
00285 #Two-integer timestamp that is expressed as:\n\
00286 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00287 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00288 # time-handling sugar is provided by the client library\n\
00289 time stamp\n\
00290 #Frame this data is associated with\n\
00291 # 0: no frame\n\
00292 # 1: global frame\n\
00293 string frame_id\n\
00294 \n\
00295 ================================================================================\n\
00296 MSG: geometry_msgs/Pose\n\
00297 # A representation of pose in free space, composed of postion and orientation. \n\
00298 Point position\n\
00299 Quaternion orientation\n\
00300 \n\
00301 ================================================================================\n\
00302 MSG: geometry_msgs/Point\n\
00303 # This contains the position of a point in free space\n\
00304 float64 x\n\
00305 float64 y\n\
00306 float64 z\n\
00307 \n\
00308 ================================================================================\n\
00309 MSG: geometry_msgs/Quaternion\n\
00310 # This represents an orientation in free space in quaternion form.\n\
00311 \n\
00312 float64 x\n\
00313 float64 y\n\
00314 float64 z\n\
00315 float64 w\n\
00316 \n\
00317 ================================================================================\n\
00318 MSG: geometry_msgs/Vector3\n\
00319 # This represents a vector in free space. \n\
00320 \n\
00321 float64 x\n\
00322 float64 y\n\
00323 float64 z\n\
00324 ";
00325   }
00326 
00327   static const char* value(const  ::object_manipulation_msgs::FindClusterBoundingBoxResponse_<ContainerAllocator> &) { return value(); } 
00328 };
00329 
00330 } // namespace message_traits
00331 } // namespace ros
00332 
00333 namespace ros
00334 {
00335 namespace serialization
00336 {
00337 
00338 template<class ContainerAllocator> struct Serializer< ::object_manipulation_msgs::FindClusterBoundingBoxRequest_<ContainerAllocator> >
00339 {
00340   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00341   {
00342     stream.next(m.cluster);
00343   }
00344 
00345   ROS_DECLARE_ALLINONE_SERIALIZER;
00346 }; // struct FindClusterBoundingBoxRequest_
00347 } // namespace serialization
00348 } // namespace ros
00349 
00350 
00351 namespace ros
00352 {
00353 namespace serialization
00354 {
00355 
00356 template<class ContainerAllocator> struct Serializer< ::object_manipulation_msgs::FindClusterBoundingBoxResponse_<ContainerAllocator> >
00357 {
00358   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00359   {
00360     stream.next(m.pose);
00361     stream.next(m.box_dims);
00362     stream.next(m.error_code);
00363   }
00364 
00365   ROS_DECLARE_ALLINONE_SERIALIZER;
00366 }; // struct FindClusterBoundingBoxResponse_
00367 } // namespace serialization
00368 } // namespace ros
00369 
00370 namespace ros
00371 {
00372 namespace service_traits
00373 {
00374 template<>
00375 struct MD5Sum<object_manipulation_msgs::FindClusterBoundingBox> {
00376   static const char* value() 
00377   {
00378     return "b3e1553121201f262f1cdaafb1409115";
00379   }
00380 
00381   static const char* value(const object_manipulation_msgs::FindClusterBoundingBox&) { return value(); } 
00382 };
00383 
00384 template<>
00385 struct DataType<object_manipulation_msgs::FindClusterBoundingBox> {
00386   static const char* value() 
00387   {
00388     return "object_manipulation_msgs/FindClusterBoundingBox";
00389   }
00390 
00391   static const char* value(const object_manipulation_msgs::FindClusterBoundingBox&) { return value(); } 
00392 };
00393 
00394 template<class ContainerAllocator>
00395 struct MD5Sum<object_manipulation_msgs::FindClusterBoundingBoxRequest_<ContainerAllocator> > {
00396   static const char* value() 
00397   {
00398     return "b3e1553121201f262f1cdaafb1409115";
00399   }
00400 
00401   static const char* value(const object_manipulation_msgs::FindClusterBoundingBoxRequest_<ContainerAllocator> &) { return value(); } 
00402 };
00403 
00404 template<class ContainerAllocator>
00405 struct DataType<object_manipulation_msgs::FindClusterBoundingBoxRequest_<ContainerAllocator> > {
00406   static const char* value() 
00407   {
00408     return "object_manipulation_msgs/FindClusterBoundingBox";
00409   }
00410 
00411   static const char* value(const object_manipulation_msgs::FindClusterBoundingBoxRequest_<ContainerAllocator> &) { return value(); } 
00412 };
00413 
00414 template<class ContainerAllocator>
00415 struct MD5Sum<object_manipulation_msgs::FindClusterBoundingBoxResponse_<ContainerAllocator> > {
00416   static const char* value() 
00417   {
00418     return "b3e1553121201f262f1cdaafb1409115";
00419   }
00420 
00421   static const char* value(const object_manipulation_msgs::FindClusterBoundingBoxResponse_<ContainerAllocator> &) { return value(); } 
00422 };
00423 
00424 template<class ContainerAllocator>
00425 struct DataType<object_manipulation_msgs::FindClusterBoundingBoxResponse_<ContainerAllocator> > {
00426   static const char* value() 
00427   {
00428     return "object_manipulation_msgs/FindClusterBoundingBox";
00429   }
00430 
00431   static const char* value(const object_manipulation_msgs::FindClusterBoundingBoxResponse_<ContainerAllocator> &) { return value(); } 
00432 };
00433 
00434 } // namespace service_traits
00435 } // namespace ros
00436 
00437 #endif // OBJECT_MANIPULATION_MSGS_SERVICE_FINDCLUSTERBOUNDINGBOX_H
00438 


object_manipulation_msgs
Author(s): Matei Ciocarlie
autogenerated on Thu Jan 2 2014 11:38:12