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