SymbolGroundingGraspBaseRegion.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-srs_public/doc_stacks/2014-10-06_07-45-36.510262/srs_public/srs_symbolic_grounding/srv/SymbolGroundingGraspBaseRegion.srv */
00002 #ifndef SRS_SYMBOLIC_GROUNDING_SERVICE_SYMBOLGROUNDINGGRASPBASEREGION_H
00003 #define SRS_SYMBOLIC_GROUNDING_SERVICE_SYMBOLGROUNDINGGRASPBASEREGION_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 "geometry_msgs/Pose.h"
00020 #include "srs_msgs/SRSSpatialInfo.h"
00021 #include "srs_msgs/SRSSpatialInfo.h"
00022 
00023 
00024 #include "geometry_msgs/Pose2D.h"
00025 
00026 namespace srs_symbolic_grounding
00027 {
00028 template <class ContainerAllocator>
00029 struct SymbolGroundingGraspBaseRegionRequest_ {
00030   typedef SymbolGroundingGraspBaseRegionRequest_<ContainerAllocator> Type;
00031 
00032   SymbolGroundingGraspBaseRegionRequest_()
00033   : target_obj_pose()
00034   , parent_obj_geometry()
00035   , furniture_geometry_list()
00036   {
00037   }
00038 
00039   SymbolGroundingGraspBaseRegionRequest_(const ContainerAllocator& _alloc)
00040   : target_obj_pose(_alloc)
00041   , parent_obj_geometry(_alloc)
00042   , furniture_geometry_list(_alloc)
00043   {
00044   }
00045 
00046   typedef  ::geometry_msgs::Pose_<ContainerAllocator>  _target_obj_pose_type;
00047    ::geometry_msgs::Pose_<ContainerAllocator>  target_obj_pose;
00048 
00049   typedef  ::srs_msgs::SRSSpatialInfo_<ContainerAllocator>  _parent_obj_geometry_type;
00050    ::srs_msgs::SRSSpatialInfo_<ContainerAllocator>  parent_obj_geometry;
00051 
00052   typedef std::vector< ::srs_msgs::SRSSpatialInfo_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_msgs::SRSSpatialInfo_<ContainerAllocator> >::other >  _furniture_geometry_list_type;
00053   std::vector< ::srs_msgs::SRSSpatialInfo_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_msgs::SRSSpatialInfo_<ContainerAllocator> >::other >  furniture_geometry_list;
00054 
00055 
00056   typedef boost::shared_ptr< ::srs_symbolic_grounding::SymbolGroundingGraspBaseRegionRequest_<ContainerAllocator> > Ptr;
00057   typedef boost::shared_ptr< ::srs_symbolic_grounding::SymbolGroundingGraspBaseRegionRequest_<ContainerAllocator>  const> ConstPtr;
00058   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00059 }; // struct SymbolGroundingGraspBaseRegionRequest
00060 typedef  ::srs_symbolic_grounding::SymbolGroundingGraspBaseRegionRequest_<std::allocator<void> > SymbolGroundingGraspBaseRegionRequest;
00061 
00062 typedef boost::shared_ptr< ::srs_symbolic_grounding::SymbolGroundingGraspBaseRegionRequest> SymbolGroundingGraspBaseRegionRequestPtr;
00063 typedef boost::shared_ptr< ::srs_symbolic_grounding::SymbolGroundingGraspBaseRegionRequest const> SymbolGroundingGraspBaseRegionRequestConstPtr;
00064 
00065 
00066 
00067 template <class ContainerAllocator>
00068 struct SymbolGroundingGraspBaseRegionResponse_ {
00069   typedef SymbolGroundingGraspBaseRegionResponse_<ContainerAllocator> Type;
00070 
00071   SymbolGroundingGraspBaseRegionResponse_()
00072   : obstacle_check(false)
00073   , reach(0.0)
00074   , grasp_base_pose()
00075   , R(0.0)
00076   {
00077   }
00078 
00079   SymbolGroundingGraspBaseRegionResponse_(const ContainerAllocator& _alloc)
00080   : obstacle_check(false)
00081   , reach(0.0)
00082   , grasp_base_pose(_alloc)
00083   , R(0.0)
00084   {
00085   }
00086 
00087   typedef uint8_t _obstacle_check_type;
00088   uint8_t obstacle_check;
00089 
00090   typedef float _reach_type;
00091   float reach;
00092 
00093   typedef  ::geometry_msgs::Pose2D_<ContainerAllocator>  _grasp_base_pose_type;
00094    ::geometry_msgs::Pose2D_<ContainerAllocator>  grasp_base_pose;
00095 
00096   typedef float _R_type;
00097   float R;
00098 
00099 
00100   typedef boost::shared_ptr< ::srs_symbolic_grounding::SymbolGroundingGraspBaseRegionResponse_<ContainerAllocator> > Ptr;
00101   typedef boost::shared_ptr< ::srs_symbolic_grounding::SymbolGroundingGraspBaseRegionResponse_<ContainerAllocator>  const> ConstPtr;
00102   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00103 }; // struct SymbolGroundingGraspBaseRegionResponse
00104 typedef  ::srs_symbolic_grounding::SymbolGroundingGraspBaseRegionResponse_<std::allocator<void> > SymbolGroundingGraspBaseRegionResponse;
00105 
00106 typedef boost::shared_ptr< ::srs_symbolic_grounding::SymbolGroundingGraspBaseRegionResponse> SymbolGroundingGraspBaseRegionResponsePtr;
00107 typedef boost::shared_ptr< ::srs_symbolic_grounding::SymbolGroundingGraspBaseRegionResponse const> SymbolGroundingGraspBaseRegionResponseConstPtr;
00108 
00109 
00110 struct SymbolGroundingGraspBaseRegion
00111 {
00112 
00113 typedef SymbolGroundingGraspBaseRegionRequest Request;
00114 typedef SymbolGroundingGraspBaseRegionResponse Response;
00115 Request request;
00116 Response response;
00117 
00118 typedef Request RequestType;
00119 typedef Response ResponseType;
00120 }; // struct SymbolGroundingGraspBaseRegion
00121 } // namespace srs_symbolic_grounding
00122 
00123 namespace ros
00124 {
00125 namespace message_traits
00126 {
00127 template<class ContainerAllocator> struct IsMessage< ::srs_symbolic_grounding::SymbolGroundingGraspBaseRegionRequest_<ContainerAllocator> > : public TrueType {};
00128 template<class ContainerAllocator> struct IsMessage< ::srs_symbolic_grounding::SymbolGroundingGraspBaseRegionRequest_<ContainerAllocator>  const> : public TrueType {};
00129 template<class ContainerAllocator>
00130 struct MD5Sum< ::srs_symbolic_grounding::SymbolGroundingGraspBaseRegionRequest_<ContainerAllocator> > {
00131   static const char* value() 
00132   {
00133     return "929217c873801a8d83a0ef0a0ff55374";
00134   }
00135 
00136   static const char* value(const  ::srs_symbolic_grounding::SymbolGroundingGraspBaseRegionRequest_<ContainerAllocator> &) { return value(); } 
00137   static const uint64_t static_value1 = 0x929217c873801a8dULL;
00138   static const uint64_t static_value2 = 0x83a0ef0a0ff55374ULL;
00139 };
00140 
00141 template<class ContainerAllocator>
00142 struct DataType< ::srs_symbolic_grounding::SymbolGroundingGraspBaseRegionRequest_<ContainerAllocator> > {
00143   static const char* value() 
00144   {
00145     return "srs_symbolic_grounding/SymbolGroundingGraspBaseRegionRequest";
00146   }
00147 
00148   static const char* value(const  ::srs_symbolic_grounding::SymbolGroundingGraspBaseRegionRequest_<ContainerAllocator> &) { return value(); } 
00149 };
00150 
00151 template<class ContainerAllocator>
00152 struct Definition< ::srs_symbolic_grounding::SymbolGroundingGraspBaseRegionRequest_<ContainerAllocator> > {
00153   static const char* value() 
00154   {
00155     return "geometry_msgs/Pose target_obj_pose\n\
00156 \n\
00157 \n\
00158 srs_msgs/SRSSpatialInfo parent_obj_geometry\n\
00159 srs_msgs/SRSSpatialInfo[] furniture_geometry_list\n\
00160 \n\
00161 ================================================================================\n\
00162 MSG: geometry_msgs/Pose\n\
00163 # A representation of pose in free space, composed of postion and orientation. \n\
00164 Point position\n\
00165 Quaternion orientation\n\
00166 \n\
00167 ================================================================================\n\
00168 MSG: geometry_msgs/Point\n\
00169 # This contains the position of a point in free space\n\
00170 float64 x\n\
00171 float64 y\n\
00172 float64 z\n\
00173 \n\
00174 ================================================================================\n\
00175 MSG: geometry_msgs/Quaternion\n\
00176 # This represents an orientation in free space in quaternion form.\n\
00177 \n\
00178 float64 x\n\
00179 float64 y\n\
00180 float64 z\n\
00181 float64 w\n\
00182 \n\
00183 ================================================================================\n\
00184 MSG: srs_msgs/SRSSpatialInfo\n\
00185 # Point point\n\
00186 # Orientation angles\n\
00187 float32 l\n\
00188 float32 w\n\
00189 float32 h\n\
00190 \n\
00191 geometry_msgs/Pose pose\n\
00192 \n\
00193 ";
00194   }
00195 
00196   static const char* value(const  ::srs_symbolic_grounding::SymbolGroundingGraspBaseRegionRequest_<ContainerAllocator> &) { return value(); } 
00197 };
00198 
00199 } // namespace message_traits
00200 } // namespace ros
00201 
00202 
00203 namespace ros
00204 {
00205 namespace message_traits
00206 {
00207 template<class ContainerAllocator> struct IsMessage< ::srs_symbolic_grounding::SymbolGroundingGraspBaseRegionResponse_<ContainerAllocator> > : public TrueType {};
00208 template<class ContainerAllocator> struct IsMessage< ::srs_symbolic_grounding::SymbolGroundingGraspBaseRegionResponse_<ContainerAllocator>  const> : public TrueType {};
00209 template<class ContainerAllocator>
00210 struct MD5Sum< ::srs_symbolic_grounding::SymbolGroundingGraspBaseRegionResponse_<ContainerAllocator> > {
00211   static const char* value() 
00212   {
00213     return "3fa00ea708fbc84242f9ea364e09f2c6";
00214   }
00215 
00216   static const char* value(const  ::srs_symbolic_grounding::SymbolGroundingGraspBaseRegionResponse_<ContainerAllocator> &) { return value(); } 
00217   static const uint64_t static_value1 = 0x3fa00ea708fbc842ULL;
00218   static const uint64_t static_value2 = 0x42f9ea364e09f2c6ULL;
00219 };
00220 
00221 template<class ContainerAllocator>
00222 struct DataType< ::srs_symbolic_grounding::SymbolGroundingGraspBaseRegionResponse_<ContainerAllocator> > {
00223   static const char* value() 
00224   {
00225     return "srs_symbolic_grounding/SymbolGroundingGraspBaseRegionResponse";
00226   }
00227 
00228   static const char* value(const  ::srs_symbolic_grounding::SymbolGroundingGraspBaseRegionResponse_<ContainerAllocator> &) { return value(); } 
00229 };
00230 
00231 template<class ContainerAllocator>
00232 struct Definition< ::srs_symbolic_grounding::SymbolGroundingGraspBaseRegionResponse_<ContainerAllocator> > {
00233   static const char* value() 
00234   {
00235     return "bool obstacle_check\n\
00236 float32 reach\n\
00237 geometry_msgs/Pose2D grasp_base_pose\n\
00238 float32 R\n\
00239 \n\
00240 \n\
00241 ================================================================================\n\
00242 MSG: geometry_msgs/Pose2D\n\
00243 # This expresses a position and orientation on a 2D manifold.\n\
00244 \n\
00245 float64 x\n\
00246 float64 y\n\
00247 float64 theta\n\
00248 ";
00249   }
00250 
00251   static const char* value(const  ::srs_symbolic_grounding::SymbolGroundingGraspBaseRegionResponse_<ContainerAllocator> &) { return value(); } 
00252 };
00253 
00254 template<class ContainerAllocator> struct IsFixedSize< ::srs_symbolic_grounding::SymbolGroundingGraspBaseRegionResponse_<ContainerAllocator> > : public TrueType {};
00255 } // namespace message_traits
00256 } // namespace ros
00257 
00258 namespace ros
00259 {
00260 namespace serialization
00261 {
00262 
00263 template<class ContainerAllocator> struct Serializer< ::srs_symbolic_grounding::SymbolGroundingGraspBaseRegionRequest_<ContainerAllocator> >
00264 {
00265   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00266   {
00267     stream.next(m.target_obj_pose);
00268     stream.next(m.parent_obj_geometry);
00269     stream.next(m.furniture_geometry_list);
00270   }
00271 
00272   ROS_DECLARE_ALLINONE_SERIALIZER;
00273 }; // struct SymbolGroundingGraspBaseRegionRequest_
00274 } // namespace serialization
00275 } // namespace ros
00276 
00277 
00278 namespace ros
00279 {
00280 namespace serialization
00281 {
00282 
00283 template<class ContainerAllocator> struct Serializer< ::srs_symbolic_grounding::SymbolGroundingGraspBaseRegionResponse_<ContainerAllocator> >
00284 {
00285   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00286   {
00287     stream.next(m.obstacle_check);
00288     stream.next(m.reach);
00289     stream.next(m.grasp_base_pose);
00290     stream.next(m.R);
00291   }
00292 
00293   ROS_DECLARE_ALLINONE_SERIALIZER;
00294 }; // struct SymbolGroundingGraspBaseRegionResponse_
00295 } // namespace serialization
00296 } // namespace ros
00297 
00298 namespace ros
00299 {
00300 namespace service_traits
00301 {
00302 template<>
00303 struct MD5Sum<srs_symbolic_grounding::SymbolGroundingGraspBaseRegion> {
00304   static const char* value() 
00305   {
00306     return "85656dac540bfd2cc20973338dc0825b";
00307   }
00308 
00309   static const char* value(const srs_symbolic_grounding::SymbolGroundingGraspBaseRegion&) { return value(); } 
00310 };
00311 
00312 template<>
00313 struct DataType<srs_symbolic_grounding::SymbolGroundingGraspBaseRegion> {
00314   static const char* value() 
00315   {
00316     return "srs_symbolic_grounding/SymbolGroundingGraspBaseRegion";
00317   }
00318 
00319   static const char* value(const srs_symbolic_grounding::SymbolGroundingGraspBaseRegion&) { return value(); } 
00320 };
00321 
00322 template<class ContainerAllocator>
00323 struct MD5Sum<srs_symbolic_grounding::SymbolGroundingGraspBaseRegionRequest_<ContainerAllocator> > {
00324   static const char* value() 
00325   {
00326     return "85656dac540bfd2cc20973338dc0825b";
00327   }
00328 
00329   static const char* value(const srs_symbolic_grounding::SymbolGroundingGraspBaseRegionRequest_<ContainerAllocator> &) { return value(); } 
00330 };
00331 
00332 template<class ContainerAllocator>
00333 struct DataType<srs_symbolic_grounding::SymbolGroundingGraspBaseRegionRequest_<ContainerAllocator> > {
00334   static const char* value() 
00335   {
00336     return "srs_symbolic_grounding/SymbolGroundingGraspBaseRegion";
00337   }
00338 
00339   static const char* value(const srs_symbolic_grounding::SymbolGroundingGraspBaseRegionRequest_<ContainerAllocator> &) { return value(); } 
00340 };
00341 
00342 template<class ContainerAllocator>
00343 struct MD5Sum<srs_symbolic_grounding::SymbolGroundingGraspBaseRegionResponse_<ContainerAllocator> > {
00344   static const char* value() 
00345   {
00346     return "85656dac540bfd2cc20973338dc0825b";
00347   }
00348 
00349   static const char* value(const srs_symbolic_grounding::SymbolGroundingGraspBaseRegionResponse_<ContainerAllocator> &) { return value(); } 
00350 };
00351 
00352 template<class ContainerAllocator>
00353 struct DataType<srs_symbolic_grounding::SymbolGroundingGraspBaseRegionResponse_<ContainerAllocator> > {
00354   static const char* value() 
00355   {
00356     return "srs_symbolic_grounding/SymbolGroundingGraspBaseRegion";
00357   }
00358 
00359   static const char* value(const srs_symbolic_grounding::SymbolGroundingGraspBaseRegionResponse_<ContainerAllocator> &) { return value(); } 
00360 };
00361 
00362 } // namespace service_traits
00363 } // namespace ros
00364 
00365 #endif // SRS_SYMBOLIC_GROUNDING_SERVICE_SYMBOLGROUNDINGGRASPBASEREGION_H
00366 


srs_symbolic_grounding
Author(s): Beisheng Liu
autogenerated on Mon Oct 6 2014 08:23:09