AutoCar  v1.0.0
AprilTagDetection.h
1 // Generated by gencpp from file apriltags_ros/AprilTagDetection.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef APRILTAGS_ROS_MESSAGE_APRILTAGDETECTION_H
6 #define APRILTAGS_ROS_MESSAGE_APRILTAGDETECTION_H
7 
8 
9 #include <string>
10 #include <vector>
11 #include <map>
12 
13 #include <ros/types.h>
14 #include <ros/serialization.h>
15 #include <ros/builtin_message_traits.h>
16 #include <ros/message_operations.h>
17 
18 #include <geometry_msgs/PoseStamped.h>
19 
20 namespace apriltags_ros
21 {
22 template <class ContainerAllocator>
24 {
26 
28  : id(0)
29  , size(0.0)
30  , pose() {
31  }
32  AprilTagDetection_(const ContainerAllocator& _alloc)
33  : id(0)
34  , size(0.0)
35  , pose(_alloc) {
36  (void)_alloc;
37  }
38 
39 
40 
41  typedef int32_t _id_type;
42  _id_type id;
43 
44  typedef double _size_type;
45  _size_type size;
46 
47  typedef ::geometry_msgs::PoseStamped_<ContainerAllocator> _pose_type;
48  _pose_type pose;
49 
50 
51 
52 
53  typedef boost::shared_ptr< ::apriltags_ros::AprilTagDetection_<ContainerAllocator> > Ptr;
54  typedef boost::shared_ptr< ::apriltags_ros::AprilTagDetection_<ContainerAllocator> const> ConstPtr;
55 
56 }; // struct AprilTagDetection_
57 
58 typedef ::apriltags_ros::AprilTagDetection_<std::allocator<void> > AprilTagDetection;
59 
60 typedef boost::shared_ptr< ::apriltags_ros::AprilTagDetection > AprilTagDetectionPtr;
61 typedef boost::shared_ptr< ::apriltags_ros::AprilTagDetection const> AprilTagDetectionConstPtr;
62 
63 // constants requiring out of line definition
64 
65 
66 
67 template<typename ContainerAllocator>
68 std::ostream& operator<<(std::ostream& s, const ::apriltags_ros::AprilTagDetection_<ContainerAllocator> & v)
69 {
70 ros::message_operations::Printer< ::apriltags_ros::AprilTagDetection_<ContainerAllocator> >::stream(s, "", v);
71 return s;
72 }
73 
74 } // namespace apriltags_ros
75 
76 namespace ros
77 {
78 namespace message_traits
79 {
80 
81 
82 
83 // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': False}
84 // {'geometry_msgs': ['/opt/ros/kinetic/share/geometry_msgs/cmake/../msg'], 'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'apriltags_ros': ['/home/ubuntu/auto_car/src/apriltags_ros/apriltags_ros/msg']}
85 
86 // !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types']
87 
88 
89 
90 
91 template <class ContainerAllocator>
92 struct IsFixedSize< ::apriltags_ros::AprilTagDetection_<ContainerAllocator> >
93  : FalseType
94  { };
95 
96 template <class ContainerAllocator>
97 struct IsFixedSize< ::apriltags_ros::AprilTagDetection_<ContainerAllocator> const>
98  : FalseType
99  { };
100 
101 template <class ContainerAllocator>
102 struct IsMessage< ::apriltags_ros::AprilTagDetection_<ContainerAllocator> >
103  : TrueType
104  { };
105 
106 template <class ContainerAllocator>
107 struct IsMessage< ::apriltags_ros::AprilTagDetection_<ContainerAllocator> const>
108  : TrueType
109  { };
110 
111 template <class ContainerAllocator>
112 struct HasHeader< ::apriltags_ros::AprilTagDetection_<ContainerAllocator> >
113  : FalseType
114  { };
115 
116 template <class ContainerAllocator>
117 struct HasHeader< ::apriltags_ros::AprilTagDetection_<ContainerAllocator> const>
118  : FalseType
119  { };
120 
121 
122 template<class ContainerAllocator>
123 struct MD5Sum< ::apriltags_ros::AprilTagDetection_<ContainerAllocator> >
124 {
125  static const char* value()
126  {
127  return "c7dd623e54eca222750cda2ae82f5257";
128  }
129 
130  static const char* value(const ::apriltags_ros::AprilTagDetection_<ContainerAllocator>&) { return value(); }
131  static const uint64_t static_value1 = 0xc7dd623e54eca222ULL;
132  static const uint64_t static_value2 = 0x750cda2ae82f5257ULL;
133 };
134 
135 template<class ContainerAllocator>
136 struct DataType< ::apriltags_ros::AprilTagDetection_<ContainerAllocator> >
137 {
138  static const char* value()
139  {
140  return "apriltags_ros/AprilTagDetection";
141  }
142 
143  static const char* value(const ::apriltags_ros::AprilTagDetection_<ContainerAllocator>&) { return value(); }
144 };
145 
146 template<class ContainerAllocator>
147 struct Definition< ::apriltags_ros::AprilTagDetection_<ContainerAllocator> >
148 {
149  static const char* value()
150  {
151  return "int32 id\n\
152 float64 size\n\
153 geometry_msgs/PoseStamped pose\n\
154 ================================================================================\n\
155 MSG: geometry_msgs/PoseStamped\n\
156 # A Pose with reference coordinate frame and timestamp\n\
157 Header header\n\
158 Pose pose\n\
159 \n\
160 ================================================================================\n\
161 MSG: std_msgs/Header\n\
162 # Standard metadata for higher-level stamped data types.\n\
163 # This is generally used to communicate timestamped data \n\
164 # in a particular coordinate frame.\n\
165 # \n\
166 # sequence ID: consecutively increasing ID \n\
167 uint32 seq\n\
168 #Two-integer timestamp that is expressed as:\n\
169 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
170 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
171 # time-handling sugar is provided by the client library\n\
172 time stamp\n\
173 #Frame this data is associated with\n\
174 # 0: no frame\n\
175 # 1: global frame\n\
176 string frame_id\n\
177 \n\
178 ================================================================================\n\
179 MSG: geometry_msgs/Pose\n\
180 # A representation of pose in free space, composed of position and orientation. \n\
181 Point position\n\
182 Quaternion orientation\n\
183 \n\
184 ================================================================================\n\
185 MSG: geometry_msgs/Point\n\
186 # This contains the position of a point in free space\n\
187 float64 x\n\
188 float64 y\n\
189 float64 z\n\
190 \n\
191 ================================================================================\n\
192 MSG: geometry_msgs/Quaternion\n\
193 # This represents an orientation in free space in quaternion form.\n\
194 \n\
195 float64 x\n\
196 float64 y\n\
197 float64 z\n\
198 float64 w\n\
199 ";
200  }
201 
202  static const char* value(const ::apriltags_ros::AprilTagDetection_<ContainerAllocator>&) { return value(); }
203 };
204 
205 } // namespace message_traits
206 } // namespace ros
207 
208 namespace ros
209 {
210 namespace serialization
211 {
212 
213  template<class ContainerAllocator> struct Serializer< ::apriltags_ros::AprilTagDetection_<ContainerAllocator> >
214  {
215  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
216  {
217  stream.next(m.id);
218  stream.next(m.size);
219  stream.next(m.pose);
220  }
221 
222  ROS_DECLARE_ALLINONE_SERIALIZER;
223  }; // struct AprilTagDetection_
224 
225 } // namespace serialization
226 } // namespace ros
227 
228 namespace ros
229 {
230 namespace message_operations
231 {
232 
233 template<class ContainerAllocator>
234 struct Printer< ::apriltags_ros::AprilTagDetection_<ContainerAllocator> >
235 {
236  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::apriltags_ros::AprilTagDetection_<ContainerAllocator>& v)
237  {
238  s << indent << "id: ";
239  Printer<int32_t>::stream(s, indent + " ", v.id);
240  s << indent << "size: ";
241  Printer<double>::stream(s, indent + " ", v.size);
242  s << indent << "pose: ";
243  s << std::endl;
244  Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::stream(s, indent + " ", v.pose);
245  }
246 };
247 
248 } // namespace message_operations
249 } // namespace ros
250 
251 #endif // APRILTAGS_ROS_MESSAGE_APRILTAGDETECTION_H
Definition: AprilTagDetection.h:23
Definition: AprilTagDetection.h:20
Definition: AprilTagDetection.h:76