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