Go to the documentation of this file.00001
00002 #ifndef APRIL_MSGS_MESSAGE_TAGPOSEARRAY_H
00003 #define APRIL_MSGS_MESSAGE_TAGPOSEARRAY_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 "april_msgs/TagPose.h"
00019
00020 namespace april_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct TagPoseArray_ {
00024 typedef TagPoseArray_<ContainerAllocator> Type;
00025
00026 TagPoseArray_()
00027 : header()
00028 , tags()
00029 {
00030 }
00031
00032 TagPoseArray_(const ContainerAllocator& _alloc)
00033 : header(_alloc)
00034 , tags(_alloc)
00035 {
00036 }
00037
00038 typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
00039 ::std_msgs::Header_<ContainerAllocator> header;
00040
00041 typedef std::vector< ::april_msgs::TagPose_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::april_msgs::TagPose_<ContainerAllocator> >::other > _tags_type;
00042 std::vector< ::april_msgs::TagPose_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::april_msgs::TagPose_<ContainerAllocator> >::other > tags;
00043
00044
00045 typedef boost::shared_ptr< ::april_msgs::TagPoseArray_<ContainerAllocator> > Ptr;
00046 typedef boost::shared_ptr< ::april_msgs::TagPoseArray_<ContainerAllocator> const> ConstPtr;
00047 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 };
00049 typedef ::april_msgs::TagPoseArray_<std::allocator<void> > TagPoseArray;
00050
00051 typedef boost::shared_ptr< ::april_msgs::TagPoseArray> TagPoseArrayPtr;
00052 typedef boost::shared_ptr< ::april_msgs::TagPoseArray const> TagPoseArrayConstPtr;
00053
00054
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const ::april_msgs::TagPoseArray_<ContainerAllocator> & v)
00057 {
00058 ros::message_operations::Printer< ::april_msgs::TagPoseArray_<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< ::april_msgs::TagPoseArray_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::april_msgs::TagPoseArray_<ContainerAllocator> const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::april_msgs::TagPoseArray_<ContainerAllocator> > {
00071 static const char* value()
00072 {
00073 return "f089c6703aa69963fcf25a70fd68b35f";
00074 }
00075
00076 static const char* value(const ::april_msgs::TagPoseArray_<ContainerAllocator> &) { return value(); }
00077 static const uint64_t static_value1 = 0xf089c6703aa69963ULL;
00078 static const uint64_t static_value2 = 0xfcf25a70fd68b35fULL;
00079 };
00080
00081 template<class ContainerAllocator>
00082 struct DataType< ::april_msgs::TagPoseArray_<ContainerAllocator> > {
00083 static const char* value()
00084 {
00085 return "april_msgs/TagPoseArray";
00086 }
00087
00088 static const char* value(const ::april_msgs::TagPoseArray_<ContainerAllocator> &) { return value(); }
00089 };
00090
00091 template<class ContainerAllocator>
00092 struct Definition< ::april_msgs::TagPoseArray_<ContainerAllocator> > {
00093 static const char* value()
00094 {
00095 return "Header header\n\
00096 TagPose[] tags\n\
00097 \n\
00098 ================================================================================\n\
00099 MSG: std_msgs/Header\n\
00100 # Standard metadata for higher-level stamped data types.\n\
00101 # This is generally used to communicate timestamped data \n\
00102 # in a particular coordinate frame.\n\
00103 # \n\
00104 # sequence ID: consecutively increasing ID \n\
00105 uint32 seq\n\
00106 #Two-integer timestamp that is expressed as:\n\
00107 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00108 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00109 # time-handling sugar is provided by the client library\n\
00110 time stamp\n\
00111 #Frame this data is associated with\n\
00112 # 0: no frame\n\
00113 # 1: global frame\n\
00114 string frame_id\n\
00115 \n\
00116 ================================================================================\n\
00117 MSG: april_msgs/TagPose\n\
00118 int32 id\n\
00119 string family\n\
00120 int32 hamming_distance\n\
00121 geometry_msgs/Point32[] image_coordinates\n\
00122 geometry_msgs/Pose pose\n\
00123 \n\
00124 ================================================================================\n\
00125 MSG: geometry_msgs/Point32\n\
00126 # This contains the position of a point in free space(with 32 bits of precision).\n\
00127 # It is recommeded to use Point wherever possible instead of Point32. \n\
00128 # \n\
00129 # This recommendation is to promote interoperability. \n\
00130 #\n\
00131 # This message is designed to take up less space when sending\n\
00132 # lots of points at once, as in the case of a PointCloud. \n\
00133 \n\
00134 float32 x\n\
00135 float32 y\n\
00136 float32 z\n\
00137 ================================================================================\n\
00138 MSG: geometry_msgs/Pose\n\
00139 # A representation of pose in free space, composed of postion and orientation. \n\
00140 Point position\n\
00141 Quaternion orientation\n\
00142 \n\
00143 ================================================================================\n\
00144 MSG: geometry_msgs/Point\n\
00145 # This contains the position of a point in free space\n\
00146 float64 x\n\
00147 float64 y\n\
00148 float64 z\n\
00149 \n\
00150 ================================================================================\n\
00151 MSG: geometry_msgs/Quaternion\n\
00152 # This represents an orientation in free space in quaternion form.\n\
00153 \n\
00154 float64 x\n\
00155 float64 y\n\
00156 float64 z\n\
00157 float64 w\n\
00158 \n\
00159 ";
00160 }
00161
00162 static const char* value(const ::april_msgs::TagPoseArray_<ContainerAllocator> &) { return value(); }
00163 };
00164
00165 template<class ContainerAllocator> struct HasHeader< ::april_msgs::TagPoseArray_<ContainerAllocator> > : public TrueType {};
00166 template<class ContainerAllocator> struct HasHeader< const ::april_msgs::TagPoseArray_<ContainerAllocator> > : public TrueType {};
00167 }
00168 }
00169
00170 namespace ros
00171 {
00172 namespace serialization
00173 {
00174
00175 template<class ContainerAllocator> struct Serializer< ::april_msgs::TagPoseArray_<ContainerAllocator> >
00176 {
00177 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00178 {
00179 stream.next(m.header);
00180 stream.next(m.tags);
00181 }
00182
00183 ROS_DECLARE_ALLINONE_SERIALIZER;
00184 };
00185 }
00186 }
00187
00188 namespace ros
00189 {
00190 namespace message_operations
00191 {
00192
00193 template<class ContainerAllocator>
00194 struct Printer< ::april_msgs::TagPoseArray_<ContainerAllocator> >
00195 {
00196 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::april_msgs::TagPoseArray_<ContainerAllocator> & v)
00197 {
00198 s << indent << "header: ";
00199 s << std::endl;
00200 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
00201 s << indent << "tags[]" << std::endl;
00202 for (size_t i = 0; i < v.tags.size(); ++i)
00203 {
00204 s << indent << " tags[" << i << "]: ";
00205 s << std::endl;
00206 s << indent;
00207 Printer< ::april_msgs::TagPose_<ContainerAllocator> >::stream(s, indent + " ", v.tags[i]);
00208 }
00209 }
00210 };
00211
00212
00213 }
00214 }
00215
00216 #endif // APRIL_MSGS_MESSAGE_TAGPOSEARRAY_H
00217