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