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