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