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