$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-pr2_plugs/doc_stacks/2013-03-01_17-07-16.857528/pr2_plugs/stereo_wall_detection/srv/DetectWall.srv */ 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 private: 00040 static const char* __s_getDataType_() { return "stereo_wall_detection/DetectWallRequest"; } 00041 public: 00042 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00043 00044 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00045 00046 private: 00047 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; } 00048 public: 00049 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00050 00051 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00052 00053 private: 00054 static const char* __s_getServerMD5Sum_() { return "a6870b3c0e483b78cb98aac96d566717"; } 00055 public: 00056 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00057 00058 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00059 00060 private: 00061 static const char* __s_getMessageDefinition_() { return "\n\ 00062 "; } 00063 public: 00064 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00065 00066 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00067 00068 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00069 { 00070 ros::serialization::OStream stream(write_ptr, 1000000000); 00071 return stream.getData(); 00072 } 00073 00074 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00075 { 00076 ros::serialization::IStream stream(read_ptr, 1000000000); 00077 return stream.getData(); 00078 } 00079 00080 ROS_DEPRECATED virtual uint32_t serializationLength() const 00081 { 00082 uint32_t size = 0; 00083 return size; 00084 } 00085 00086 typedef boost::shared_ptr< ::stereo_wall_detection::DetectWallRequest_<ContainerAllocator> > Ptr; 00087 typedef boost::shared_ptr< ::stereo_wall_detection::DetectWallRequest_<ContainerAllocator> const> ConstPtr; 00088 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00089 }; // struct DetectWallRequest 00090 typedef ::stereo_wall_detection::DetectWallRequest_<std::allocator<void> > DetectWallRequest; 00091 00092 typedef boost::shared_ptr< ::stereo_wall_detection::DetectWallRequest> DetectWallRequestPtr; 00093 typedef boost::shared_ptr< ::stereo_wall_detection::DetectWallRequest const> DetectWallRequestConstPtr; 00094 00095 00096 template <class ContainerAllocator> 00097 struct DetectWallResponse_ { 00098 typedef DetectWallResponse_<ContainerAllocator> Type; 00099 00100 DetectWallResponse_() 00101 : wall_point() 00102 , wall_norm() 00103 { 00104 } 00105 00106 DetectWallResponse_(const ContainerAllocator& _alloc) 00107 : wall_point(_alloc) 00108 , wall_norm(_alloc) 00109 { 00110 } 00111 00112 typedef ::geometry_msgs::PointStamped_<ContainerAllocator> _wall_point_type; 00113 ::geometry_msgs::PointStamped_<ContainerAllocator> wall_point; 00114 00115 typedef ::geometry_msgs::Vector3Stamped_<ContainerAllocator> _wall_norm_type; 00116 ::geometry_msgs::Vector3Stamped_<ContainerAllocator> wall_norm; 00117 00118 00119 private: 00120 static const char* __s_getDataType_() { return "stereo_wall_detection/DetectWallResponse"; } 00121 public: 00122 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00123 00124 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00125 00126 private: 00127 static const char* __s_getMD5Sum_() { return "a6870b3c0e483b78cb98aac96d566717"; } 00128 public: 00129 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00130 00131 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00132 00133 private: 00134 static const char* __s_getServerMD5Sum_() { return "a6870b3c0e483b78cb98aac96d566717"; } 00135 public: 00136 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00137 00138 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00139 00140 private: 00141 static const char* __s_getMessageDefinition_() { return "geometry_msgs/PointStamped wall_point\n\ 00142 geometry_msgs/Vector3Stamped wall_norm\n\ 00143 \n\ 00144 \n\ 00145 ================================================================================\n\ 00146 MSG: geometry_msgs/PointStamped\n\ 00147 # This represents a Point with reference coordinate frame and timestamp\n\ 00148 Header header\n\ 00149 Point point\n\ 00150 \n\ 00151 ================================================================================\n\ 00152 MSG: std_msgs/Header\n\ 00153 # Standard metadata for higher-level stamped data types.\n\ 00154 # This is generally used to communicate timestamped data \n\ 00155 # in a particular coordinate frame.\n\ 00156 # \n\ 00157 # sequence ID: consecutively increasing ID \n\ 00158 uint32 seq\n\ 00159 #Two-integer timestamp that is expressed as:\n\ 00160 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00161 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00162 # time-handling sugar is provided by the client library\n\ 00163 time stamp\n\ 00164 #Frame this data is associated with\n\ 00165 # 0: no frame\n\ 00166 # 1: global frame\n\ 00167 string frame_id\n\ 00168 \n\ 00169 ================================================================================\n\ 00170 MSG: geometry_msgs/Point\n\ 00171 # This contains the position of a point in free space\n\ 00172 float64 x\n\ 00173 float64 y\n\ 00174 float64 z\n\ 00175 \n\ 00176 ================================================================================\n\ 00177 MSG: geometry_msgs/Vector3Stamped\n\ 00178 # This represents a Vector3 with reference coordinate frame and timestamp\n\ 00179 Header header\n\ 00180 Vector3 vector\n\ 00181 \n\ 00182 ================================================================================\n\ 00183 MSG: geometry_msgs/Vector3\n\ 00184 # This represents a vector in free space. \n\ 00185 \n\ 00186 float64 x\n\ 00187 float64 y\n\ 00188 float64 z\n\ 00189 "; } 00190 public: 00191 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00192 00193 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00194 00195 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00196 { 00197 ros::serialization::OStream stream(write_ptr, 1000000000); 00198 ros::serialization::serialize(stream, wall_point); 00199 ros::serialization::serialize(stream, wall_norm); 00200 return stream.getData(); 00201 } 00202 00203 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00204 { 00205 ros::serialization::IStream stream(read_ptr, 1000000000); 00206 ros::serialization::deserialize(stream, wall_point); 00207 ros::serialization::deserialize(stream, wall_norm); 00208 return stream.getData(); 00209 } 00210 00211 ROS_DEPRECATED virtual uint32_t serializationLength() const 00212 { 00213 uint32_t size = 0; 00214 size += ros::serialization::serializationLength(wall_point); 00215 size += ros::serialization::serializationLength(wall_norm); 00216 return size; 00217 } 00218 00219 typedef boost::shared_ptr< ::stereo_wall_detection::DetectWallResponse_<ContainerAllocator> > Ptr; 00220 typedef boost::shared_ptr< ::stereo_wall_detection::DetectWallResponse_<ContainerAllocator> const> ConstPtr; 00221 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00222 }; // struct DetectWallResponse 00223 typedef ::stereo_wall_detection::DetectWallResponse_<std::allocator<void> > DetectWallResponse; 00224 00225 typedef boost::shared_ptr< ::stereo_wall_detection::DetectWallResponse> DetectWallResponsePtr; 00226 typedef boost::shared_ptr< ::stereo_wall_detection::DetectWallResponse const> DetectWallResponseConstPtr; 00227 00228 struct DetectWall 00229 { 00230 00231 typedef DetectWallRequest Request; 00232 typedef DetectWallResponse Response; 00233 Request request; 00234 Response response; 00235 00236 typedef Request RequestType; 00237 typedef Response ResponseType; 00238 }; // struct DetectWall 00239 } // namespace stereo_wall_detection 00240 00241 namespace ros 00242 { 00243 namespace message_traits 00244 { 00245 template<class ContainerAllocator> struct IsMessage< ::stereo_wall_detection::DetectWallRequest_<ContainerAllocator> > : public TrueType {}; 00246 template<class ContainerAllocator> struct IsMessage< ::stereo_wall_detection::DetectWallRequest_<ContainerAllocator> const> : public TrueType {}; 00247 template<class ContainerAllocator> 00248 struct MD5Sum< ::stereo_wall_detection::DetectWallRequest_<ContainerAllocator> > { 00249 static const char* value() 00250 { 00251 return "d41d8cd98f00b204e9800998ecf8427e"; 00252 } 00253 00254 static const char* value(const ::stereo_wall_detection::DetectWallRequest_<ContainerAllocator> &) { return value(); } 00255 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL; 00256 static const uint64_t static_value2 = 0xe9800998ecf8427eULL; 00257 }; 00258 00259 template<class ContainerAllocator> 00260 struct DataType< ::stereo_wall_detection::DetectWallRequest_<ContainerAllocator> > { 00261 static const char* value() 00262 { 00263 return "stereo_wall_detection/DetectWallRequest"; 00264 } 00265 00266 static const char* value(const ::stereo_wall_detection::DetectWallRequest_<ContainerAllocator> &) { return value(); } 00267 }; 00268 00269 template<class ContainerAllocator> 00270 struct Definition< ::stereo_wall_detection::DetectWallRequest_<ContainerAllocator> > { 00271 static const char* value() 00272 { 00273 return "\n\ 00274 "; 00275 } 00276 00277 static const char* value(const ::stereo_wall_detection::DetectWallRequest_<ContainerAllocator> &) { return value(); } 00278 }; 00279 00280 template<class ContainerAllocator> struct IsFixedSize< ::stereo_wall_detection::DetectWallRequest_<ContainerAllocator> > : public TrueType {}; 00281 } // namespace message_traits 00282 } // namespace ros 00283 00284 00285 namespace ros 00286 { 00287 namespace message_traits 00288 { 00289 template<class ContainerAllocator> struct IsMessage< ::stereo_wall_detection::DetectWallResponse_<ContainerAllocator> > : public TrueType {}; 00290 template<class ContainerAllocator> struct IsMessage< ::stereo_wall_detection::DetectWallResponse_<ContainerAllocator> const> : public TrueType {}; 00291 template<class ContainerAllocator> 00292 struct MD5Sum< ::stereo_wall_detection::DetectWallResponse_<ContainerAllocator> > { 00293 static const char* value() 00294 { 00295 return "a6870b3c0e483b78cb98aac96d566717"; 00296 } 00297 00298 static const char* value(const ::stereo_wall_detection::DetectWallResponse_<ContainerAllocator> &) { return value(); } 00299 static const uint64_t static_value1 = 0xa6870b3c0e483b78ULL; 00300 static const uint64_t static_value2 = 0xcb98aac96d566717ULL; 00301 }; 00302 00303 template<class ContainerAllocator> 00304 struct DataType< ::stereo_wall_detection::DetectWallResponse_<ContainerAllocator> > { 00305 static const char* value() 00306 { 00307 return "stereo_wall_detection/DetectWallResponse"; 00308 } 00309 00310 static const char* value(const ::stereo_wall_detection::DetectWallResponse_<ContainerAllocator> &) { return value(); } 00311 }; 00312 00313 template<class ContainerAllocator> 00314 struct Definition< ::stereo_wall_detection::DetectWallResponse_<ContainerAllocator> > { 00315 static const char* value() 00316 { 00317 return "geometry_msgs/PointStamped wall_point\n\ 00318 geometry_msgs/Vector3Stamped wall_norm\n\ 00319 \n\ 00320 \n\ 00321 ================================================================================\n\ 00322 MSG: geometry_msgs/PointStamped\n\ 00323 # This represents a Point with reference coordinate frame and timestamp\n\ 00324 Header header\n\ 00325 Point point\n\ 00326 \n\ 00327 ================================================================================\n\ 00328 MSG: std_msgs/Header\n\ 00329 # Standard metadata for higher-level stamped data types.\n\ 00330 # This is generally used to communicate timestamped data \n\ 00331 # in a particular coordinate frame.\n\ 00332 # \n\ 00333 # sequence ID: consecutively increasing ID \n\ 00334 uint32 seq\n\ 00335 #Two-integer timestamp that is expressed as:\n\ 00336 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00337 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00338 # time-handling sugar is provided by the client library\n\ 00339 time stamp\n\ 00340 #Frame this data is associated with\n\ 00341 # 0: no frame\n\ 00342 # 1: global frame\n\ 00343 string frame_id\n\ 00344 \n\ 00345 ================================================================================\n\ 00346 MSG: geometry_msgs/Point\n\ 00347 # This contains the position of a point in free space\n\ 00348 float64 x\n\ 00349 float64 y\n\ 00350 float64 z\n\ 00351 \n\ 00352 ================================================================================\n\ 00353 MSG: geometry_msgs/Vector3Stamped\n\ 00354 # This represents a Vector3 with reference coordinate frame and timestamp\n\ 00355 Header header\n\ 00356 Vector3 vector\n\ 00357 \n\ 00358 ================================================================================\n\ 00359 MSG: geometry_msgs/Vector3\n\ 00360 # This represents a vector in free space. \n\ 00361 \n\ 00362 float64 x\n\ 00363 float64 y\n\ 00364 float64 z\n\ 00365 "; 00366 } 00367 00368 static const char* value(const ::stereo_wall_detection::DetectWallResponse_<ContainerAllocator> &) { return value(); } 00369 }; 00370 00371 } // namespace message_traits 00372 } // namespace ros 00373 00374 namespace ros 00375 { 00376 namespace serialization 00377 { 00378 00379 template<class ContainerAllocator> struct Serializer< ::stereo_wall_detection::DetectWallRequest_<ContainerAllocator> > 00380 { 00381 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00382 { 00383 } 00384 00385 ROS_DECLARE_ALLINONE_SERIALIZER; 00386 }; // struct DetectWallRequest_ 00387 } // namespace serialization 00388 } // namespace ros 00389 00390 00391 namespace ros 00392 { 00393 namespace serialization 00394 { 00395 00396 template<class ContainerAllocator> struct Serializer< ::stereo_wall_detection::DetectWallResponse_<ContainerAllocator> > 00397 { 00398 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00399 { 00400 stream.next(m.wall_point); 00401 stream.next(m.wall_norm); 00402 } 00403 00404 ROS_DECLARE_ALLINONE_SERIALIZER; 00405 }; // struct DetectWallResponse_ 00406 } // namespace serialization 00407 } // namespace ros 00408 00409 namespace ros 00410 { 00411 namespace service_traits 00412 { 00413 template<> 00414 struct MD5Sum<stereo_wall_detection::DetectWall> { 00415 static const char* value() 00416 { 00417 return "a6870b3c0e483b78cb98aac96d566717"; 00418 } 00419 00420 static const char* value(const stereo_wall_detection::DetectWall&) { return value(); } 00421 }; 00422 00423 template<> 00424 struct DataType<stereo_wall_detection::DetectWall> { 00425 static const char* value() 00426 { 00427 return "stereo_wall_detection/DetectWall"; 00428 } 00429 00430 static const char* value(const stereo_wall_detection::DetectWall&) { return value(); } 00431 }; 00432 00433 template<class ContainerAllocator> 00434 struct MD5Sum<stereo_wall_detection::DetectWallRequest_<ContainerAllocator> > { 00435 static const char* value() 00436 { 00437 return "a6870b3c0e483b78cb98aac96d566717"; 00438 } 00439 00440 static const char* value(const stereo_wall_detection::DetectWallRequest_<ContainerAllocator> &) { return value(); } 00441 }; 00442 00443 template<class ContainerAllocator> 00444 struct DataType<stereo_wall_detection::DetectWallRequest_<ContainerAllocator> > { 00445 static const char* value() 00446 { 00447 return "stereo_wall_detection/DetectWall"; 00448 } 00449 00450 static const char* value(const stereo_wall_detection::DetectWallRequest_<ContainerAllocator> &) { return value(); } 00451 }; 00452 00453 template<class ContainerAllocator> 00454 struct MD5Sum<stereo_wall_detection::DetectWallResponse_<ContainerAllocator> > { 00455 static const char* value() 00456 { 00457 return "a6870b3c0e483b78cb98aac96d566717"; 00458 } 00459 00460 static const char* value(const stereo_wall_detection::DetectWallResponse_<ContainerAllocator> &) { return value(); } 00461 }; 00462 00463 template<class ContainerAllocator> 00464 struct DataType<stereo_wall_detection::DetectWallResponse_<ContainerAllocator> > { 00465 static const char* value() 00466 { 00467 return "stereo_wall_detection/DetectWall"; 00468 } 00469 00470 static const char* value(const stereo_wall_detection::DetectWallResponse_<ContainerAllocator> &) { return value(); } 00471 }; 00472 00473 } // namespace service_traits 00474 } // namespace ros 00475 00476 #endif // STEREO_WALL_DETECTION_SERVICE_DETECTWALL_H 00477