5 #ifndef APRILTAGS_ROS_MESSAGE_APRILTAGDETECTIONARRAY_H 6 #define APRILTAGS_ROS_MESSAGE_APRILTAGDETECTIONARRAY_H 13 #include <ros/types.h> 14 #include <ros/serialization.h> 15 #include <ros/builtin_message_traits.h> 16 #include <ros/message_operations.h> 18 #include <apriltags_ros/AprilTagDetection.h> 22 template <
class ContainerAllocator>
31 : detections(_alloc) {
37 typedef std::vector< ::apriltags_ros::AprilTagDetection_<ContainerAllocator> ,
typename ContainerAllocator::template rebind< ::apriltags_ros::AprilTagDetection_<ContainerAllocator> >::other > _detections_type;
38 _detections_type detections;
43 typedef boost::shared_ptr< ::apriltags_ros::AprilTagDetectionArray_<ContainerAllocator> > Ptr;
44 typedef boost::shared_ptr< ::apriltags_ros::AprilTagDetectionArray_<ContainerAllocator>
const> ConstPtr;
50 typedef boost::shared_ptr< ::apriltags_ros::AprilTagDetectionArray > AprilTagDetectionArrayPtr;
51 typedef boost::shared_ptr< ::apriltags_ros::AprilTagDetectionArray const> AprilTagDetectionArrayConstPtr;
57 template<
typename ContainerAllocator>
58 std::ostream& operator<<(std::ostream& s, const ::apriltags_ros::AprilTagDetectionArray_<ContainerAllocator> & v)
60 ros::message_operations::Printer< ::apriltags_ros::AprilTagDetectionArray_<ContainerAllocator> >::stream(s,
"", v);
68 namespace message_traits
81 template <
class ContainerAllocator>
86 template <
class ContainerAllocator>
91 template <
class ContainerAllocator>
96 template <
class ContainerAllocator>
101 template <
class ContainerAllocator>
106 template <
class ContainerAllocator>
112 template<
class ContainerAllocator>
115 static const char* value()
117 return "93c0a301ed9e6633dc34b8117d49ebd4";
120 static const char* value(const ::apriltags_ros::AprilTagDetectionArray_<ContainerAllocator>&) {
return value(); }
121 static const uint64_t static_value1 = 0x93c0a301ed9e6633ULL;
122 static const uint64_t static_value2 = 0xdc34b8117d49ebd4ULL;
125 template<
class ContainerAllocator>
128 static const char* value()
130 return "apriltags_ros/AprilTagDetectionArray";
133 static const char* value(const ::apriltags_ros::AprilTagDetectionArray_<ContainerAllocator>&) {
return value(); }
136 template<
class ContainerAllocator>
139 static const char* value()
141 return "AprilTagDetection[] detections\n\ 142 ================================================================================\n\ 143 MSG: apriltags_ros/AprilTagDetection\n\ 146 geometry_msgs/PoseStamped pose\n\ 147 ================================================================================\n\ 148 MSG: geometry_msgs/PoseStamped\n\ 149 # A Pose with reference coordinate frame and timestamp\n\ 153 ================================================================================\n\ 154 MSG: std_msgs/Header\n\ 155 # Standard metadata for higher-level stamped data types.\n\ 156 # This is generally used to communicate timestamped data \n\ 157 # in a particular coordinate frame.\n\ 159 # sequence ID: consecutively increasing ID \n\ 161 #Two-integer timestamp that is expressed as:\n\ 162 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\ 163 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\ 164 # time-handling sugar is provided by the client library\n\ 166 #Frame this data is associated with\n\ 171 ================================================================================\n\ 172 MSG: geometry_msgs/Pose\n\ 173 # A representation of pose in free space, composed of position and orientation. \n\ 175 Quaternion orientation\n\ 177 ================================================================================\n\ 178 MSG: geometry_msgs/Point\n\ 179 # This contains the position of a point in free space\n\ 184 ================================================================================\n\ 185 MSG: geometry_msgs/Quaternion\n\ 186 # This represents an orientation in free space in quaternion form.\n\ 195 static const char* value(const ::apriltags_ros::AprilTagDetectionArray_<ContainerAllocator>&) {
return value(); }
203 namespace serialization
208 template<
typename Stream,
typename T>
inline static void allInOne(Stream& stream, T m)
210 stream.next(m.detections);
213 ROS_DECLARE_ALLINONE_SERIALIZER;
221 namespace message_operations
224 template<
class ContainerAllocator>
227 template<
typename Stream>
static void stream(Stream& s,
const std::string& indent, const ::apriltags_ros::AprilTagDetectionArray_<ContainerAllocator>& v)
229 s << indent <<
"detections[]" << std::endl;
230 for (
size_t i = 0; i < v.detections.size(); ++i)
232 s << indent <<
" detections[" << i <<
"]: ";
235 Printer< ::apriltags_ros::AprilTagDetection_<ContainerAllocator> >::stream(s, indent +
" ", v.detections[i]);
243 #endif // APRILTAGS_ROS_MESSAGE_APRILTAGDETECTIONARRAY_H
Definition: AprilTagDetection.h:76