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