Go to the documentation of this file.00001
00002 #ifndef IRI_PERCEPTION_MSGS_SERVICE_PEOPLETRACKINGSERVICE_H
00003 #define IRI_PERCEPTION_MSGS_SERVICE_PEOPLETRACKINGSERVICE_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 "iri_perception_msgs/peopleTrackingArray.h"
00022
00023 namespace iri_perception_msgs
00024 {
00025 template <class ContainerAllocator>
00026 struct peopleTrackingServiceRequest_ {
00027 typedef peopleTrackingServiceRequest_<ContainerAllocator> Type;
00028
00029 peopleTrackingServiceRequest_()
00030 {
00031 }
00032
00033 peopleTrackingServiceRequest_(const ContainerAllocator& _alloc)
00034 {
00035 }
00036
00037
00038 typedef boost::shared_ptr< ::iri_perception_msgs::peopleTrackingServiceRequest_<ContainerAllocator> > Ptr;
00039 typedef boost::shared_ptr< ::iri_perception_msgs::peopleTrackingServiceRequest_<ContainerAllocator> const> ConstPtr;
00040 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00041 };
00042 typedef ::iri_perception_msgs::peopleTrackingServiceRequest_<std::allocator<void> > peopleTrackingServiceRequest;
00043
00044 typedef boost::shared_ptr< ::iri_perception_msgs::peopleTrackingServiceRequest> peopleTrackingServiceRequestPtr;
00045 typedef boost::shared_ptr< ::iri_perception_msgs::peopleTrackingServiceRequest const> peopleTrackingServiceRequestConstPtr;
00046
00047
00048 template <class ContainerAllocator>
00049 struct peopleTrackingServiceResponse_ {
00050 typedef peopleTrackingServiceResponse_<ContainerAllocator> Type;
00051
00052 peopleTrackingServiceResponse_()
00053 : peopleSet()
00054 {
00055 }
00056
00057 peopleTrackingServiceResponse_(const ContainerAllocator& _alloc)
00058 : peopleSet(_alloc)
00059 {
00060 }
00061
00062 typedef ::iri_perception_msgs::peopleTrackingArray_<ContainerAllocator> _peopleSet_type;
00063 ::iri_perception_msgs::peopleTrackingArray_<ContainerAllocator> peopleSet;
00064
00065
00066 typedef boost::shared_ptr< ::iri_perception_msgs::peopleTrackingServiceResponse_<ContainerAllocator> > Ptr;
00067 typedef boost::shared_ptr< ::iri_perception_msgs::peopleTrackingServiceResponse_<ContainerAllocator> const> ConstPtr;
00068 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00069 };
00070 typedef ::iri_perception_msgs::peopleTrackingServiceResponse_<std::allocator<void> > peopleTrackingServiceResponse;
00071
00072 typedef boost::shared_ptr< ::iri_perception_msgs::peopleTrackingServiceResponse> peopleTrackingServiceResponsePtr;
00073 typedef boost::shared_ptr< ::iri_perception_msgs::peopleTrackingServiceResponse const> peopleTrackingServiceResponseConstPtr;
00074
00075 struct peopleTrackingService
00076 {
00077
00078 typedef peopleTrackingServiceRequest Request;
00079 typedef peopleTrackingServiceResponse 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< ::iri_perception_msgs::peopleTrackingServiceRequest_<ContainerAllocator> > : public TrueType {};
00093 template<class ContainerAllocator> struct IsMessage< ::iri_perception_msgs::peopleTrackingServiceRequest_<ContainerAllocator> const> : public TrueType {};
00094 template<class ContainerAllocator>
00095 struct MD5Sum< ::iri_perception_msgs::peopleTrackingServiceRequest_<ContainerAllocator> > {
00096 static const char* value()
00097 {
00098 return "d41d8cd98f00b204e9800998ecf8427e";
00099 }
00100
00101 static const char* value(const ::iri_perception_msgs::peopleTrackingServiceRequest_<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< ::iri_perception_msgs::peopleTrackingServiceRequest_<ContainerAllocator> > {
00108 static const char* value()
00109 {
00110 return "iri_perception_msgs/peopleTrackingServiceRequest";
00111 }
00112
00113 static const char* value(const ::iri_perception_msgs::peopleTrackingServiceRequest_<ContainerAllocator> &) { return value(); }
00114 };
00115
00116 template<class ContainerAllocator>
00117 struct Definition< ::iri_perception_msgs::peopleTrackingServiceRequest_<ContainerAllocator> > {
00118 static const char* value()
00119 {
00120 return "\n\
00121 \n\
00122 ";
00123 }
00124
00125 static const char* value(const ::iri_perception_msgs::peopleTrackingServiceRequest_<ContainerAllocator> &) { return value(); }
00126 };
00127
00128 template<class ContainerAllocator> struct IsFixedSize< ::iri_perception_msgs::peopleTrackingServiceRequest_<ContainerAllocator> > : public TrueType {};
00129 }
00130 }
00131
00132
00133 namespace ros
00134 {
00135 namespace message_traits
00136 {
00137 template<class ContainerAllocator> struct IsMessage< ::iri_perception_msgs::peopleTrackingServiceResponse_<ContainerAllocator> > : public TrueType {};
00138 template<class ContainerAllocator> struct IsMessage< ::iri_perception_msgs::peopleTrackingServiceResponse_<ContainerAllocator> const> : public TrueType {};
00139 template<class ContainerAllocator>
00140 struct MD5Sum< ::iri_perception_msgs::peopleTrackingServiceResponse_<ContainerAllocator> > {
00141 static const char* value()
00142 {
00143 return "fe22c69eec47e5d3de106e176d235190";
00144 }
00145
00146 static const char* value(const ::iri_perception_msgs::peopleTrackingServiceResponse_<ContainerAllocator> &) { return value(); }
00147 static const uint64_t static_value1 = 0xfe22c69eec47e5d3ULL;
00148 static const uint64_t static_value2 = 0xde106e176d235190ULL;
00149 };
00150
00151 template<class ContainerAllocator>
00152 struct DataType< ::iri_perception_msgs::peopleTrackingServiceResponse_<ContainerAllocator> > {
00153 static const char* value()
00154 {
00155 return "iri_perception_msgs/peopleTrackingServiceResponse";
00156 }
00157
00158 static const char* value(const ::iri_perception_msgs::peopleTrackingServiceResponse_<ContainerAllocator> &) { return value(); }
00159 };
00160
00161 template<class ContainerAllocator>
00162 struct Definition< ::iri_perception_msgs::peopleTrackingServiceResponse_<ContainerAllocator> > {
00163 static const char* value()
00164 {
00165 return "\n\
00166 peopleTrackingArray peopleSet\n\
00167 \n\
00168 \n\
00169 ================================================================================\n\
00170 MSG: iri_perception_msgs/peopleTrackingArray\n\
00171 # timestamp, frame id\n\
00172 Header header\n\
00173 \n\
00174 #set of targets being tracked\n\
00175 peopleTracking[] peopleSet\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: iri_perception_msgs/peopleTracking\n\
00196 #target id\n\
00197 int32 targetId\n\
00198 \n\
00199 #target status is a bitwise OR of the following values\n\
00200 # TO_BE_REMOVED = 0x01,\n\
00201 # OCCLUDDED = 0x02,\n\
00202 # CANDIDATE = 0x04,\n\
00203 # LEGGED_TARGET = 0x08,\n\
00204 # VISUALLY_CONFIRMED = 0x10,\n\
00205 # FRIEND_IN_SIGHT = 0x20,\n\
00206 # BACK_LEARNT = 0x40,\n\
00207 # FACE_LEARNT = 0x80\n\
00208 int32 targetStatus\n\
00209 \n\
00210 #target 2D position\n\
00211 float64 x\n\
00212 float64 y\n\
00213 \n\
00214 #target 2D linear velocity\n\
00215 float64 vx\n\
00216 float64 vy\n\
00217 \n\
00218 #(x,y,vx,vy) covariance matrix\n\
00219 float64[16] covariances\n\
00220 ";
00221 }
00222
00223 static const char* value(const ::iri_perception_msgs::peopleTrackingServiceResponse_<ContainerAllocator> &) { return value(); }
00224 };
00225
00226 }
00227 }
00228
00229 namespace ros
00230 {
00231 namespace serialization
00232 {
00233
00234 template<class ContainerAllocator> struct Serializer< ::iri_perception_msgs::peopleTrackingServiceRequest_<ContainerAllocator> >
00235 {
00236 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00237 {
00238 }
00239
00240 ROS_DECLARE_ALLINONE_SERIALIZER;
00241 };
00242 }
00243 }
00244
00245
00246 namespace ros
00247 {
00248 namespace serialization
00249 {
00250
00251 template<class ContainerAllocator> struct Serializer< ::iri_perception_msgs::peopleTrackingServiceResponse_<ContainerAllocator> >
00252 {
00253 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00254 {
00255 stream.next(m.peopleSet);
00256 }
00257
00258 ROS_DECLARE_ALLINONE_SERIALIZER;
00259 };
00260 }
00261 }
00262
00263 namespace ros
00264 {
00265 namespace service_traits
00266 {
00267 template<>
00268 struct MD5Sum<iri_perception_msgs::peopleTrackingService> {
00269 static const char* value()
00270 {
00271 return "fe22c69eec47e5d3de106e176d235190";
00272 }
00273
00274 static const char* value(const iri_perception_msgs::peopleTrackingService&) { return value(); }
00275 };
00276
00277 template<>
00278 struct DataType<iri_perception_msgs::peopleTrackingService> {
00279 static const char* value()
00280 {
00281 return "iri_perception_msgs/peopleTrackingService";
00282 }
00283
00284 static const char* value(const iri_perception_msgs::peopleTrackingService&) { return value(); }
00285 };
00286
00287 template<class ContainerAllocator>
00288 struct MD5Sum<iri_perception_msgs::peopleTrackingServiceRequest_<ContainerAllocator> > {
00289 static const char* value()
00290 {
00291 return "fe22c69eec47e5d3de106e176d235190";
00292 }
00293
00294 static const char* value(const iri_perception_msgs::peopleTrackingServiceRequest_<ContainerAllocator> &) { return value(); }
00295 };
00296
00297 template<class ContainerAllocator>
00298 struct DataType<iri_perception_msgs::peopleTrackingServiceRequest_<ContainerAllocator> > {
00299 static const char* value()
00300 {
00301 return "iri_perception_msgs/peopleTrackingService";
00302 }
00303
00304 static const char* value(const iri_perception_msgs::peopleTrackingServiceRequest_<ContainerAllocator> &) { return value(); }
00305 };
00306
00307 template<class ContainerAllocator>
00308 struct MD5Sum<iri_perception_msgs::peopleTrackingServiceResponse_<ContainerAllocator> > {
00309 static const char* value()
00310 {
00311 return "fe22c69eec47e5d3de106e176d235190";
00312 }
00313
00314 static const char* value(const iri_perception_msgs::peopleTrackingServiceResponse_<ContainerAllocator> &) { return value(); }
00315 };
00316
00317 template<class ContainerAllocator>
00318 struct DataType<iri_perception_msgs::peopleTrackingServiceResponse_<ContainerAllocator> > {
00319 static const char* value()
00320 {
00321 return "iri_perception_msgs/peopleTrackingService";
00322 }
00323
00324 static const char* value(const iri_perception_msgs::peopleTrackingServiceResponse_<ContainerAllocator> &) { return value(); }
00325 };
00326
00327 }
00328 }
00329
00330 #endif // IRI_PERCEPTION_MSGS_SERVICE_PEOPLETRACKINGSERVICE_H
00331