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