Go to the documentation of this file.00001
00002 #ifndef CALIBRATION_MSGS_MESSAGE_DENSELASEROBJECTFEATURES_H
00003 #define CALIBRATION_MSGS_MESSAGE_DENSELASEROBJECTFEATURES_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 "calibration_msgs/DenseLaserPoint.h"
00019 #include "geometry_msgs/Point.h"
00020
00021 namespace calibration_msgs
00022 {
00023 template <class ContainerAllocator>
00024 struct DenseLaserObjectFeatures_ {
00025 typedef DenseLaserObjectFeatures_<ContainerAllocator> Type;
00026
00027 DenseLaserObjectFeatures_()
00028 : header()
00029 , dense_laser_points()
00030 , object_points()
00031 , success(0)
00032 {
00033 }
00034
00035 DenseLaserObjectFeatures_(const ContainerAllocator& _alloc)
00036 : header(_alloc)
00037 , dense_laser_points(_alloc)
00038 , object_points(_alloc)
00039 , success(0)
00040 {
00041 }
00042
00043 typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
00044 ::std_msgs::Header_<ContainerAllocator> header;
00045
00046 typedef std::vector< ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> >::other > _dense_laser_points_type;
00047 std::vector< ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> >::other > dense_laser_points;
00048
00049 typedef std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other > _object_points_type;
00050 std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other > object_points;
00051
00052 typedef uint8_t _success_type;
00053 uint8_t success;
00054
00055
00056 typedef boost::shared_ptr< ::calibration_msgs::DenseLaserObjectFeatures_<ContainerAllocator> > Ptr;
00057 typedef boost::shared_ptr< ::calibration_msgs::DenseLaserObjectFeatures_<ContainerAllocator> const> ConstPtr;
00058 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00059 };
00060 typedef ::calibration_msgs::DenseLaserObjectFeatures_<std::allocator<void> > DenseLaserObjectFeatures;
00061
00062 typedef boost::shared_ptr< ::calibration_msgs::DenseLaserObjectFeatures> DenseLaserObjectFeaturesPtr;
00063 typedef boost::shared_ptr< ::calibration_msgs::DenseLaserObjectFeatures const> DenseLaserObjectFeaturesConstPtr;
00064
00065
00066 template<typename ContainerAllocator>
00067 std::ostream& operator<<(std::ostream& s, const ::calibration_msgs::DenseLaserObjectFeatures_<ContainerAllocator> & v)
00068 {
00069 ros::message_operations::Printer< ::calibration_msgs::DenseLaserObjectFeatures_<ContainerAllocator> >::stream(s, "", v);
00070 return s;}
00071
00072 }
00073
00074 namespace ros
00075 {
00076 namespace message_traits
00077 {
00078 template<class ContainerAllocator> struct IsMessage< ::calibration_msgs::DenseLaserObjectFeatures_<ContainerAllocator> > : public TrueType {};
00079 template<class ContainerAllocator> struct IsMessage< ::calibration_msgs::DenseLaserObjectFeatures_<ContainerAllocator> const> : public TrueType {};
00080 template<class ContainerAllocator>
00081 struct MD5Sum< ::calibration_msgs::DenseLaserObjectFeatures_<ContainerAllocator> > {
00082 static const char* value()
00083 {
00084 return "b642d46e47d54e00f98a3d98b02b5cc6";
00085 }
00086
00087 static const char* value(const ::calibration_msgs::DenseLaserObjectFeatures_<ContainerAllocator> &) { return value(); }
00088 static const uint64_t static_value1 = 0xb642d46e47d54e00ULL;
00089 static const uint64_t static_value2 = 0xf98a3d98b02b5cc6ULL;
00090 };
00091
00092 template<class ContainerAllocator>
00093 struct DataType< ::calibration_msgs::DenseLaserObjectFeatures_<ContainerAllocator> > {
00094 static const char* value()
00095 {
00096 return "calibration_msgs/DenseLaserObjectFeatures";
00097 }
00098
00099 static const char* value(const ::calibration_msgs::DenseLaserObjectFeatures_<ContainerAllocator> &) { return value(); }
00100 };
00101
00102 template<class ContainerAllocator>
00103 struct Definition< ::calibration_msgs::DenseLaserObjectFeatures_<ContainerAllocator> > {
00104 static const char* value()
00105 {
00106 return "# Synchronized with sensor output\n\
00107 Header header\n\
00108 \n\
00109 # Pixel locations of detected features\n\
00110 DenseLaserPoint[] dense_laser_points\n\
00111 \n\
00112 # Defines geometry of detected features in some \"object\" coordinate frame\n\
00113 geometry_msgs/Point[] object_points\n\
00114 \n\
00115 # False on detection failure or partial detection\n\
00116 uint8 success\n\
00117 \n\
00118 ================================================================================\n\
00119 MSG: std_msgs/Header\n\
00120 # Standard metadata for higher-level stamped data types.\n\
00121 # This is generally used to communicate timestamped data \n\
00122 # in a particular coordinate frame.\n\
00123 # \n\
00124 # sequence ID: consecutively increasing ID \n\
00125 uint32 seq\n\
00126 #Two-integer timestamp that is expressed as:\n\
00127 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00128 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00129 # time-handling sugar is provided by the client library\n\
00130 time stamp\n\
00131 #Frame this data is associated with\n\
00132 # 0: no frame\n\
00133 # 1: global frame\n\
00134 string frame_id\n\
00135 \n\
00136 ================================================================================\n\
00137 MSG: calibration_msgs/DenseLaserPoint\n\
00138 # Stores the xy subpixel location of a point in a DenseLaserSnapshot\n\
00139 float64 scan # Which scan line we detected the feature\n\
00140 float64 ray # Which ray in the specified scan we detected the feature\n\
00141 \n\
00142 ================================================================================\n\
00143 MSG: geometry_msgs/Point\n\
00144 # This contains the position of a point in free space\n\
00145 float64 x\n\
00146 float64 y\n\
00147 float64 z\n\
00148 \n\
00149 ";
00150 }
00151
00152 static const char* value(const ::calibration_msgs::DenseLaserObjectFeatures_<ContainerAllocator> &) { return value(); }
00153 };
00154
00155 template<class ContainerAllocator> struct HasHeader< ::calibration_msgs::DenseLaserObjectFeatures_<ContainerAllocator> > : public TrueType {};
00156 template<class ContainerAllocator> struct HasHeader< const ::calibration_msgs::DenseLaserObjectFeatures_<ContainerAllocator> > : public TrueType {};
00157 }
00158 }
00159
00160 namespace ros
00161 {
00162 namespace serialization
00163 {
00164
00165 template<class ContainerAllocator> struct Serializer< ::calibration_msgs::DenseLaserObjectFeatures_<ContainerAllocator> >
00166 {
00167 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00168 {
00169 stream.next(m.header);
00170 stream.next(m.dense_laser_points);
00171 stream.next(m.object_points);
00172 stream.next(m.success);
00173 }
00174
00175 ROS_DECLARE_ALLINONE_SERIALIZER;
00176 };
00177 }
00178 }
00179
00180 namespace ros
00181 {
00182 namespace message_operations
00183 {
00184
00185 template<class ContainerAllocator>
00186 struct Printer< ::calibration_msgs::DenseLaserObjectFeatures_<ContainerAllocator> >
00187 {
00188 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::calibration_msgs::DenseLaserObjectFeatures_<ContainerAllocator> & v)
00189 {
00190 s << indent << "header: ";
00191 s << std::endl;
00192 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
00193 s << indent << "dense_laser_points[]" << std::endl;
00194 for (size_t i = 0; i < v.dense_laser_points.size(); ++i)
00195 {
00196 s << indent << " dense_laser_points[" << i << "]: ";
00197 s << std::endl;
00198 s << indent;
00199 Printer< ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> >::stream(s, indent + " ", v.dense_laser_points[i]);
00200 }
00201 s << indent << "object_points[]" << std::endl;
00202 for (size_t i = 0; i < v.object_points.size(); ++i)
00203 {
00204 s << indent << " object_points[" << i << "]: ";
00205 s << std::endl;
00206 s << indent;
00207 Printer< ::geometry_msgs::Point_<ContainerAllocator> >::stream(s, indent + " ", v.object_points[i]);
00208 }
00209 s << indent << "success: ";
00210 Printer<uint8_t>::stream(s, indent + " ", v.success);
00211 }
00212 };
00213
00214
00215 }
00216 }
00217
00218 #endif // CALIBRATION_MSGS_MESSAGE_DENSELASEROBJECTFEATURES_H
00219