00001
00002 #ifndef LASER_CB_DETECTOR_MESSAGE_CONFIGGOAL_H
00003 #define LASER_CB_DETECTOR_MESSAGE_CONFIGGOAL_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
00018 namespace laser_cb_detector
00019 {
00020 template <class ContainerAllocator>
00021 struct ConfigGoal_ {
00022 typedef ConfigGoal_<ContainerAllocator> Type;
00023
00024 ConfigGoal_()
00025 : num_x(0)
00026 , num_y(0)
00027 , spacing_x(0.0)
00028 , spacing_y(0.0)
00029 , width_scaling(0.0)
00030 , height_scaling(0.0)
00031 , min_intensity(0.0)
00032 , max_intensity(0.0)
00033 , subpixel_window(0)
00034 , subpixel_zero_zone(0)
00035 , flip_horizontal(0)
00036 {
00037 }
00038
00039 ConfigGoal_(const ContainerAllocator& _alloc)
00040 : num_x(0)
00041 , num_y(0)
00042 , spacing_x(0.0)
00043 , spacing_y(0.0)
00044 , width_scaling(0.0)
00045 , height_scaling(0.0)
00046 , min_intensity(0.0)
00047 , max_intensity(0.0)
00048 , subpixel_window(0)
00049 , subpixel_zero_zone(0)
00050 , flip_horizontal(0)
00051 {
00052 }
00053
00054 typedef uint32_t _num_x_type;
00055 uint32_t num_x;
00056
00057 typedef uint32_t _num_y_type;
00058 uint32_t num_y;
00059
00060 typedef float _spacing_x_type;
00061 float spacing_x;
00062
00063 typedef float _spacing_y_type;
00064 float spacing_y;
00065
00066 typedef float _width_scaling_type;
00067 float width_scaling;
00068
00069 typedef float _height_scaling_type;
00070 float height_scaling;
00071
00072 typedef float _min_intensity_type;
00073 float min_intensity;
00074
00075 typedef float _max_intensity_type;
00076 float max_intensity;
00077
00078 typedef uint32_t _subpixel_window_type;
00079 uint32_t subpixel_window;
00080
00081 typedef int32_t _subpixel_zero_zone_type;
00082 int32_t subpixel_zero_zone;
00083
00084 typedef uint8_t _flip_horizontal_type;
00085 uint8_t flip_horizontal;
00086
00087
00088 typedef boost::shared_ptr< ::laser_cb_detector::ConfigGoal_<ContainerAllocator> > Ptr;
00089 typedef boost::shared_ptr< ::laser_cb_detector::ConfigGoal_<ContainerAllocator> const> ConstPtr;
00090 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00091 };
00092 typedef ::laser_cb_detector::ConfigGoal_<std::allocator<void> > ConfigGoal;
00093
00094 typedef boost::shared_ptr< ::laser_cb_detector::ConfigGoal> ConfigGoalPtr;
00095 typedef boost::shared_ptr< ::laser_cb_detector::ConfigGoal const> ConfigGoalConstPtr;
00096
00097
00098 template<typename ContainerAllocator>
00099 std::ostream& operator<<(std::ostream& s, const ::laser_cb_detector::ConfigGoal_<ContainerAllocator> & v)
00100 {
00101 ros::message_operations::Printer< ::laser_cb_detector::ConfigGoal_<ContainerAllocator> >::stream(s, "", v);
00102 return s;}
00103
00104 }
00105
00106 namespace ros
00107 {
00108 namespace message_traits
00109 {
00110 template<class ContainerAllocator> struct IsMessage< ::laser_cb_detector::ConfigGoal_<ContainerAllocator> > : public TrueType {};
00111 template<class ContainerAllocator> struct IsMessage< ::laser_cb_detector::ConfigGoal_<ContainerAllocator> const> : public TrueType {};
00112 template<class ContainerAllocator>
00113 struct MD5Sum< ::laser_cb_detector::ConfigGoal_<ContainerAllocator> > {
00114 static const char* value()
00115 {
00116 return "d592564bc71ebb8458e3d0d3a079d731";
00117 }
00118
00119 static const char* value(const ::laser_cb_detector::ConfigGoal_<ContainerAllocator> &) { return value(); }
00120 static const uint64_t static_value1 = 0xd592564bc71ebb84ULL;
00121 static const uint64_t static_value2 = 0x58e3d0d3a079d731ULL;
00122 };
00123
00124 template<class ContainerAllocator>
00125 struct DataType< ::laser_cb_detector::ConfigGoal_<ContainerAllocator> > {
00126 static const char* value()
00127 {
00128 return "laser_cb_detector/ConfigGoal";
00129 }
00130
00131 static const char* value(const ::laser_cb_detector::ConfigGoal_<ContainerAllocator> &) { return value(); }
00132 };
00133
00134 template<class ContainerAllocator>
00135 struct Definition< ::laser_cb_detector::ConfigGoal_<ContainerAllocator> > {
00136 static const char* value()
00137 {
00138 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00139 uint32 num_x # Number of checkerboard corners in the X direction\n\
00140 uint32 num_y # Number of corners in the Y direction\n\
00141 float32 spacing_x # Spacing between corners in the X direction (meters)\n\
00142 float32 spacing_y # Spacing between corners in the Y direction (meters)\n\
00143 \n\
00144 # Specify how many times we want to upsample the image.\n\
00145 # This is often useful for detecting small checkerboards far away\n\
00146 float32 width_scaling\n\
00147 float32 height_scaling\n\
00148 \n\
00149 # Specifiy how intensity maps into a uint8. A specified window of\n\
00150 # intensities is linearly scaled to 0-255\n\
00151 float32 min_intensity\n\
00152 float32 max_intensity\n\
00153 \n\
00154 # Configure openCV's subpixel corner detector\n\
00155 uint32 subpixel_window\n\
00156 int32 subpixel_zero_zone\n\
00157 \n\
00158 # Specify if we need to flip snapshot image model. This is usually necessary\n\
00159 # when the laser scans from right to left, since this is the opposite of images,\n\
00160 # which are normally indexed left to right\n\
00161 uint8 flip_horizontal\n\
00162 \n\
00163 \n\
00164 ";
00165 }
00166
00167 static const char* value(const ::laser_cb_detector::ConfigGoal_<ContainerAllocator> &) { return value(); }
00168 };
00169
00170 template<class ContainerAllocator> struct IsFixedSize< ::laser_cb_detector::ConfigGoal_<ContainerAllocator> > : public TrueType {};
00171 }
00172 }
00173
00174 namespace ros
00175 {
00176 namespace serialization
00177 {
00178
00179 template<class ContainerAllocator> struct Serializer< ::laser_cb_detector::ConfigGoal_<ContainerAllocator> >
00180 {
00181 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00182 {
00183 stream.next(m.num_x);
00184 stream.next(m.num_y);
00185 stream.next(m.spacing_x);
00186 stream.next(m.spacing_y);
00187 stream.next(m.width_scaling);
00188 stream.next(m.height_scaling);
00189 stream.next(m.min_intensity);
00190 stream.next(m.max_intensity);
00191 stream.next(m.subpixel_window);
00192 stream.next(m.subpixel_zero_zone);
00193 stream.next(m.flip_horizontal);
00194 }
00195
00196 ROS_DECLARE_ALLINONE_SERIALIZER;
00197 };
00198 }
00199 }
00200
00201 namespace ros
00202 {
00203 namespace message_operations
00204 {
00205
00206 template<class ContainerAllocator>
00207 struct Printer< ::laser_cb_detector::ConfigGoal_<ContainerAllocator> >
00208 {
00209 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::laser_cb_detector::ConfigGoal_<ContainerAllocator> & v)
00210 {
00211 s << indent << "num_x: ";
00212 Printer<uint32_t>::stream(s, indent + " ", v.num_x);
00213 s << indent << "num_y: ";
00214 Printer<uint32_t>::stream(s, indent + " ", v.num_y);
00215 s << indent << "spacing_x: ";
00216 Printer<float>::stream(s, indent + " ", v.spacing_x);
00217 s << indent << "spacing_y: ";
00218 Printer<float>::stream(s, indent + " ", v.spacing_y);
00219 s << indent << "width_scaling: ";
00220 Printer<float>::stream(s, indent + " ", v.width_scaling);
00221 s << indent << "height_scaling: ";
00222 Printer<float>::stream(s, indent + " ", v.height_scaling);
00223 s << indent << "min_intensity: ";
00224 Printer<float>::stream(s, indent + " ", v.min_intensity);
00225 s << indent << "max_intensity: ";
00226 Printer<float>::stream(s, indent + " ", v.max_intensity);
00227 s << indent << "subpixel_window: ";
00228 Printer<uint32_t>::stream(s, indent + " ", v.subpixel_window);
00229 s << indent << "subpixel_zero_zone: ";
00230 Printer<int32_t>::stream(s, indent + " ", v.subpixel_zero_zone);
00231 s << indent << "flip_horizontal: ";
00232 Printer<uint8_t>::stream(s, indent + " ", v.flip_horizontal);
00233 }
00234 };
00235
00236
00237 }
00238 }
00239
00240 #endif // LASER_CB_DETECTOR_MESSAGE_CONFIGGOAL_H
00241