Go to the documentation of this file.00001
00002 #ifndef IRI_PERCEPTION_MSGS_MESSAGE_PEOPLETRACKINGARRAY_H
00003 #define IRI_PERCEPTION_MSGS_MESSAGE_PEOPLETRACKINGARRAY_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 "std_msgs/Header.h"
00018 #include "iri_perception_msgs/peopleTracking.h"
00019
00020 namespace iri_perception_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct peopleTrackingArray_ {
00024 typedef peopleTrackingArray_<ContainerAllocator> Type;
00025
00026 peopleTrackingArray_()
00027 : header()
00028 , peopleSet()
00029 {
00030 }
00031
00032 peopleTrackingArray_(const ContainerAllocator& _alloc)
00033 : header(_alloc)
00034 , peopleSet(_alloc)
00035 {
00036 }
00037
00038 typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
00039 ::std_msgs::Header_<ContainerAllocator> header;
00040
00041 typedef std::vector< ::iri_perception_msgs::peopleTracking_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::iri_perception_msgs::peopleTracking_<ContainerAllocator> >::other > _peopleSet_type;
00042 std::vector< ::iri_perception_msgs::peopleTracking_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::iri_perception_msgs::peopleTracking_<ContainerAllocator> >::other > peopleSet;
00043
00044
00045 typedef boost::shared_ptr< ::iri_perception_msgs::peopleTrackingArray_<ContainerAllocator> > Ptr;
00046 typedef boost::shared_ptr< ::iri_perception_msgs::peopleTrackingArray_<ContainerAllocator> const> ConstPtr;
00047 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 };
00049 typedef ::iri_perception_msgs::peopleTrackingArray_<std::allocator<void> > peopleTrackingArray;
00050
00051 typedef boost::shared_ptr< ::iri_perception_msgs::peopleTrackingArray> peopleTrackingArrayPtr;
00052 typedef boost::shared_ptr< ::iri_perception_msgs::peopleTrackingArray const> peopleTrackingArrayConstPtr;
00053
00054
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const ::iri_perception_msgs::peopleTrackingArray_<ContainerAllocator> & v)
00057 {
00058 ros::message_operations::Printer< ::iri_perception_msgs::peopleTrackingArray_<ContainerAllocator> >::stream(s, "", v);
00059 return s;}
00060
00061 }
00062
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::iri_perception_msgs::peopleTrackingArray_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::iri_perception_msgs::peopleTrackingArray_<ContainerAllocator> const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::iri_perception_msgs::peopleTrackingArray_<ContainerAllocator> > {
00071 static const char* value()
00072 {
00073 return "35cdc779914b5346377962145609933e";
00074 }
00075
00076 static const char* value(const ::iri_perception_msgs::peopleTrackingArray_<ContainerAllocator> &) { return value(); }
00077 static const uint64_t static_value1 = 0x35cdc779914b5346ULL;
00078 static const uint64_t static_value2 = 0x377962145609933eULL;
00079 };
00080
00081 template<class ContainerAllocator>
00082 struct DataType< ::iri_perception_msgs::peopleTrackingArray_<ContainerAllocator> > {
00083 static const char* value()
00084 {
00085 return "iri_perception_msgs/peopleTrackingArray";
00086 }
00087
00088 static const char* value(const ::iri_perception_msgs::peopleTrackingArray_<ContainerAllocator> &) { return value(); }
00089 };
00090
00091 template<class ContainerAllocator>
00092 struct Definition< ::iri_perception_msgs::peopleTrackingArray_<ContainerAllocator> > {
00093 static const char* value()
00094 {
00095 return "# timestamp, frame id\n\
00096 Header header\n\
00097 \n\
00098 #set of targets being tracked\n\
00099 peopleTracking[] peopleSet\n\
00100 ================================================================================\n\
00101 MSG: std_msgs/Header\n\
00102 # Standard metadata for higher-level stamped data types.\n\
00103 # This is generally used to communicate timestamped data \n\
00104 # in a particular coordinate frame.\n\
00105 # \n\
00106 # sequence ID: consecutively increasing ID \n\
00107 uint32 seq\n\
00108 #Two-integer timestamp that is expressed as:\n\
00109 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00110 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00111 # time-handling sugar is provided by the client library\n\
00112 time stamp\n\
00113 #Frame this data is associated with\n\
00114 # 0: no frame\n\
00115 # 1: global frame\n\
00116 string frame_id\n\
00117 \n\
00118 ================================================================================\n\
00119 MSG: iri_perception_msgs/peopleTracking\n\
00120 #target id\n\
00121 int32 targetId\n\
00122 \n\
00123 #target status is a bitwise OR of the following values\n\
00124 # TO_BE_REMOVED = 0x01,\n\
00125 # OCCLUDDED = 0x02,\n\
00126 # CANDIDATE = 0x04,\n\
00127 # LEGGED_TARGET = 0x08,\n\
00128 # VISUALLY_CONFIRMED = 0x10,\n\
00129 # FRIEND_IN_SIGHT = 0x20,\n\
00130 # BACK_LEARNT = 0x40,\n\
00131 # FACE_LEARNT = 0x80\n\
00132 int32 targetStatus\n\
00133 \n\
00134 #target 2D position\n\
00135 float64 x\n\
00136 float64 y\n\
00137 \n\
00138 #target 2D linear velocity\n\
00139 float64 vx\n\
00140 float64 vy\n\
00141 \n\
00142 #(x,y,vx,vy) covariance matrix\n\
00143 float64[16] covariances\n\
00144 ";
00145 }
00146
00147 static const char* value(const ::iri_perception_msgs::peopleTrackingArray_<ContainerAllocator> &) { return value(); }
00148 };
00149
00150 template<class ContainerAllocator> struct HasHeader< ::iri_perception_msgs::peopleTrackingArray_<ContainerAllocator> > : public TrueType {};
00151 template<class ContainerAllocator> struct HasHeader< const ::iri_perception_msgs::peopleTrackingArray_<ContainerAllocator> > : public TrueType {};
00152 }
00153 }
00154
00155 namespace ros
00156 {
00157 namespace serialization
00158 {
00159
00160 template<class ContainerAllocator> struct Serializer< ::iri_perception_msgs::peopleTrackingArray_<ContainerAllocator> >
00161 {
00162 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00163 {
00164 stream.next(m.header);
00165 stream.next(m.peopleSet);
00166 }
00167
00168 ROS_DECLARE_ALLINONE_SERIALIZER;
00169 };
00170 }
00171 }
00172
00173 namespace ros
00174 {
00175 namespace message_operations
00176 {
00177
00178 template<class ContainerAllocator>
00179 struct Printer< ::iri_perception_msgs::peopleTrackingArray_<ContainerAllocator> >
00180 {
00181 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::iri_perception_msgs::peopleTrackingArray_<ContainerAllocator> & v)
00182 {
00183 s << indent << "header: ";
00184 s << std::endl;
00185 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
00186 s << indent << "peopleSet[]" << std::endl;
00187 for (size_t i = 0; i < v.peopleSet.size(); ++i)
00188 {
00189 s << indent << " peopleSet[" << i << "]: ";
00190 s << std::endl;
00191 s << indent;
00192 Printer< ::iri_perception_msgs::peopleTracking_<ContainerAllocator> >::stream(s, indent + " ", v.peopleSet[i]);
00193 }
00194 }
00195 };
00196
00197
00198 }
00199 }
00200
00201 #endif // IRI_PERCEPTION_MSGS_MESSAGE_PEOPLETRACKINGARRAY_H
00202