Go to the documentation of this file.00001
00002 #ifndef AR_POSE_MESSAGE_ARMARKER_H
00003 #define AR_POSE_MESSAGE_ARMARKER_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 "geometry_msgs/PoseWithCovariance.h"
00019
00020 namespace ar_pose
00021 {
00022 template <class ContainerAllocator>
00023 struct ARMarker_ {
00024 typedef ARMarker_<ContainerAllocator> Type;
00025
00026 ARMarker_()
00027 : header()
00028 , id(0)
00029 , pose()
00030 , confidence(0)
00031 {
00032 }
00033
00034 ARMarker_(const ContainerAllocator& _alloc)
00035 : header(_alloc)
00036 , id(0)
00037 , pose(_alloc)
00038 , confidence(0)
00039 {
00040 }
00041
00042 typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
00043 ::std_msgs::Header_<ContainerAllocator> header;
00044
00045 typedef uint32_t _id_type;
00046 uint32_t id;
00047
00048 typedef ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> _pose_type;
00049 ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> pose;
00050
00051 typedef uint32_t _confidence_type;
00052 uint32_t confidence;
00053
00054
00055 typedef boost::shared_ptr< ::ar_pose::ARMarker_<ContainerAllocator> > Ptr;
00056 typedef boost::shared_ptr< ::ar_pose::ARMarker_<ContainerAllocator> const> ConstPtr;
00057 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00058 };
00059 typedef ::ar_pose::ARMarker_<std::allocator<void> > ARMarker;
00060
00061 typedef boost::shared_ptr< ::ar_pose::ARMarker> ARMarkerPtr;
00062 typedef boost::shared_ptr< ::ar_pose::ARMarker const> ARMarkerConstPtr;
00063
00064
00065 template<typename ContainerAllocator>
00066 std::ostream& operator<<(std::ostream& s, const ::ar_pose::ARMarker_<ContainerAllocator> & v)
00067 {
00068 ros::message_operations::Printer< ::ar_pose::ARMarker_<ContainerAllocator> >::stream(s, "", v);
00069 return s;}
00070
00071 }
00072
00073 namespace ros
00074 {
00075 namespace message_traits
00076 {
00077 template<class ContainerAllocator> struct IsMessage< ::ar_pose::ARMarker_<ContainerAllocator> > : public TrueType {};
00078 template<class ContainerAllocator> struct IsMessage< ::ar_pose::ARMarker_<ContainerAllocator> const> : public TrueType {};
00079 template<class ContainerAllocator>
00080 struct MD5Sum< ::ar_pose::ARMarker_<ContainerAllocator> > {
00081 static const char* value()
00082 {
00083 return "93c4ce9061a70bc30293e52ac4675f76";
00084 }
00085
00086 static const char* value(const ::ar_pose::ARMarker_<ContainerAllocator> &) { return value(); }
00087 static const uint64_t static_value1 = 0x93c4ce9061a70bc3ULL;
00088 static const uint64_t static_value2 = 0x0293e52ac4675f76ULL;
00089 };
00090
00091 template<class ContainerAllocator>
00092 struct DataType< ::ar_pose::ARMarker_<ContainerAllocator> > {
00093 static const char* value()
00094 {
00095 return "ar_pose/ARMarker";
00096 }
00097
00098 static const char* value(const ::ar_pose::ARMarker_<ContainerAllocator> &) { return value(); }
00099 };
00100
00101 template<class ContainerAllocator>
00102 struct Definition< ::ar_pose::ARMarker_<ContainerAllocator> > {
00103 static const char* value()
00104 {
00105 return "Header header\n\
00106 uint32 id\n\
00107 geometry_msgs/PoseWithCovariance pose\n\
00108 uint32 confidence\n\
00109 \n\
00110 ================================================================================\n\
00111 MSG: std_msgs/Header\n\
00112 # Standard metadata for higher-level stamped data types.\n\
00113 # This is generally used to communicate timestamped data \n\
00114 # in a particular coordinate frame.\n\
00115 # \n\
00116 # sequence ID: consecutively increasing ID \n\
00117 uint32 seq\n\
00118 #Two-integer timestamp that is expressed as:\n\
00119 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00120 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00121 # time-handling sugar is provided by the client library\n\
00122 time stamp\n\
00123 #Frame this data is associated with\n\
00124 # 0: no frame\n\
00125 # 1: global frame\n\
00126 string frame_id\n\
00127 \n\
00128 ================================================================================\n\
00129 MSG: geometry_msgs/PoseWithCovariance\n\
00130 # This represents a pose in free space with uncertainty.\n\
00131 \n\
00132 Pose pose\n\
00133 \n\
00134 # Row-major representation of the 6x6 covariance matrix\n\
00135 # The orientation parameters use a fixed-axis representation.\n\
00136 # In order, the parameters are:\n\
00137 # (x, y, z, rotation about X axis, rotation about Y axis, rotation about Z axis)\n\
00138 float64[36] covariance\n\
00139 \n\
00140 ================================================================================\n\
00141 MSG: geometry_msgs/Pose\n\
00142 # A representation of pose in free space, composed of postion and orientation. \n\
00143 Point position\n\
00144 Quaternion orientation\n\
00145 \n\
00146 ================================================================================\n\
00147 MSG: geometry_msgs/Point\n\
00148 # This contains the position of a point in free space\n\
00149 float64 x\n\
00150 float64 y\n\
00151 float64 z\n\
00152 \n\
00153 ================================================================================\n\
00154 MSG: geometry_msgs/Quaternion\n\
00155 # This represents an orientation in free space in quaternion form.\n\
00156 \n\
00157 float64 x\n\
00158 float64 y\n\
00159 float64 z\n\
00160 float64 w\n\
00161 \n\
00162 ";
00163 }
00164
00165 static const char* value(const ::ar_pose::ARMarker_<ContainerAllocator> &) { return value(); }
00166 };
00167
00168 template<class ContainerAllocator> struct HasHeader< ::ar_pose::ARMarker_<ContainerAllocator> > : public TrueType {};
00169 template<class ContainerAllocator> struct HasHeader< const ::ar_pose::ARMarker_<ContainerAllocator> > : public TrueType {};
00170 }
00171 }
00172
00173 namespace ros
00174 {
00175 namespace serialization
00176 {
00177
00178 template<class ContainerAllocator> struct Serializer< ::ar_pose::ARMarker_<ContainerAllocator> >
00179 {
00180 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00181 {
00182 stream.next(m.header);
00183 stream.next(m.id);
00184 stream.next(m.pose);
00185 stream.next(m.confidence);
00186 }
00187
00188 ROS_DECLARE_ALLINONE_SERIALIZER;
00189 };
00190 }
00191 }
00192
00193 namespace ros
00194 {
00195 namespace message_operations
00196 {
00197
00198 template<class ContainerAllocator>
00199 struct Printer< ::ar_pose::ARMarker_<ContainerAllocator> >
00200 {
00201 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::ar_pose::ARMarker_<ContainerAllocator> & v)
00202 {
00203 s << indent << "header: ";
00204 s << std::endl;
00205 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
00206 s << indent << "id: ";
00207 Printer<uint32_t>::stream(s, indent + " ", v.id);
00208 s << indent << "pose: ";
00209 s << std::endl;
00210 Printer< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> >::stream(s, indent + " ", v.pose);
00211 s << indent << "confidence: ";
00212 Printer<uint32_t>::stream(s, indent + " ", v.confidence);
00213 }
00214 };
00215
00216
00217 }
00218 }
00219
00220 #endif // AR_POSE_MESSAGE_ARMARKER_H
00221