Go to the documentation of this file.00001
00002 #ifndef STEREO_WALL_DETECTION_SERVICE_DETECTWALL_H
00003 #define STEREO_WALL_DETECTION_SERVICE_DETECTWALL_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
00020
00021 #include "geometry_msgs/PointStamped.h"
00022 #include "geometry_msgs/Vector3Stamped.h"
00023
00024 namespace stereo_wall_detection
00025 {
00026 template <class ContainerAllocator>
00027 struct DetectWallRequest_ {
00028 typedef DetectWallRequest_<ContainerAllocator> Type;
00029
00030 DetectWallRequest_()
00031 {
00032 }
00033
00034 DetectWallRequest_(const ContainerAllocator& _alloc)
00035 {
00036 }
00037
00038
00039 typedef boost::shared_ptr< ::stereo_wall_detection::DetectWallRequest_<ContainerAllocator> > Ptr;
00040 typedef boost::shared_ptr< ::stereo_wall_detection::DetectWallRequest_<ContainerAllocator> const> ConstPtr;
00041 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 };
00043 typedef ::stereo_wall_detection::DetectWallRequest_<std::allocator<void> > DetectWallRequest;
00044
00045 typedef boost::shared_ptr< ::stereo_wall_detection::DetectWallRequest> DetectWallRequestPtr;
00046 typedef boost::shared_ptr< ::stereo_wall_detection::DetectWallRequest const> DetectWallRequestConstPtr;
00047
00048
00049
00050 template <class ContainerAllocator>
00051 struct DetectWallResponse_ {
00052 typedef DetectWallResponse_<ContainerAllocator> Type;
00053
00054 DetectWallResponse_()
00055 : wall_point()
00056 , wall_norm()
00057 {
00058 }
00059
00060 DetectWallResponse_(const ContainerAllocator& _alloc)
00061 : wall_point(_alloc)
00062 , wall_norm(_alloc)
00063 {
00064 }
00065
00066 typedef ::geometry_msgs::PointStamped_<ContainerAllocator> _wall_point_type;
00067 ::geometry_msgs::PointStamped_<ContainerAllocator> wall_point;
00068
00069 typedef ::geometry_msgs::Vector3Stamped_<ContainerAllocator> _wall_norm_type;
00070 ::geometry_msgs::Vector3Stamped_<ContainerAllocator> wall_norm;
00071
00072
00073 typedef boost::shared_ptr< ::stereo_wall_detection::DetectWallResponse_<ContainerAllocator> > Ptr;
00074 typedef boost::shared_ptr< ::stereo_wall_detection::DetectWallResponse_<ContainerAllocator> const> ConstPtr;
00075 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00076 };
00077 typedef ::stereo_wall_detection::DetectWallResponse_<std::allocator<void> > DetectWallResponse;
00078
00079 typedef boost::shared_ptr< ::stereo_wall_detection::DetectWallResponse> DetectWallResponsePtr;
00080 typedef boost::shared_ptr< ::stereo_wall_detection::DetectWallResponse const> DetectWallResponseConstPtr;
00081
00082
00083 struct DetectWall
00084 {
00085
00086 typedef DetectWallRequest Request;
00087 typedef DetectWallResponse 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< ::stereo_wall_detection::DetectWallRequest_<ContainerAllocator> > : public TrueType {};
00101 template<class ContainerAllocator> struct IsMessage< ::stereo_wall_detection::DetectWallRequest_<ContainerAllocator> const> : public TrueType {};
00102 template<class ContainerAllocator>
00103 struct MD5Sum< ::stereo_wall_detection::DetectWallRequest_<ContainerAllocator> > {
00104 static const char* value()
00105 {
00106 return "d41d8cd98f00b204e9800998ecf8427e";
00107 }
00108
00109 static const char* value(const ::stereo_wall_detection::DetectWallRequest_<ContainerAllocator> &) { return value(); }
00110 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00111 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00112 };
00113
00114 template<class ContainerAllocator>
00115 struct DataType< ::stereo_wall_detection::DetectWallRequest_<ContainerAllocator> > {
00116 static const char* value()
00117 {
00118 return "stereo_wall_detection/DetectWallRequest";
00119 }
00120
00121 static const char* value(const ::stereo_wall_detection::DetectWallRequest_<ContainerAllocator> &) { return value(); }
00122 };
00123
00124 template<class ContainerAllocator>
00125 struct Definition< ::stereo_wall_detection::DetectWallRequest_<ContainerAllocator> > {
00126 static const char* value()
00127 {
00128 return "\n\
00129 ";
00130 }
00131
00132 static const char* value(const ::stereo_wall_detection::DetectWallRequest_<ContainerAllocator> &) { return value(); }
00133 };
00134
00135 template<class ContainerAllocator> struct IsFixedSize< ::stereo_wall_detection::DetectWallRequest_<ContainerAllocator> > : public TrueType {};
00136 }
00137 }
00138
00139
00140 namespace ros
00141 {
00142 namespace message_traits
00143 {
00144 template<class ContainerAllocator> struct IsMessage< ::stereo_wall_detection::DetectWallResponse_<ContainerAllocator> > : public TrueType {};
00145 template<class ContainerAllocator> struct IsMessage< ::stereo_wall_detection::DetectWallResponse_<ContainerAllocator> const> : public TrueType {};
00146 template<class ContainerAllocator>
00147 struct MD5Sum< ::stereo_wall_detection::DetectWallResponse_<ContainerAllocator> > {
00148 static const char* value()
00149 {
00150 return "a6870b3c0e483b78cb98aac96d566717";
00151 }
00152
00153 static const char* value(const ::stereo_wall_detection::DetectWallResponse_<ContainerAllocator> &) { return value(); }
00154 static const uint64_t static_value1 = 0xa6870b3c0e483b78ULL;
00155 static const uint64_t static_value2 = 0xcb98aac96d566717ULL;
00156 };
00157
00158 template<class ContainerAllocator>
00159 struct DataType< ::stereo_wall_detection::DetectWallResponse_<ContainerAllocator> > {
00160 static const char* value()
00161 {
00162 return "stereo_wall_detection/DetectWallResponse";
00163 }
00164
00165 static const char* value(const ::stereo_wall_detection::DetectWallResponse_<ContainerAllocator> &) { return value(); }
00166 };
00167
00168 template<class ContainerAllocator>
00169 struct Definition< ::stereo_wall_detection::DetectWallResponse_<ContainerAllocator> > {
00170 static const char* value()
00171 {
00172 return "geometry_msgs/PointStamped wall_point\n\
00173 geometry_msgs/Vector3Stamped wall_norm\n\
00174 \n\
00175 \n\
00176 ================================================================================\n\
00177 MSG: geometry_msgs/PointStamped\n\
00178 # This represents a Point with reference coordinate frame and timestamp\n\
00179 Header header\n\
00180 Point point\n\
00181 \n\
00182 ================================================================================\n\
00183 MSG: std_msgs/Header\n\
00184 # Standard metadata for higher-level stamped data types.\n\
00185 # This is generally used to communicate timestamped data \n\
00186 # in a particular coordinate frame.\n\
00187 # \n\
00188 # sequence ID: consecutively increasing ID \n\
00189 uint32 seq\n\
00190 #Two-integer timestamp that is expressed as:\n\
00191 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00192 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00193 # time-handling sugar is provided by the client library\n\
00194 time stamp\n\
00195 #Frame this data is associated with\n\
00196 # 0: no frame\n\
00197 # 1: global frame\n\
00198 string frame_id\n\
00199 \n\
00200 ================================================================================\n\
00201 MSG: geometry_msgs/Point\n\
00202 # This contains the position of a point in free space\n\
00203 float64 x\n\
00204 float64 y\n\
00205 float64 z\n\
00206 \n\
00207 ================================================================================\n\
00208 MSG: geometry_msgs/Vector3Stamped\n\
00209 # This represents a Vector3 with reference coordinate frame and timestamp\n\
00210 Header header\n\
00211 Vector3 vector\n\
00212 \n\
00213 ================================================================================\n\
00214 MSG: geometry_msgs/Vector3\n\
00215 # This represents a vector in free space. \n\
00216 \n\
00217 float64 x\n\
00218 float64 y\n\
00219 float64 z\n\
00220 ";
00221 }
00222
00223 static const char* value(const ::stereo_wall_detection::DetectWallResponse_<ContainerAllocator> &) { return value(); }
00224 };
00225
00226 }
00227 }
00228
00229 namespace ros
00230 {
00231 namespace serialization
00232 {
00233
00234 template<class ContainerAllocator> struct Serializer< ::stereo_wall_detection::DetectWallRequest_<ContainerAllocator> >
00235 {
00236 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00237 {
00238 }
00239
00240 ROS_DECLARE_ALLINONE_SERIALIZER;
00241 };
00242 }
00243 }
00244
00245
00246 namespace ros
00247 {
00248 namespace serialization
00249 {
00250
00251 template<class ContainerAllocator> struct Serializer< ::stereo_wall_detection::DetectWallResponse_<ContainerAllocator> >
00252 {
00253 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00254 {
00255 stream.next(m.wall_point);
00256 stream.next(m.wall_norm);
00257 }
00258
00259 ROS_DECLARE_ALLINONE_SERIALIZER;
00260 };
00261 }
00262 }
00263
00264 namespace ros
00265 {
00266 namespace service_traits
00267 {
00268 template<>
00269 struct MD5Sum<stereo_wall_detection::DetectWall> {
00270 static const char* value()
00271 {
00272 return "a6870b3c0e483b78cb98aac96d566717";
00273 }
00274
00275 static const char* value(const stereo_wall_detection::DetectWall&) { return value(); }
00276 };
00277
00278 template<>
00279 struct DataType<stereo_wall_detection::DetectWall> {
00280 static const char* value()
00281 {
00282 return "stereo_wall_detection/DetectWall";
00283 }
00284
00285 static const char* value(const stereo_wall_detection::DetectWall&) { return value(); }
00286 };
00287
00288 template<class ContainerAllocator>
00289 struct MD5Sum<stereo_wall_detection::DetectWallRequest_<ContainerAllocator> > {
00290 static const char* value()
00291 {
00292 return "a6870b3c0e483b78cb98aac96d566717";
00293 }
00294
00295 static const char* value(const stereo_wall_detection::DetectWallRequest_<ContainerAllocator> &) { return value(); }
00296 };
00297
00298 template<class ContainerAllocator>
00299 struct DataType<stereo_wall_detection::DetectWallRequest_<ContainerAllocator> > {
00300 static const char* value()
00301 {
00302 return "stereo_wall_detection/DetectWall";
00303 }
00304
00305 static const char* value(const stereo_wall_detection::DetectWallRequest_<ContainerAllocator> &) { return value(); }
00306 };
00307
00308 template<class ContainerAllocator>
00309 struct MD5Sum<stereo_wall_detection::DetectWallResponse_<ContainerAllocator> > {
00310 static const char* value()
00311 {
00312 return "a6870b3c0e483b78cb98aac96d566717";
00313 }
00314
00315 static const char* value(const stereo_wall_detection::DetectWallResponse_<ContainerAllocator> &) { return value(); }
00316 };
00317
00318 template<class ContainerAllocator>
00319 struct DataType<stereo_wall_detection::DetectWallResponse_<ContainerAllocator> > {
00320 static const char* value()
00321 {
00322 return "stereo_wall_detection/DetectWall";
00323 }
00324
00325 static const char* value(const stereo_wall_detection::DetectWallResponse_<ContainerAllocator> &) { return value(); }
00326 };
00327
00328 }
00329 }
00330
00331 #endif // STEREO_WALL_DETECTION_SERVICE_DETECTWALL_H
00332