peopleTracking.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-all-iri-ros.pub/doc_stacks/2013-12-06_19-37-16.229269/iri_perception/iri_perception_msgs/msg/peopleTracking.msg */
00002 #ifndef IRI_PERCEPTION_MSGS_MESSAGE_PEOPLETRACKING_H
00003 #define IRI_PERCEPTION_MSGS_MESSAGE_PEOPLETRACKING_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 
00018 namespace iri_perception_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct peopleTracking_ {
00022   typedef peopleTracking_<ContainerAllocator> Type;
00023 
00024   peopleTracking_()
00025   : targetId(0)
00026   , targetStatus(0)
00027   , x(0.0)
00028   , y(0.0)
00029   , vx(0.0)
00030   , vy(0.0)
00031   , covariances()
00032   {
00033     covariances.assign(0.0);
00034   }
00035 
00036   peopleTracking_(const ContainerAllocator& _alloc)
00037   : targetId(0)
00038   , targetStatus(0)
00039   , x(0.0)
00040   , y(0.0)
00041   , vx(0.0)
00042   , vy(0.0)
00043   , covariances()
00044   {
00045     covariances.assign(0.0);
00046   }
00047 
00048   typedef int32_t _targetId_type;
00049   int32_t targetId;
00050 
00051   typedef int32_t _targetStatus_type;
00052   int32_t targetStatus;
00053 
00054   typedef double _x_type;
00055   double x;
00056 
00057   typedef double _y_type;
00058   double y;
00059 
00060   typedef double _vx_type;
00061   double vx;
00062 
00063   typedef double _vy_type;
00064   double vy;
00065 
00066   typedef boost::array<double, 16>  _covariances_type;
00067   boost::array<double, 16>  covariances;
00068 
00069 
00070   typedef boost::shared_ptr< ::iri_perception_msgs::peopleTracking_<ContainerAllocator> > Ptr;
00071   typedef boost::shared_ptr< ::iri_perception_msgs::peopleTracking_<ContainerAllocator>  const> ConstPtr;
00072   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00073 }; // struct peopleTracking
00074 typedef  ::iri_perception_msgs::peopleTracking_<std::allocator<void> > peopleTracking;
00075 
00076 typedef boost::shared_ptr< ::iri_perception_msgs::peopleTracking> peopleTrackingPtr;
00077 typedef boost::shared_ptr< ::iri_perception_msgs::peopleTracking const> peopleTrackingConstPtr;
00078 
00079 
00080 template<typename ContainerAllocator>
00081 std::ostream& operator<<(std::ostream& s, const  ::iri_perception_msgs::peopleTracking_<ContainerAllocator> & v)
00082 {
00083   ros::message_operations::Printer< ::iri_perception_msgs::peopleTracking_<ContainerAllocator> >::stream(s, "", v);
00084   return s;}
00085 
00086 } // namespace iri_perception_msgs
00087 
00088 namespace ros
00089 {
00090 namespace message_traits
00091 {
00092 template<class ContainerAllocator> struct IsMessage< ::iri_perception_msgs::peopleTracking_<ContainerAllocator> > : public TrueType {};
00093 template<class ContainerAllocator> struct IsMessage< ::iri_perception_msgs::peopleTracking_<ContainerAllocator>  const> : public TrueType {};
00094 template<class ContainerAllocator>
00095 struct MD5Sum< ::iri_perception_msgs::peopleTracking_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "5085acdc7b3d2430f148e7a5cb50043c";
00099   }
00100 
00101   static const char* value(const  ::iri_perception_msgs::peopleTracking_<ContainerAllocator> &) { return value(); } 
00102   static const uint64_t static_value1 = 0x5085acdc7b3d2430ULL;
00103   static const uint64_t static_value2 = 0xf148e7a5cb50043cULL;
00104 };
00105 
00106 template<class ContainerAllocator>
00107 struct DataType< ::iri_perception_msgs::peopleTracking_<ContainerAllocator> > {
00108   static const char* value() 
00109   {
00110     return "iri_perception_msgs/peopleTracking";
00111   }
00112 
00113   static const char* value(const  ::iri_perception_msgs::peopleTracking_<ContainerAllocator> &) { return value(); } 
00114 };
00115 
00116 template<class ContainerAllocator>
00117 struct Definition< ::iri_perception_msgs::peopleTracking_<ContainerAllocator> > {
00118   static const char* value() 
00119   {
00120     return "#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::peopleTracking_<ContainerAllocator> &) { return value(); } 
00148 };
00149 
00150 template<class ContainerAllocator> struct IsFixedSize< ::iri_perception_msgs::peopleTracking_<ContainerAllocator> > : public TrueType {};
00151 } // namespace message_traits
00152 } // namespace ros
00153 
00154 namespace ros
00155 {
00156 namespace serialization
00157 {
00158 
00159 template<class ContainerAllocator> struct Serializer< ::iri_perception_msgs::peopleTracking_<ContainerAllocator> >
00160 {
00161   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00162   {
00163     stream.next(m.targetId);
00164     stream.next(m.targetStatus);
00165     stream.next(m.x);
00166     stream.next(m.y);
00167     stream.next(m.vx);
00168     stream.next(m.vy);
00169     stream.next(m.covariances);
00170   }
00171 
00172   ROS_DECLARE_ALLINONE_SERIALIZER;
00173 }; // struct peopleTracking_
00174 } // namespace serialization
00175 } // namespace ros
00176 
00177 namespace ros
00178 {
00179 namespace message_operations
00180 {
00181 
00182 template<class ContainerAllocator>
00183 struct Printer< ::iri_perception_msgs::peopleTracking_<ContainerAllocator> >
00184 {
00185   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::iri_perception_msgs::peopleTracking_<ContainerAllocator> & v) 
00186   {
00187     s << indent << "targetId: ";
00188     Printer<int32_t>::stream(s, indent + "  ", v.targetId);
00189     s << indent << "targetStatus: ";
00190     Printer<int32_t>::stream(s, indent + "  ", v.targetStatus);
00191     s << indent << "x: ";
00192     Printer<double>::stream(s, indent + "  ", v.x);
00193     s << indent << "y: ";
00194     Printer<double>::stream(s, indent + "  ", v.y);
00195     s << indent << "vx: ";
00196     Printer<double>::stream(s, indent + "  ", v.vx);
00197     s << indent << "vy: ";
00198     Printer<double>::stream(s, indent + "  ", v.vy);
00199     s << indent << "covariances[]" << std::endl;
00200     for (size_t i = 0; i < v.covariances.size(); ++i)
00201     {
00202       s << indent << "  covariances[" << i << "]: ";
00203       Printer<double>::stream(s, indent + "  ", v.covariances[i]);
00204     }
00205   }
00206 };
00207 
00208 
00209 } // namespace message_operations
00210 } // namespace ros
00211 
00212 #endif // IRI_PERCEPTION_MSGS_MESSAGE_PEOPLETRACKING_H
00213 


iri_perception_msgs
Author(s):
autogenerated on Fri Dec 6 2013 20:02:16