VerifyPercept.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-tu-darmstadt-ros-pkg/doc_stacks/2013-07-15_16-41-51.015503/hector_worldmodel/worldmodel_msgs/srv/VerifyPercept.srv */
00002 #ifndef WORLDMODEL_MSGS_SERVICE_VERIFYPERCEPT_H
00003 #define WORLDMODEL_MSGS_SERVICE_VERIFYPERCEPT_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 "worldmodel_msgs/PosePercept.h"
00020 
00021 
00022 
00023 namespace worldmodel_msgs
00024 {
00025 template <class ContainerAllocator>
00026 struct VerifyPerceptRequest_ {
00027   typedef VerifyPerceptRequest_<ContainerAllocator> Type;
00028 
00029   VerifyPerceptRequest_()
00030   : percept()
00031   {
00032   }
00033 
00034   VerifyPerceptRequest_(const ContainerAllocator& _alloc)
00035   : percept(_alloc)
00036   {
00037   }
00038 
00039   typedef  ::worldmodel_msgs::PosePercept_<ContainerAllocator>  _percept_type;
00040    ::worldmodel_msgs::PosePercept_<ContainerAllocator>  percept;
00041 
00042 
00043   typedef boost::shared_ptr< ::worldmodel_msgs::VerifyPerceptRequest_<ContainerAllocator> > Ptr;
00044   typedef boost::shared_ptr< ::worldmodel_msgs::VerifyPerceptRequest_<ContainerAllocator>  const> ConstPtr;
00045   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 }; // struct VerifyPerceptRequest
00047 typedef  ::worldmodel_msgs::VerifyPerceptRequest_<std::allocator<void> > VerifyPerceptRequest;
00048 
00049 typedef boost::shared_ptr< ::worldmodel_msgs::VerifyPerceptRequest> VerifyPerceptRequestPtr;
00050 typedef boost::shared_ptr< ::worldmodel_msgs::VerifyPerceptRequest const> VerifyPerceptRequestConstPtr;
00051 
00052 
00053 template <class ContainerAllocator>
00054 struct VerifyPerceptResponse_ {
00055   typedef VerifyPerceptResponse_<ContainerAllocator> Type;
00056 
00057   VerifyPerceptResponse_()
00058   : response(0)
00059   {
00060   }
00061 
00062   VerifyPerceptResponse_(const ContainerAllocator& _alloc)
00063   : response(0)
00064   {
00065   }
00066 
00067   typedef uint8_t _response_type;
00068   uint8_t response;
00069 
00070   enum { UNKNOWN = 0 };
00071   enum { DISCARD = 1 };
00072   enum { CONFIRM = 2 };
00073 
00074   typedef boost::shared_ptr< ::worldmodel_msgs::VerifyPerceptResponse_<ContainerAllocator> > Ptr;
00075   typedef boost::shared_ptr< ::worldmodel_msgs::VerifyPerceptResponse_<ContainerAllocator>  const> ConstPtr;
00076   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00077 }; // struct VerifyPerceptResponse
00078 typedef  ::worldmodel_msgs::VerifyPerceptResponse_<std::allocator<void> > VerifyPerceptResponse;
00079 
00080 typedef boost::shared_ptr< ::worldmodel_msgs::VerifyPerceptResponse> VerifyPerceptResponsePtr;
00081 typedef boost::shared_ptr< ::worldmodel_msgs::VerifyPerceptResponse const> VerifyPerceptResponseConstPtr;
00082 
00083 struct VerifyPercept
00084 {
00085 
00086 typedef VerifyPerceptRequest Request;
00087 typedef VerifyPerceptResponse Response;
00088 Request request;
00089 Response response;
00090 
00091 typedef Request RequestType;
00092 typedef Response ResponseType;
00093 }; // struct VerifyPercept
00094 } // namespace worldmodel_msgs
00095 
00096 namespace ros
00097 {
00098 namespace message_traits
00099 {
00100 template<class ContainerAllocator> struct IsMessage< ::worldmodel_msgs::VerifyPerceptRequest_<ContainerAllocator> > : public TrueType {};
00101 template<class ContainerAllocator> struct IsMessage< ::worldmodel_msgs::VerifyPerceptRequest_<ContainerAllocator>  const> : public TrueType {};
00102 template<class ContainerAllocator>
00103 struct MD5Sum< ::worldmodel_msgs::VerifyPerceptRequest_<ContainerAllocator> > {
00104   static const char* value() 
00105   {
00106     return "9bd63c0c584500367d789d059094e625";
00107   }
00108 
00109   static const char* value(const  ::worldmodel_msgs::VerifyPerceptRequest_<ContainerAllocator> &) { return value(); } 
00110   static const uint64_t static_value1 = 0x9bd63c0c58450036ULL;
00111   static const uint64_t static_value2 = 0x7d789d059094e625ULL;
00112 };
00113 
00114 template<class ContainerAllocator>
00115 struct DataType< ::worldmodel_msgs::VerifyPerceptRequest_<ContainerAllocator> > {
00116   static const char* value() 
00117   {
00118     return "worldmodel_msgs/VerifyPerceptRequest";
00119   }
00120 
00121   static const char* value(const  ::worldmodel_msgs::VerifyPerceptRequest_<ContainerAllocator> &) { return value(); } 
00122 };
00123 
00124 template<class ContainerAllocator>
00125 struct Definition< ::worldmodel_msgs::VerifyPerceptRequest_<ContainerAllocator> > {
00126   static const char* value() 
00127   {
00128     return "\n\
00129 \n\
00130 \n\
00131 PosePercept percept\n\
00132 \n\
00133 ================================================================================\n\
00134 MSG: worldmodel_msgs/PosePercept\n\
00135 # This message represents an observation of an object in a single image.\n\
00136 \n\
00137 # The header should equal the header of the corresponding image.\n\
00138 Header header\n\
00139 \n\
00140 # The estimated pose of the object with its covariance\n\
00141 geometry_msgs/PoseWithCovariance pose\n\
00142 \n\
00143 # Additional information about the percept\n\
00144 worldmodel_msgs/PerceptInfo info\n\
00145 \n\
00146 ================================================================================\n\
00147 MSG: std_msgs/Header\n\
00148 # Standard metadata for higher-level stamped data types.\n\
00149 # This is generally used to communicate timestamped data \n\
00150 # in a particular coordinate frame.\n\
00151 # \n\
00152 # sequence ID: consecutively increasing ID \n\
00153 uint32 seq\n\
00154 #Two-integer timestamp that is expressed as:\n\
00155 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00156 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00157 # time-handling sugar is provided by the client library\n\
00158 time stamp\n\
00159 #Frame this data is associated with\n\
00160 # 0: no frame\n\
00161 # 1: global frame\n\
00162 string frame_id\n\
00163 \n\
00164 ================================================================================\n\
00165 MSG: geometry_msgs/PoseWithCovariance\n\
00166 # This represents a pose in free space with uncertainty.\n\
00167 \n\
00168 Pose pose\n\
00169 \n\
00170 # Row-major representation of the 6x6 covariance matrix\n\
00171 # The orientation parameters use a fixed-axis representation.\n\
00172 # In order, the parameters are:\n\
00173 # (x, y, z, rotation about X axis, rotation about Y axis, rotation about Z axis)\n\
00174 float64[36] covariance\n\
00175 \n\
00176 ================================================================================\n\
00177 MSG: geometry_msgs/Pose\n\
00178 # A representation of pose in free space, composed of postion and orientation. \n\
00179 Point position\n\
00180 Quaternion orientation\n\
00181 \n\
00182 ================================================================================\n\
00183 MSG: geometry_msgs/Point\n\
00184 # This contains the position of a point in free space\n\
00185 float64 x\n\
00186 float64 y\n\
00187 float64 z\n\
00188 \n\
00189 ================================================================================\n\
00190 MSG: geometry_msgs/Quaternion\n\
00191 # This represents an orientation in free space in quaternion form.\n\
00192 \n\
00193 float64 x\n\
00194 float64 y\n\
00195 float64 z\n\
00196 float64 w\n\
00197 \n\
00198 ================================================================================\n\
00199 MSG: worldmodel_msgs/PerceptInfo\n\
00200 # This message contains information about the estimated class and object identity \n\
00201 \n\
00202 # A string identifying the object's class (all objects of a class look the same)\n\
00203 string class_id\n\
00204 \n\
00205 # The class association support of the observation\n\
00206 # The support is the log odd likelihood ratio given by log(p(y/observation y belongs to object of class class_id) / p(y/observation y is a false positive))\n\
00207 float32 class_support\n\
00208 \n\
00209 # A string identifying a specific object\n\
00210 string object_id\n\
00211 \n\
00212 # The object association support of the observation\n\
00213 # The support is the log odd likelihood ratio given by log(p(observation belongs to object object_id) / p(observation is false positive or belongs to another object))\n\
00214 float32 object_support\n\
00215 \n\
00216 # A string that contains the name or a description of the specific object\n\
00217 string name\n\
00218 \n\
00219 ";
00220   }
00221 
00222   static const char* value(const  ::worldmodel_msgs::VerifyPerceptRequest_<ContainerAllocator> &) { return value(); } 
00223 };
00224 
00225 } // namespace message_traits
00226 } // namespace ros
00227 
00228 
00229 namespace ros
00230 {
00231 namespace message_traits
00232 {
00233 template<class ContainerAllocator> struct IsMessage< ::worldmodel_msgs::VerifyPerceptResponse_<ContainerAllocator> > : public TrueType {};
00234 template<class ContainerAllocator> struct IsMessage< ::worldmodel_msgs::VerifyPerceptResponse_<ContainerAllocator>  const> : public TrueType {};
00235 template<class ContainerAllocator>
00236 struct MD5Sum< ::worldmodel_msgs::VerifyPerceptResponse_<ContainerAllocator> > {
00237   static const char* value() 
00238   {
00239     return "a4e2509e523147799a63deb6a40a0721";
00240   }
00241 
00242   static const char* value(const  ::worldmodel_msgs::VerifyPerceptResponse_<ContainerAllocator> &) { return value(); } 
00243   static const uint64_t static_value1 = 0xa4e2509e52314779ULL;
00244   static const uint64_t static_value2 = 0x9a63deb6a40a0721ULL;
00245 };
00246 
00247 template<class ContainerAllocator>
00248 struct DataType< ::worldmodel_msgs::VerifyPerceptResponse_<ContainerAllocator> > {
00249   static const char* value() 
00250   {
00251     return "worldmodel_msgs/VerifyPerceptResponse";
00252   }
00253 
00254   static const char* value(const  ::worldmodel_msgs::VerifyPerceptResponse_<ContainerAllocator> &) { return value(); } 
00255 };
00256 
00257 template<class ContainerAllocator>
00258 struct Definition< ::worldmodel_msgs::VerifyPerceptResponse_<ContainerAllocator> > {
00259   static const char* value() 
00260   {
00261     return "\n\
00262 uint8 response\n\
00263 uint8 UNKNOWN = 0\n\
00264 uint8 DISCARD = 1\n\
00265 uint8 CONFIRM = 2\n\
00266 \n\
00267 \n\
00268 ";
00269   }
00270 
00271   static const char* value(const  ::worldmodel_msgs::VerifyPerceptResponse_<ContainerAllocator> &) { return value(); } 
00272 };
00273 
00274 template<class ContainerAllocator> struct IsFixedSize< ::worldmodel_msgs::VerifyPerceptResponse_<ContainerAllocator> > : public TrueType {};
00275 } // namespace message_traits
00276 } // namespace ros
00277 
00278 namespace ros
00279 {
00280 namespace serialization
00281 {
00282 
00283 template<class ContainerAllocator> struct Serializer< ::worldmodel_msgs::VerifyPerceptRequest_<ContainerAllocator> >
00284 {
00285   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00286   {
00287     stream.next(m.percept);
00288   }
00289 
00290   ROS_DECLARE_ALLINONE_SERIALIZER;
00291 }; // struct VerifyPerceptRequest_
00292 } // namespace serialization
00293 } // namespace ros
00294 
00295 
00296 namespace ros
00297 {
00298 namespace serialization
00299 {
00300 
00301 template<class ContainerAllocator> struct Serializer< ::worldmodel_msgs::VerifyPerceptResponse_<ContainerAllocator> >
00302 {
00303   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00304   {
00305     stream.next(m.response);
00306   }
00307 
00308   ROS_DECLARE_ALLINONE_SERIALIZER;
00309 }; // struct VerifyPerceptResponse_
00310 } // namespace serialization
00311 } // namespace ros
00312 
00313 namespace ros
00314 {
00315 namespace service_traits
00316 {
00317 template<>
00318 struct MD5Sum<worldmodel_msgs::VerifyPercept> {
00319   static const char* value() 
00320   {
00321     return "4274b9c0812a5a8c107aa29835bb1b45";
00322   }
00323 
00324   static const char* value(const worldmodel_msgs::VerifyPercept&) { return value(); } 
00325 };
00326 
00327 template<>
00328 struct DataType<worldmodel_msgs::VerifyPercept> {
00329   static const char* value() 
00330   {
00331     return "worldmodel_msgs/VerifyPercept";
00332   }
00333 
00334   static const char* value(const worldmodel_msgs::VerifyPercept&) { return value(); } 
00335 };
00336 
00337 template<class ContainerAllocator>
00338 struct MD5Sum<worldmodel_msgs::VerifyPerceptRequest_<ContainerAllocator> > {
00339   static const char* value() 
00340   {
00341     return "4274b9c0812a5a8c107aa29835bb1b45";
00342   }
00343 
00344   static const char* value(const worldmodel_msgs::VerifyPerceptRequest_<ContainerAllocator> &) { return value(); } 
00345 };
00346 
00347 template<class ContainerAllocator>
00348 struct DataType<worldmodel_msgs::VerifyPerceptRequest_<ContainerAllocator> > {
00349   static const char* value() 
00350   {
00351     return "worldmodel_msgs/VerifyPercept";
00352   }
00353 
00354   static const char* value(const worldmodel_msgs::VerifyPerceptRequest_<ContainerAllocator> &) { return value(); } 
00355 };
00356 
00357 template<class ContainerAllocator>
00358 struct MD5Sum<worldmodel_msgs::VerifyPerceptResponse_<ContainerAllocator> > {
00359   static const char* value() 
00360   {
00361     return "4274b9c0812a5a8c107aa29835bb1b45";
00362   }
00363 
00364   static const char* value(const worldmodel_msgs::VerifyPerceptResponse_<ContainerAllocator> &) { return value(); } 
00365 };
00366 
00367 template<class ContainerAllocator>
00368 struct DataType<worldmodel_msgs::VerifyPerceptResponse_<ContainerAllocator> > {
00369   static const char* value() 
00370   {
00371     return "worldmodel_msgs/VerifyPercept";
00372   }
00373 
00374   static const char* value(const worldmodel_msgs::VerifyPerceptResponse_<ContainerAllocator> &) { return value(); } 
00375 };
00376 
00377 } // namespace service_traits
00378 } // namespace ros
00379 
00380 #endif // WORLDMODEL_MSGS_SERVICE_VERIFYPERCEPT_H
00381 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends


worldmodel_msgs
Author(s): Johannes Meyer
autogenerated on Mon Jul 15 2013 16:50:40