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