5 #ifndef VISION_UNIT_MESSAGE_ARMOR_MSG_H 6 #define VISION_UNIT_MESSAGE_ARMOR_MSG_H 13 #include <ros/types.h> 14 #include <ros/serialization.h> 15 #include <ros/builtin_message_traits.h> 16 #include <ros/message_operations.h> 21 template <
class ContainerAllocator>
42 typedef uint8_t _detected_type;
43 _detected_type detected;
45 typedef double _x_type;
48 typedef double _y_type;
51 typedef double _d_type;
57 typedef boost::shared_ptr< ::vision_unit::armor_msg_<ContainerAllocator> > Ptr;
58 typedef boost::shared_ptr< ::vision_unit::armor_msg_<ContainerAllocator>
const> ConstPtr;
62 typedef ::vision_unit::armor_msg_<std::allocator<void> >
armor_msg;
64 typedef boost::shared_ptr< ::vision_unit::armor_msg > armor_msgPtr;
65 typedef boost::shared_ptr< ::vision_unit::armor_msg const> armor_msgConstPtr;
71 template<
typename ContainerAllocator>
72 std::ostream& operator<<(std::ostream& s, const ::vision_unit::armor_msg_<ContainerAllocator> & v)
74 ros::message_operations::Printer< ::vision_unit::armor_msg_<ContainerAllocator> >::stream(s,
"", v);
82 namespace message_traits
95 template <
class ContainerAllocator>
100 template <
class ContainerAllocator>
105 template <
class ContainerAllocator>
110 template <
class ContainerAllocator>
115 template <
class ContainerAllocator>
120 template <
class ContainerAllocator>
126 template<
class ContainerAllocator>
129 static const char* value()
131 return "c146d150956b810994d3493ae1029278";
134 static const char* value(const ::vision_unit::armor_msg_<ContainerAllocator>&) {
return value(); }
135 static const uint64_t static_value1 = 0xc146d150956b8109ULL;
136 static const uint64_t static_value2 = 0x94d3493ae1029278ULL;
139 template<
class ContainerAllocator>
142 static const char* value()
144 return "vision_unit/armor_msg";
147 static const char* value(const ::vision_unit::armor_msg_<ContainerAllocator>&) {
return value(); }
150 template<
class ContainerAllocator>
153 static const char* value()
155 return "bool detected\n\ 162 static const char* value(const ::vision_unit::armor_msg_<ContainerAllocator>&) {
return value(); }
170 namespace serialization
175 template<
typename Stream,
typename T>
inline static void allInOne(Stream& stream, T m)
177 stream.next(m.detected);
183 ROS_DECLARE_ALLINONE_SERIALIZER;
191 namespace message_operations
194 template<
class ContainerAllocator>
197 template<
typename Stream>
static void stream(Stream& s,
const std::string& indent, const ::vision_unit::armor_msg_<ContainerAllocator>& v)
199 s << indent <<
"detected: ";
200 Printer<uint8_t>::stream(s, indent +
" ", v.detected);
201 s << indent <<
"x: ";
202 Printer<double>::stream(s, indent +
" ", v.x);
203 s << indent <<
"y: ";
204 Printer<double>::stream(s, indent +
" ", v.y);
205 s << indent <<
"d: ";
206 Printer<double>::stream(s, indent +
" ", v.d);
213 #endif // VISION_UNIT_MESSAGE_ARMOR_MSG_H Definition: AprilTagDetection.h:76
Definition: armor_msg.h:22
Definition: armor_msg.h:19