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 template <class ContainerAllocator>
00054 struct VerifyObjectResponse_ {
00055 typedef VerifyObjectResponse_<ContainerAllocator> Type;
00056
00057 VerifyObjectResponse_()
00058 : response(0)
00059 {
00060 }
00061
00062 VerifyObjectResponse_(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::VerifyObjectResponse_<ContainerAllocator> > Ptr;
00075 typedef boost::shared_ptr< ::worldmodel_msgs::VerifyObjectResponse_<ContainerAllocator> const> ConstPtr;
00076 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00077 };
00078 typedef ::worldmodel_msgs::VerifyObjectResponse_<std::allocator<void> > VerifyObjectResponse;
00079
00080 typedef boost::shared_ptr< ::worldmodel_msgs::VerifyObjectResponse> VerifyObjectResponsePtr;
00081 typedef boost::shared_ptr< ::worldmodel_msgs::VerifyObjectResponse const> VerifyObjectResponseConstPtr;
00082
00083 struct VerifyObject
00084 {
00085
00086 typedef VerifyObjectRequest Request;
00087 typedef VerifyObjectResponse 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< ::worldmodel_msgs::VerifyObjectRequest_<ContainerAllocator> > : public TrueType {};
00101 template<class ContainerAllocator> struct IsMessage< ::worldmodel_msgs::VerifyObjectRequest_<ContainerAllocator> const> : public TrueType {};
00102 template<class ContainerAllocator>
00103 struct MD5Sum< ::worldmodel_msgs::VerifyObjectRequest_<ContainerAllocator> > {
00104 static const char* value()
00105 {
00106 return "45a6d744054ce4dbd66f71ccfdc20273";
00107 }
00108
00109 static const char* value(const ::worldmodel_msgs::VerifyObjectRequest_<ContainerAllocator> &) { return value(); }
00110 static const uint64_t static_value1 = 0x45a6d744054ce4dbULL;
00111 static const uint64_t static_value2 = 0xd66f71ccfdc20273ULL;
00112 };
00113
00114 template<class ContainerAllocator>
00115 struct DataType< ::worldmodel_msgs::VerifyObjectRequest_<ContainerAllocator> > {
00116 static const char* value()
00117 {
00118 return "worldmodel_msgs/VerifyObjectRequest";
00119 }
00120
00121 static const char* value(const ::worldmodel_msgs::VerifyObjectRequest_<ContainerAllocator> &) { return value(); }
00122 };
00123
00124 template<class ContainerAllocator>
00125 struct Definition< ::worldmodel_msgs::VerifyObjectRequest_<ContainerAllocator> > {
00126 static const char* value()
00127 {
00128 return "\n\
00129 \n\
00130 \n\
00131 Object object\n\
00132 \n\
00133 ================================================================================\n\
00134 MSG: worldmodel_msgs/Object\n\
00135 # This message represents an estimate of an object's pose and identity.\n\
00136 \n\
00137 # The header.\n\
00138 # stamp: Timestamp of last update.\n\
00139 # frame_id: Coordinate frame, in which the pose is given\n\
00140 Header header\n\
00141 \n\
00142 # The pose\n\
00143 geometry_msgs/PoseWithCovariance pose\n\
00144 \n\
00145 # Further information about the object\n\
00146 ObjectInfo info\n\
00147 \n\
00148 # The tracked state of the object\n\
00149 ObjectState state\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/PoseWithCovariance\n\
00171 # This represents a pose in free space with uncertainty.\n\
00172 \n\
00173 Pose pose\n\
00174 \n\
00175 # Row-major representation of the 6x6 covariance matrix\n\
00176 # The orientation parameters use a fixed-axis representation.\n\
00177 # In order, the parameters are:\n\
00178 # (x, y, z, rotation about X axis, rotation about Y axis, rotation about Z axis)\n\
00179 float64[36] covariance\n\
00180 \n\
00181 ================================================================================\n\
00182 MSG: geometry_msgs/Pose\n\
00183 # A representation of pose in free space, composed of postion and orientation. \n\
00184 Point position\n\
00185 Quaternion orientation\n\
00186 \n\
00187 ================================================================================\n\
00188 MSG: geometry_msgs/Point\n\
00189 # This contains the position of a point in free space\n\
00190 float64 x\n\
00191 float64 y\n\
00192 float64 z\n\
00193 \n\
00194 ================================================================================\n\
00195 MSG: geometry_msgs/Quaternion\n\
00196 # This represents an orientation in free space in quaternion form.\n\
00197 \n\
00198 float64 x\n\
00199 float64 y\n\
00200 float64 z\n\
00201 float64 w\n\
00202 \n\
00203 ================================================================================\n\
00204 MSG: worldmodel_msgs/ObjectInfo\n\
00205 # This message contains information about the estimated class affiliation, object id and corresponding support\n\
00206 \n\
00207 # A string identifying the object's class (all objects of a class look the same)\n\
00208 string class_id\n\
00209 \n\
00210 # A string identifying the specific object\n\
00211 string object_id\n\
00212 \n\
00213 # A string that contains the name or a description of the specific object\n\
00214 string name\n\
00215 \n\
00216 # The support (degree of belief) of the object's presence given as log odd ratio\n\
00217 float32 support\n\
00218 \n\
00219 \n\
00220 ================================================================================\n\
00221 MSG: worldmodel_msgs/ObjectState\n\
00222 # The state of an object estimate used to track\n\
00223 # states smaller than 0 disable all updates\n\
00224 \n\
00225 # Predefined states. Use states smaller than 0 or bigger than 63 for user defined states.\n\
00226 int8 UNKNOWN = 0\n\
00227 int8 PENDING = 1\n\
00228 int8 ACTIVE = 2\n\
00229 int8 INACTIVE = 3\n\
00230 int8 CONFIRMED = -1\n\
00231 int8 DISCARDED = -2\n\
00232 int8 APPROACHING = -3\n\
00233 \n\
00234 int8 state\n\
00235 \n\
00236 ";
00237 }
00238
00239 static const char* value(const ::worldmodel_msgs::VerifyObjectRequest_<ContainerAllocator> &) { return value(); }
00240 };
00241
00242 }
00243 }
00244
00245
00246 namespace ros
00247 {
00248 namespace message_traits
00249 {
00250 template<class ContainerAllocator> struct IsMessage< ::worldmodel_msgs::VerifyObjectResponse_<ContainerAllocator> > : public TrueType {};
00251 template<class ContainerAllocator> struct IsMessage< ::worldmodel_msgs::VerifyObjectResponse_<ContainerAllocator> const> : public TrueType {};
00252 template<class ContainerAllocator>
00253 struct MD5Sum< ::worldmodel_msgs::VerifyObjectResponse_<ContainerAllocator> > {
00254 static const char* value()
00255 {
00256 return "a4e2509e523147799a63deb6a40a0721";
00257 }
00258
00259 static const char* value(const ::worldmodel_msgs::VerifyObjectResponse_<ContainerAllocator> &) { return value(); }
00260 static const uint64_t static_value1 = 0xa4e2509e52314779ULL;
00261 static const uint64_t static_value2 = 0x9a63deb6a40a0721ULL;
00262 };
00263
00264 template<class ContainerAllocator>
00265 struct DataType< ::worldmodel_msgs::VerifyObjectResponse_<ContainerAllocator> > {
00266 static const char* value()
00267 {
00268 return "worldmodel_msgs/VerifyObjectResponse";
00269 }
00270
00271 static const char* value(const ::worldmodel_msgs::VerifyObjectResponse_<ContainerAllocator> &) { return value(); }
00272 };
00273
00274 template<class ContainerAllocator>
00275 struct Definition< ::worldmodel_msgs::VerifyObjectResponse_<ContainerAllocator> > {
00276 static const char* value()
00277 {
00278 return "\n\
00279 uint8 response\n\
00280 uint8 UNKNOWN = 0\n\
00281 uint8 DISCARD = 1\n\
00282 uint8 CONFIRM = 2\n\
00283 \n\
00284 \n\
00285 ";
00286 }
00287
00288 static const char* value(const ::worldmodel_msgs::VerifyObjectResponse_<ContainerAllocator> &) { return value(); }
00289 };
00290
00291 template<class ContainerAllocator> struct IsFixedSize< ::worldmodel_msgs::VerifyObjectResponse_<ContainerAllocator> > : public TrueType {};
00292 }
00293 }
00294
00295 namespace ros
00296 {
00297 namespace serialization
00298 {
00299
00300 template<class ContainerAllocator> struct Serializer< ::worldmodel_msgs::VerifyObjectRequest_<ContainerAllocator> >
00301 {
00302 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00303 {
00304 stream.next(m.object);
00305 }
00306
00307 ROS_DECLARE_ALLINONE_SERIALIZER;
00308 };
00309 }
00310 }
00311
00312
00313 namespace ros
00314 {
00315 namespace serialization
00316 {
00317
00318 template<class ContainerAllocator> struct Serializer< ::worldmodel_msgs::VerifyObjectResponse_<ContainerAllocator> >
00319 {
00320 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00321 {
00322 stream.next(m.response);
00323 }
00324
00325 ROS_DECLARE_ALLINONE_SERIALIZER;
00326 };
00327 }
00328 }
00329
00330 namespace ros
00331 {
00332 namespace service_traits
00333 {
00334 template<>
00335 struct MD5Sum<worldmodel_msgs::VerifyObject> {
00336 static const char* value()
00337 {
00338 return "dbeb23067c9b36e5ac2ebc072e89d000";
00339 }
00340
00341 static const char* value(const worldmodel_msgs::VerifyObject&) { return value(); }
00342 };
00343
00344 template<>
00345 struct DataType<worldmodel_msgs::VerifyObject> {
00346 static const char* value()
00347 {
00348 return "worldmodel_msgs/VerifyObject";
00349 }
00350
00351 static const char* value(const worldmodel_msgs::VerifyObject&) { return value(); }
00352 };
00353
00354 template<class ContainerAllocator>
00355 struct MD5Sum<worldmodel_msgs::VerifyObjectRequest_<ContainerAllocator> > {
00356 static const char* value()
00357 {
00358 return "dbeb23067c9b36e5ac2ebc072e89d000";
00359 }
00360
00361 static const char* value(const worldmodel_msgs::VerifyObjectRequest_<ContainerAllocator> &) { return value(); }
00362 };
00363
00364 template<class ContainerAllocator>
00365 struct DataType<worldmodel_msgs::VerifyObjectRequest_<ContainerAllocator> > {
00366 static const char* value()
00367 {
00368 return "worldmodel_msgs/VerifyObject";
00369 }
00370
00371 static const char* value(const worldmodel_msgs::VerifyObjectRequest_<ContainerAllocator> &) { return value(); }
00372 };
00373
00374 template<class ContainerAllocator>
00375 struct MD5Sum<worldmodel_msgs::VerifyObjectResponse_<ContainerAllocator> > {
00376 static const char* value()
00377 {
00378 return "dbeb23067c9b36e5ac2ebc072e89d000";
00379 }
00380
00381 static const char* value(const worldmodel_msgs::VerifyObjectResponse_<ContainerAllocator> &) { return value(); }
00382 };
00383
00384 template<class ContainerAllocator>
00385 struct DataType<worldmodel_msgs::VerifyObjectResponse_<ContainerAllocator> > {
00386 static const char* value()
00387 {
00388 return "worldmodel_msgs/VerifyObject";
00389 }
00390
00391 static const char* value(const worldmodel_msgs::VerifyObjectResponse_<ContainerAllocator> &) { return value(); }
00392 };
00393
00394 }
00395 }
00396
00397 #endif // WORLDMODEL_MSGS_SERVICE_VERIFYOBJECT_H
00398