Go to the documentation of this file.00001
00002 #ifndef IMAGE_CB_DETECTOR_MESSAGE_CONFIGACTIONGOAL_H
00003 #define IMAGE_CB_DETECTOR_MESSAGE_CONFIGACTIONGOAL_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 "actionlib_msgs/GoalID.h"
00019 #include "image_cb_detector/ConfigGoal.h"
00020
00021 namespace image_cb_detector
00022 {
00023 template <class ContainerAllocator>
00024 struct ConfigActionGoal_ {
00025 typedef ConfigActionGoal_<ContainerAllocator> Type;
00026
00027 ConfigActionGoal_()
00028 : header()
00029 , goal_id()
00030 , goal()
00031 {
00032 }
00033
00034 ConfigActionGoal_(const ContainerAllocator& _alloc)
00035 : header(_alloc)
00036 , goal_id(_alloc)
00037 , goal(_alloc)
00038 {
00039 }
00040
00041 typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
00042 ::std_msgs::Header_<ContainerAllocator> header;
00043
00044 typedef ::actionlib_msgs::GoalID_<ContainerAllocator> _goal_id_type;
00045 ::actionlib_msgs::GoalID_<ContainerAllocator> goal_id;
00046
00047 typedef ::image_cb_detector::ConfigGoal_<ContainerAllocator> _goal_type;
00048 ::image_cb_detector::ConfigGoal_<ContainerAllocator> goal;
00049
00050
00051 typedef boost::shared_ptr< ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> > Ptr;
00052 typedef boost::shared_ptr< ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> const> ConstPtr;
00053 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 };
00055 typedef ::image_cb_detector::ConfigActionGoal_<std::allocator<void> > ConfigActionGoal;
00056
00057 typedef boost::shared_ptr< ::image_cb_detector::ConfigActionGoal> ConfigActionGoalPtr;
00058 typedef boost::shared_ptr< ::image_cb_detector::ConfigActionGoal const> ConfigActionGoalConstPtr;
00059
00060
00061 template<typename ContainerAllocator>
00062 std::ostream& operator<<(std::ostream& s, const ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> & v)
00063 {
00064 ros::message_operations::Printer< ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> >::stream(s, "", v);
00065 return s;}
00066
00067 }
00068
00069 namespace ros
00070 {
00071 namespace message_traits
00072 {
00073 template<class ContainerAllocator> struct IsMessage< ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> > : public TrueType {};
00074 template<class ContainerAllocator> struct IsMessage< ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> const> : public TrueType {};
00075 template<class ContainerAllocator>
00076 struct MD5Sum< ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> > {
00077 static const char* value()
00078 {
00079 return "47438deb496822a5e3dc575b6081de23";
00080 }
00081
00082 static const char* value(const ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> &) { return value(); }
00083 static const uint64_t static_value1 = 0x47438deb496822a5ULL;
00084 static const uint64_t static_value2 = 0xe3dc575b6081de23ULL;
00085 };
00086
00087 template<class ContainerAllocator>
00088 struct DataType< ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> > {
00089 static const char* value()
00090 {
00091 return "image_cb_detector/ConfigActionGoal";
00092 }
00093
00094 static const char* value(const ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> &) { return value(); }
00095 };
00096
00097 template<class ContainerAllocator>
00098 struct Definition< ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> > {
00099 static const char* value()
00100 {
00101 return "\n\
00102 Header header\n\
00103 actionlib_msgs/GoalID goal_id\n\
00104 ConfigGoal goal\n\
00105 \n\
00106 ================================================================================\n\
00107 MSG: std_msgs/Header\n\
00108 # Standard metadata for higher-level stamped data types.\n\
00109 # This is generally used to communicate timestamped data \n\
00110 # in a particular coordinate frame.\n\
00111 # \n\
00112 # sequence ID: consecutively increasing ID \n\
00113 uint32 seq\n\
00114 #Two-integer timestamp that is expressed as:\n\
00115 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00116 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00117 # time-handling sugar is provided by the client library\n\
00118 time stamp\n\
00119 #Frame this data is associated with\n\
00120 # 0: no frame\n\
00121 # 1: global frame\n\
00122 string frame_id\n\
00123 \n\
00124 ================================================================================\n\
00125 MSG: actionlib_msgs/GoalID\n\
00126 # The stamp should store the time at which this goal was requested.\n\
00127 # It is used by an action server when it tries to preempt all\n\
00128 # goals that were requested before a certain time\n\
00129 time stamp\n\
00130 \n\
00131 # The id provides a way to associate feedback and\n\
00132 # result message with specific goal requests. The id\n\
00133 # specified must be unique.\n\
00134 string id\n\
00135 \n\
00136 \n\
00137 ================================================================================\n\
00138 MSG: image_cb_detector/ConfigGoal\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 # Configure openCV's subpixel corner detector\n\
00150 uint32 subpixel_window\n\
00151 int32 subpixel_zero_zone\n\
00152 \n\
00153 \n\
00154 ";
00155 }
00156
00157 static const char* value(const ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> &) { return value(); }
00158 };
00159
00160 template<class ContainerAllocator> struct HasHeader< ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> > : public TrueType {};
00161 template<class ContainerAllocator> struct HasHeader< const ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> > : public TrueType {};
00162 }
00163 }
00164
00165 namespace ros
00166 {
00167 namespace serialization
00168 {
00169
00170 template<class ContainerAllocator> struct Serializer< ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> >
00171 {
00172 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00173 {
00174 stream.next(m.header);
00175 stream.next(m.goal_id);
00176 stream.next(m.goal);
00177 }
00178
00179 ROS_DECLARE_ALLINONE_SERIALIZER;
00180 };
00181 }
00182 }
00183
00184 namespace ros
00185 {
00186 namespace message_operations
00187 {
00188
00189 template<class ContainerAllocator>
00190 struct Printer< ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> >
00191 {
00192 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> & v)
00193 {
00194 s << indent << "header: ";
00195 s << std::endl;
00196 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
00197 s << indent << "goal_id: ";
00198 s << std::endl;
00199 Printer< ::actionlib_msgs::GoalID_<ContainerAllocator> >::stream(s, indent + " ", v.goal_id);
00200 s << indent << "goal: ";
00201 s << std::endl;
00202 Printer< ::image_cb_detector::ConfigGoal_<ContainerAllocator> >::stream(s, indent + " ", v.goal);
00203 }
00204 };
00205
00206
00207 }
00208 }
00209
00210 #endif // IMAGE_CB_DETECTOR_MESSAGE_CONFIGACTIONGOAL_H
00211