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